var now = new Date();
var then = new Date("October 31, 2010");
var gap = then.getTime() - now.getTime();
gap = Math.floor(gap / (1000 * 60 * 60 * 24) + 1);
if (gap > 0){
	document.write("<div class=countdown>Only<strong> "+gap+ " Days</strong> Left Until Halloween!</div>");
}
else {
		document.write("<div class=countdown><strong>Happy Halloween!</strong></div>");
		
}