<!--
currentDate = new Date();
//alert(currentDate);
function livedate(){
var timeZones = [];
timeZones["EDT"] = 0;
timeZones["EST"] = 0;
timeZones["CDT"] = 1; 
timeZones["CST"] = 1; 
timeZones["MDT"] = 2;
//Edited on 2/9/07
timeZones["MST"] = 2; 
timeZones["PST"] = 3;
timeZones["PDT"] = 3;
timeZones["-0400"] = 0;
//Edited on 2/9/07 FireFox EastCost
timeZones["-0500"] = 0;
timeZones["-0600"] = 1;
//timeZones["-0600"] = 2;

//Edited on 2/9/07
//timeZones["-0700"] = 2;

//Edited on 3/27/07 Firefox Westcoast
timeZones["-0700"] = 3;
timeZones["-0800"] = 3;

/////////////////////////////////////////////////////////
sixtyFromNow = currentDate.getTime() + (1000)
currentDate.setTime(sixtyFromNow);
////////////////////////////////////////////////////////

//For W3C netscape, mozilla, safari......
if (!document.all && document.getElementById){
	regexpZone = /-\d\d\d\d/;
	flashVarZone = regexpZone.exec(currentDate);
//For IE
} else if (!document.layers){
	regexpZone = /[A-Z][A-Z][A-Z]/;
	flashVarZone = regexpZone.exec(currentDate);
//netscape4 
} else {
	regexpZone = /-\d\d\d\d/;
	flashVarZone = regexpZone.exec(currentDate);
}
timeDiff=timeZones[flashVarZone];

var idblock = ["dayeblock","hourblock","minutesblock","secondsblock"];
i = idblock.length-1;
do {
document.getElementById(idblock[i]);
document.getElementById(idblock[i]).removeChild(document.getElementById(idblock[i]).childNodes[0]);
} while(i--);

currentDate.getUTCDate();


timeZones =  hour - timeDiff;


// note: flash starts to count months from 0, so January is month 0 and December month 11.
// the date here is expressed as follows: Year, Month starts at 0, Day, Hour, Minutes, Seconds.

endDate = new Date(ctyear,ctmonth,ctday, timeZones, ctmin,ctsecs);
endDate.getTimezoneOffset();
endDateField = endDate;

days = (endDate-currentDate)/1000/60/60/24;
daysRound = Math.floor(days);
if (daysRound < 10){
	daysRounddisplay = daysRound;
} else {
	daysRounddisplay = daysRound = Math.floor(days);
}

hours = (endDate-currentDate)/1000/60/60-(24*daysRound);
if (hours < 10){
	hoursRound = "0" + Math.floor(hours);
} else {
	hoursRound = Math.floor(hours);
}

minutes = (endDate-currentDate)/1000/60-(24*60*daysRound)-(60*hoursRound);
minutesRound = Math.floor(minutes);

seconds = (endDate-currentDate)/1000-(24*60*60*daysRound)-(60*60*hoursRound)-(60*minutesRound);
secondsRound = Math.round(seconds);

// Check when to put day and when to put days

if (daysRound == 1) {
    dy = " day ";
} else {
    dy = " days ";
}
if (secondsRound == 60) {
    secondsRound = 0;
}
if (minutesRound == 60) {
    minutesRound = 0;
}

if (secondsRound <= 9) {
    secondsRound = "0"+secondsRound;
}
if (minutesRound <= 9) {
    minutesRound =  "0"+minutesRound;
}
if (daysRound<=-1) {
	daysRounddisplay = "0";
	hoursRound = "00";
	minutesRound = "00";
	secondsRound = "00";
	clearInterval(runningcoutdown);
}

var displayblock = [daysRounddisplay,hoursRound,minutesRound,secondsRound];
i = displayblock.length - 1;

do {
var d = document.createTextNode(displayblock[i]);
document.getElementById(idblock[i]).appendChild(d);
} while(i--);


}
runningcoutdown = window.setInterval("livedate()",1000);
-->

