// JavaScript Document
//sourced from http://www.javascriptkit.com/javatutors/datedifference.shtml

//Set the date for last seizure
var month=2
var day=9
var year=2010

var seizure =new Date(year, month-1, day+1) //Month is 0-11 in JavaScript so I'll take 1 from the month +1 day for time difference between countries
today=new Date()
//Get 1 day in milliseconds
var one_day=1000*60*60*24

//Calculate difference btw the two dates, and convert to days
document.write("<h1>" + Math.ceil((today.getTime()-seizure.getTime())/(one_day))+
"</h1><h4> days since Jarod's last big seizure!</h4>")