// Contador regressivo em relação a uma data específica
// Data atual para referência: 05/10/2008

montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countup(yr,m,d){
today=new Date()
todayy=today.getYear()
if (todayy < 1000){
   todayy+=1900}
todaym=today.getMonth()
todayd=today.getDate()
todaystring=montharray[todaym]+" "+todayd+", "+todayy
paststring=montharray[m-1]+" "+d+", "+yr
difference=(Math.round((Date.parse(paststring) - Date.parse(todaystring))/(24*60*60*1000))*1)
document.write(difference)
}
//enter the count up date using the format year/month/day
// Ex: countup(2008,10,5)
