///****** Time Functions  ***//////hello="hello John"// this function creates a time string that can be used to make GET urls uniquefunction makeTimeString(){	var today=new Date()	var m=today.getMinutes()	var s=today.getSeconds()	// add a zero in front of numbers<10	m=zeroPad(m)	s=zeroPad(s)	ms = m.toString()+s.toString()	//alert(ms)	return ms}function startTime(){	var today=new Date()	var h=today.getHours()	var m=today.getMinutes()	var s=today.getSeconds()	var yyyy=today.getFullYear()	var mm=today.getMonth()+1	var dd=today.getDate()	// add a zero in front of numbers<10	m=zeroPad(m)	s=zeroPad(s)	document.getElementById('time').innerHTML=h+":"+m+":"+s+"&nbsp;&nbsp; "+mm+"/"+dd+"/"+yyyy	t=setTimeout('startTime()',500)}function zeroPad(i){if (i<10)   {i="0" + i}  return i}function trim(value) { //removes leading/trailing spaces and consecutive interior spaces (leaves single interior spaces) var temp = value var obj = /^(\s*)([\W\w]*)(\b\s*$)/ if (obj.test(temp)) { temp = temp.replace(obj, '$2') } var obj = / +/g temp = temp.replace(obj, " ") if (temp == " ") { temp = "" } return temp }	function changeStackOrder(){if (document.getElementById("content").style.zIndex=="1"){document.getElementById("content").style.zIndex="0";}else{document.getElementById("content").style.zIndex="1"}}
