
function MM_swapImgRestore() {
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() {
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function get_date()
{
	var d = new Date();
	var t_date = d.getDate();      
	var t_mon = d.getMonth();      
	var t_year = d.getFullYear();  
	var t_hour = d.getHours();     
	var t_min = d.getMinutes();
	dateText = "";
	var t_day = d.getDay();
	if (t_day == 0)
		dateText += "Sunday";
	else if (t_day == 1)
		dateText += "Monday";
	else if (t_day == 2)
		dateText += "Tuesday";
	else if (t_day == 3)
		dateText += "Wednesday";
	else if (t_day == 4)
		dateText += "Thursday";
	else if (t_day == 5)
		dateText += "Friday";
	else if (t_day == 6)
		dateText += "Saturday";
	monthtext = "";
	if (t_mon == 0)
		monthtext += "January";
	if (t_mon == 1)
		monthtext += "February";
	if (t_mon == 2)
		monthtext += "March";
	if (t_mon == 3)
		monthtext += "April";
	if (t_mon == 4)
		monthtext += "May";
	if (t_mon == 5)
		monthtext += "June";
	if (t_mon == 6)
		monthtext += "July";
	if (t_mon == 7)
		monthtext += "August";
	if (t_mon == 8)
		monthtext += "September";
	if (t_mon == 9)
		monthtext += "October";
	if (t_mon == 10)
		monthtext += "November";
	if (t_mon == 11)
		monthtext += "December";
	timetext = "";
	if (t_hour >= 12)
	{
		timetext = "pm"
	}
	else 
	{
		timetext = "am"
	}
	hour = "";
	if (t_hour == 1)
		hour += "1"
	else if (t_hour == 2)
		hour += "2"
	else if (t_hour == 3)
		hour += "3"
	else if (t_hour == 4)
		hour += "4"
	else if (t_hour == 5)
		hour += "5"
	else if (t_hour == 6)
		hour += "6"
	else if (t_hour == 7)
		hour += "7"
	else if (t_hour == 8)
		hour += "8"
	else if (t_hour == 9)
		hour += "9"
	else if (t_hour == 10)
		hour += "10"
	else if (t_hour == 11)
		hour += "11"
	else if (t_hour == 12)
		hour += "12"
	else if (t_hour == 13)
		hour += "1"
	else if (t_hour == 14)
		hour += "2"
	else if (t_hour == 15)
		hour += "3"
	else if (t_hour == 16)
		hour += "4"
	else if (t_hour == 17)
		hour += "5"
	else if (t_hour == 18)
		hour += "6"
	else if (t_hour == 19)
		hour += "7"
	else if (t_hour == 20)
		hour += "8"
	else if (t_hour == 21)
		hour += "9"
	else if (t_hour == 22)
		hour += "10"
	else if (t_hour == 23)
		hour += "11"
	else if (t_hour == 24)
		hour += "12"
	min = "";
	if (t_min == 0)
		min += "00"
	else if (t_min == 1)
		min += "01"
	else if (t_min == 2)
		min += "02"
	else if (t_min == 3)
		min += "03"
	else if (t_min == 4)
		min += "04"
	else if (t_min == 5)
		min += "05"
	else if (t_min == 6)
		min += "06"
	else if (t_min == 7)
		min += "07"
	else if (t_min == 8)
		min += "08"
	else if (t_min == 9)
		min += "09"
	else 
		min += t_min
	
	document.write(dateText + "  " + t_date + "th" + "&nbsp;" + monthtext + "&nbsp;" +" | " + "&nbsp;" + hour + " : " + min + " " + timetext)
}


//-->
