$(document).ready(function(){
	Time();
});

function Time()	{
	var Hours = (new Date()).getHours();
	var Minutes = (new Date()).getMinutes();
	var Seconds = (new Date()).getSeconds();
	var Month = (new Date()).getMonth() + 1;
	var Day = (new Date()).getDate();
	var Year = (new Date()).getYear();
	var AMPM = "AM";
	if (Hours > 11)
	{
		AMPM = "PM";
	}
	if (Hours < 1)
	{
		Hours = 12;
	}
	if (Hours >= 13)
	{
		Hours = Hours - 12;
	}
	if (Hours < 10)
	{
		Hours = "0" + Hours;
	}
	if (Minutes < 10)
	{
		Minutes = "0" + Minutes;
	}
	if (Seconds < 10)
	{
		Seconds = "0" + Seconds;
	}
	if (Month < 10)
	{
		Month = "0" + Month;
	}
	$('#time').html(Hours + ":" + Minutes + ":" + Seconds + " " + AMPM);
	setTimeout(Time,1000);
}

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23876757-4']);
_gaq.push(['_trackPageview']);

(function() {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

