//browsercheck

var browserType = navigator.appName
var browserOS = navigator.platform
//IE for Windows
if(browserType.indexOf("Microsoft")!=-1 && browserOS.indexOf("Win32")!=-1){
browserType = "IE"
browserOS = "Windows"
//alert("IE for Windows")
document.writeln("<link rel='stylesheet' href='css/ie.css'>")
}
//Netscape for Windows
else if(browserType.indexOf("Netscape")!=-1 && browserOS.indexOf("Win32")!=-1){
browserType = "NS"
browserOS = "Windows"
//alert("Netscape for Windows")
document.writeln("<link rel='stylesheet' href='css/ns.css'>")
}
//anything else
else {
browserType = "unknown"
document.writeln("<link rel='stylesheet' href='css/ie.css'>")
}


//random image loader for home page
function loadImage(imageName,fileName){		
	  if(document.images){  
	  num = Math.round((4 * Math.random()) + 1)
	  document.images[imageName].src = eval(fileName+num+".src");
	 }
}

//Display Date Function

//year function
function getFullYear(d) {
	var y = d.getYear()
	if (y < 1000) y+=1900
	return y
}

	today=new Date();
	day=today.getDate();
	//year=today.getYear();
	year=getFullYear(today)
	month=today.getMonth()+1;
	lupdate="last update: March 11, 2003"

	//get month
	if (month==1) { monthname=("January") }
	else if (month==2) { monthname=("February") }
	else if (month==3) { monthname=("March") }
	else if (month==4) { monthname=("April") }
	else if (month==5) { monthname=("May") }
	else if (month==6) { monthname=("June") }
	else if (month==7) { monthname=("July") }
	else if (month==8) { monthname=("August") }
	else if (month==9) { monthname=("September") }
	else if (month==10) { monthname=("October") }
	else if (month==11) { monthname=("November") }
	else { monthname=("December") }
	//get day
	if (month==1) Mill=365-(day);
	else if (month==2) Mill=365-(day+31);
	else if (month==3) Mill=365-(day+59);
	else if (month==4) Mill=365-(day+90);
	else if (month==5) Mill=365-(day+120);
	else if (month==6) Mill=365-(day+151);
	else if (month==7) Mill=365-(day+181);
	else if (month==8) Mill=365-(day+212);
	else if (month==9) Mill=365-(day+243);
	else if (month==10) Mill=365-(day+273);
	else if (month==11) Mill=365-(day+304);
	else Mill=31-day;
	//get year
	//if (year<100) year="19" + year;
