var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");

function countdown(yr,m,d){
theyear=yr;
themonth=m;
theday=d;
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);
dd += 60*60*1000*10;
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);
	return("<table width='165'><tr><td style='font-size: 11px;'>"+dday+ "</td><td style='font-size: 11px;'>"+dhour+"</td><td style='font-size: 11px;'>"+dmin+"</td><td style='font-size: 11px;'>"+dsec+"</td</tr><tr><td style='font-size: 11px;'>DAYS</td><td style='font-size: 11px;'>HRS</td><td style='font-size: 11px;'>MINS</td><td style='font-size: 11px;'>SECS</td></tr></table>");
}

var interval = "";
var timeri = 59;

function startInterval()
{
 	interval = window.setInterval("tTimer()",1000);
} 
function stopInterval()
{
	window.clearInterval (interval);
	interval="";
}
function tTimer()
{
   	document.getElementById("eagle_countdown").innerHTML = countdown(2010,9,19);

}




