function DateWrite(){
	
	//Date Part
	//var daytext = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	var daytext = new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");
	//var monthname = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
	var monthname = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	var today_date = new Date();
	var monthName = monthname[today_date.getMonth()];
	var monthNum  = today_date.getMonth();
	var today = today_date.getDate();
	var dayName = daytext[today_date.getDay()];
	var theyear = today_date.getYear() + "";
	
	var fred = theyear.substring(0,1);
	if (fred == "1") {
	 endtwo = theyear.substring(1);
	} else {
	 endtwo = theyear.substring(2);
	}
	properyear = "20" + endtwo;
	
	//Time Part
	var timeHour = today_date.getHours()
	var timeMinute = today_date.getMinutes()

//document.write( timeHour  + ":" + timeMinute + " " + dayName + " " + today + " " + monthName + " " + properyear )
document.write(  today + " " + monthName + " " + properyear )

}
function setBusinessYear(){
var today_date = new Date();
var theyear = today_date.getYear() + "";
	
	var fred = theyear.substring(0,1);
	if (fred == "1") {
	 endtwo = theyear.substring(1);
	} else {
	 endtwo = theyear.substring(2);
	}
	properyear = "20" + endtwo;

	var yearStart = "1988";
	var theBday = (properyear - yearStart);

	if (theBday == "1"||theBday == "21"||theBday == "31"||theBday == "41"||theBday == "51"||theBday == "61"||theBday == "71"){
	document.write(theBday + "st");
	}else if (theBday == "2"||theBday == "22"||theBday == "32"||theBday == "42"||theBday == "52"||theBday == "62"||theBday == "72"){
	document.write(theBday + "nd");
	}else if (theBday == "3"||theBday == "23"||theBday == "33"||theBday == "43"||theBday == "53"||theBday == "63"||theBday == "73"){
	document.write(theBday + "rd");	
	}else{
	document.write(theBday + "th");
	} 
}

function RandomPic() {
	
	Numberofoptions = 7;
	
	randnum = Math.floor(Math.random() * Numberofoptions) + 1;
	document.write('<img src="stat/home_pic' + randnum + '.jpg" width="218" height="327" vspace="1">');

}

function openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}