
function timing(){

var now = new Date()
	var thisDate = now.getDate()
	var thisMonth=now.getMonth()
	var thisYear=now.getFullYear()
	

var  q = ["January","February","March","April","May","June","July","August","September","October","November","December"] 

var w =
["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]
nowT = new Date()
		thisH = nowT.getHours()
		thisI = nowT.getMinutes()
		thisD = nowT.getDay()
		thisSec = nowT.getSeconds()
		
	if(thisH > 12)thisH = thisH-12	
	if(thisH==00)thisH=12
		if(thisH < 10)thisH = ' ' + thisH
		if(thisI < 10)thisI = '0' + thisI
		
		if(thisSec %2){dots = '<span style="color:#FFFFFF">:</span>'}else{dots = ':'}
		
		time=thisH + dots + thisI+ '&nbsp;&nbsp;&#8226;&nbsp;&nbsp;' + w[thisD] + ', '  + q[thisMonth] + ' ' + thisDate
		
		
document.getElementById("clock").innerHTML = time

window.setTimeout("timing()", 1000);
}
	

