<!-- START Hide
// MainDefaultDateAndTime.js Javescript
 		// ================================== // 
		var currentDate="";
		var clockInterval="";
		function clockStartInterval(){
			if (clockInterval=="") {
				timeAndDate.innerHTML="<em class='red'>Starting Clock Wait!</em>";
				clockInterval=window.setInterval("clockRecycle()",1000);
			} else { clockStopInterval(); }
		}
		function clockStopInterval(){
			if (clockInterval!="") {
				window.clearInterval(clockInterval);
				clockInterval="";
				// timeAndDate.innerHTML="Clock Stopped.";
				timeAndDate.innerHTML="";
			}
		}
		function clockRecycle(){
			var now = new Date();
			var year = now.getYear();
			if (year < 2000) {year = year + 1900;}
			var monthNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
			var dayNames = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
			var currentDate=dayNames[now.getDay()]+", "+monthNames[now.getMonth()] + " " + now.getDate() + ", " + year;
			var todayDate=new Date();
			var greetingAM_PM="AM Good Morning!";
			var currentHours=todayDate.getHours();
			if ( (currentHours>=12) && (currentHours<17) ) {
				currentHours=(currentHours-12);
				greetingAM_PM="PM, Good Afternoon!";
			}
			if (currentHours==0) { currentHours=12; }
			if (currentHours>=17) {
				currentHours=(currentHours-12);
				greetingAM_PM="PM, Good Evening!";
			}
			var currentMinutes=todayDate.getMinutes() + "";
				if(currentMinutes.length==1){
					currentMinutes="0" + currentMinutes;
				}
			var currentSeconds=todayDate.getSeconds() + "";
				if(currentSeconds.length==1){
					currentSeconds="0" + currentSeconds;
				}
		timeAndDate.innerHTML=currentDate + " @ " + currentHours + ":" + currentMinutes + ":" + currentSeconds + " " + greetingAM_PM;
		}
	// =========================================================== // 
// --> End Javascript

