function toggleLayer(whichLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		var style2 = document.getElementById(whichLayer).style;
		style2.display = style2.display? "":"block";
	}
	else if (document.all)
	{
		// this is the way old msie versions work
		var style2 = document.all[whichLayer].style;
		style2.display = style2.display? "":"block";		
	}
	else if (document.layers)
	{
		// this is the way nn4 works
		var style3 = document.layers[whichLayer].style;
		style3.display = style3.display? "":"block";
	}
}
function exdDisplay(exURL){
   window.open(exURL,"exWindow","width=800,height=750,scrollbars=1");
}
function calDisplay(exURL){
   window.open(exURL,"exWindow","width=620,height=430,scrollbars=1");
}
/*
Count down until any date script-
By JavaScript Kit (www.javascriptkit.com)
Over 200+ free scripts here!
*/
//var before="Christmas!"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
theyear=2009;themonth=9;theday=25
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray[m-1]+" "+d+", "+yr
dd=Date.parse(futurestring)-Date.parse(todaystring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
if (dhour < 10){
	dhour = "0" + dhour
}
if (dmin < 10){
	dmin = "0" + dmin
}
if (dsec < 10){
	dsec = "0" + dsec
}
	   document.forms.count.count2.value=Date.parse(todaystring); //dhour+":"+dmin+":"+dsec
       setTimeout("countdown(theyear,themonth,theday)",1000)
}

function rollover(image,filename) {
	image.src = filename;
}

function PrintReminder() {
	var answer = alert("Pleae print out your Pay Pal confirmation and bring it to your start gate in order to redeem your tickets.");
	if (answer) {
		return true;
	} else {
		return false;	
	}
}