//change the text below to reflect your own,
var before="باقي من الأيام";
var current="<br/>اليوم هو اليوم الدولي للسلام !";
var countdownDivID="countdownwraper";
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");

// **    Set the count down date as countdown(yyyy,mm,dd)  **
function start() {countdown(2009,9,21);}
window.onload = start;

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.getElementById(countdownDivID).innerHTML = "<div id='countdown'><div class='days'>"+current +"</div></div>"
else if (difference>0) 
	document.getElementById(countdownDivID).innerHTML = "<div id='countdown'><div class='number'>"+difference+"</div><div class='days'>"+before +"</div></div>"
};
