Help?!?!

test
******** Language="Javascript">
<!--
//Cruise Countdown Timer
//Written by: James M. Venglarik, II
//Created on: March 28, 2002
var rndNum = Math.floor(Math.random() * 10000);
//Keep the following date/time format for the application to work correctly:
eval("var cruiseDate" + rndNum + " = 'May 11, 2002 1:00 PM EDT';");
document.writeln("<form name='cruisinform" + rndNum + "' action='java script:void(0);'>");
document.writeln("<font size=2 color=darkblue>Countdown to Cruise (" + eval("cruiseDate" + rndNum) + "):</font><br>");
document.writeln("<input type=text value='' size=40 name='countdown'>");
document.writeln("</form>");
if (theFunction)
theFunction += "var d = new Date();";
else
var theFunction = "var d = new Date();";
theFunction += "var c = new Date('" + eval("cruiseDate" + rndNum) + "');";
theFunction += "var tzo = (c.getTimezoneOffset() - d.getTimezoneOffset()) * 60;";
theFunction += "var diff = ((c - d)/1000) + tzo;";
theFunction += "var days = Math.floor(diff / 86400);";
theFunction += "var rem = diff - (days * 86400);";
theFunction += "var hours = Math.floor(rem / 3600);";
theFunction += "rem = rem - (hours * 3600);";
theFunction += "var minutes = Math.floor(rem / 60);";
theFunction += "rem = rem - (minutes * 60);";
theFunction += "var seconds = Math.floor(rem);";
theFunction += "if ((days < 0) | (hours < 0) | (minutes < 0) | (seconds < 0)) ";
theFunction += "var out = 'HAVE FUN!!!';";
theFunction += "else ";
theFunction += "var out = ' ' + days + ' days ' + hours + ' hrs. ' + minutes + ' mins. ' + seconds + ' secs.';";
theFunction += "document.forms.cruisinform" + rndNum + ".elements.countdown.value = out;";
setInterval(theFunction, 1000);
//-->
</Script>

august 11 , 2002 11:00 am
 



Disney Vacation Planning. Free. Done for You.
Our Authorized Disney Vacation Planners are here to provide personalized, expert advice, answer every question, and uncover the best discounts. Let Dreams Unlimited Travel take care of all the details, so you can sit back, relax, and enjoy a stress-free vacation.
Start Your Disney Vacation
Disney EarMarked Producer






DIS Facebook DIS youtube DIS Instagram DIS Pinterest DIS Tiktok DIS Twitter

Add as a preferred source on Google

Back
Top Bottom