/* This is a script file by:  Jim Needham
                              Vector Graphics
                              130a West Heintz Street
                              Molalla, Oregon 97038
                   Filename:  Hour.js
                    Created:  2:30 PM 1/1/01
                    Revised:  10:08 PM 4/22/01
*/
var before="Mom's Day"
var current="Because of all you do, and sacrifices you make, we LOVE you Mom!"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
if (difference==0)
document.write(current)
else if (difference>0)
document.write('<font size="6" color=blue face="Bradley Hand  ITC,Lucinda Calligraphy,Arial,Geneva,Sans Serif"><B>'+difference+" days until "+before+'</B></font>')
}
//enter the count down date using the format year/month/day
countdown(2001,5,13)