// ***** Stylesheet Browser Detection ************************************************************
if (navigator.platform.indexOf('Mac') != -1) {
	document.write('<link rel="stylesheet" type="text/css" href="default.css">'); 
}
else if (document.layers) {
	document.write('<link rel="stylesheet" type="text/css" href="default.css">'); 
}
else {
	document.write('<link rel="stylesheet" type="text/css" href="default.css">'); 
}
// ***********************************************************************************************


// ***** Preload Rollover Images *****************************************************************
if (document.images) {
	image0 = new Image(); image0.src = "/images/spacer.gif";
	image1 = new Image(); image1.src = "/images/nav01_clickto_off.jpg";
	image2 = new Image(); image2.src = "/images/nav02_kennedy_on.jpg";
	image3 = new Image(); image3.src = "/images/nav03_brandon_on.jpg";
	image4 = new Image(); image4.src = "/images/nav04_carson_on.jpg";
	image5 = new Image(); image5.src = "/images/nav05_steven_on.jpg";
}
// ***********************************************************************************************

// ***** Rollover ********************************************************************************
function roll(img_name,img_src) {
	document[img_name].src = img_src;
}
// ***********************************************************************************************

// ***** Pop Up Window 01 ***************************************************************************
function doYScard(url)  {


   var YS= window.open(url,
   "YS","menubar=0,toolbar=0,location=0,directories=0,status=no,titlebar=no,"
   +"scrollbars=0,resizable=0,copyhistory=0,width=500,height=300,alwaysRaised=1,"
   +"hotkeys=0,screenx=20,screeny=20,left=40,top=40")
 
YS.focus(); 
 }
// ***********************************************************************************************

// ***** Pop Up Window 02 ***************************************************************************
function doYS2card(url)  {


   var YS2= window.open(url,
   "YS2","menubar=0,toolbar=0,location=0,directories=0,status=no,titlebar=no,"
   +"scrollbars=0,resizable=0,copyhistory=0,width=750,height=480,alwaysRaised=1,"
   +"hotkeys=0,screenx=20,screeny=20,left=60,top=60")
 
YS2.focus(); 
 }
// ***********************************************************************************************

// ***** Pop Up Window ***************************************************************************
function popUp(URL,name,w,h,withMenuAndScroll) {
	var featureStr = "";
	if (withMenuAndScroll == "withMenuAndScroll") {
		featureStr = "width=" + w + ",height=" + h + ",directories=no,location=no,menubar=yes,resizable=yes,scrollbars=yes,status=no,toolbar=no"
	} else {
		featureStr = "width=" + w + ",height=" + h + ",directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no"
	}
	var newWin = window.open(URL,name,featureStr);
}
// ***********************************************************************************************

// ***** Date ************************************************************************************
dayName = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
monthName = new Array("January","February","March","April","May","June","July","August","September","October","November","December")
now = new Date();
// ***********************************************************************************************
