function vertype(){
//load function variables
var browType=""
var vnum=""
var browser

browType=navigator.appName;

//returns first character of appVersion(which is the version number)

vnum=navigator.appVersion.charAt(0);

if(browType=="Microsoft Internet Explorer" && vnum > 3){
	browser="ie4"; 
	}
else if(browType=="Netscape" && vnum > 3){
	browser="nav";
	}
else {browser="other";}
	  
return browser;
} //end of function vertype()

var MyDate = new Date();
var day = MyDate.getDay();

if (day == 0) {
	document.write("<STYLE>BODY{background-color:#000000}</STYLE>")}

if (day == 1) {
	document.write("<STYLE>BODY{background-color:#000033}</STYLE>")}

if (day == 2) {
	document.write("<STYLE>BODY{background-color:#000066}</STYLE>")}

if (day == 3) {
	document.write("<STYLE>BODY{background-color:#330033}</STYLE>")}

if (day == 4) {
	document.write("<STYLE>BODY{background-color:#330066}</STYLE>")}

if (day == 5) {
	document.write("<STYLE>BODY{background-color:#660066}</STYLE>")}

if (day == 6) {
	document.write("<STYLE>BODY{background-color:#000099}</STYLE>")}

if (vertype()=="nav"){
	document.write("<STYLE>")
	document.write(".heading1{marginBottom:-2.5px};")
	document.write(".runheading2{marginBottom:-2.5px;")
	document.write(" font-size:16pt}")
	document.write(".runheading3{marginBottom:-2.5px}")
	document.write(".textbody{marginBottom:-2.5px}")
	document.write(".textbody2{marginBottom:-2.5px}")
	document.write(".pressbox{marginBottom:-2.5px}</STYLE>")
}
else {
	document.write("<STYLE></STYLE>")
}
