//change the text below to reflect your own, var current="This Play has closed!" function countdown(dd){ 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); if(dday==0&&dhour==0&&dmin==0&&dsec==1){ document.forms.count.count2.value=current; return; } else { document.forms.count.count2.value=dday+ "d "+dhour+"h "+dmin+"m "+dsec+"s"; } setTimeout("countdown("+(dd-1000)+")",1000); } //enter the count down date using the format year/month/day countdown(0)