
function sectionsubmit()
{
	document.pred.submit();
}
function updatetime() {
mymonth = new Array();

	mymonth[0] = 'January';
	mymonth[1] = 'February';
	mymonth[2] = 'March';
	mymonth[3] = 'April';
	mymonth[4] = 'May';
	mymonth[5] = 'Juny';
	mymonth[6] = 'July';
	mymonth[7] = 'August';
	mymonth[8] = 'September';
	mymonth[9] = 'October';
	mymonth[10] = 'November';
	mymonth[11] = 'December';
	
	if(document.getElementById) {
		ctTime=new Date();
		if (parseInt(ctTime.getHours())>9) {
			var ctHours=ctTime.getHours();
		} else {
			var ctHours="0"+ctTime.getHours();
		}
		if (parseInt(ctTime.getMinutes())>9) {
			var ctMinutes=ctTime.getMinutes();
		} else {
			var ctMinutes="0"+ ctTime.getMinutes();
		}
		if (parseInt(ctTime.getSeconds())>9) {
			var ctSeconds=ctTime.getSeconds();
		} else {
			var ctSeconds="0"+ ctTime.getSeconds();
		}

		var ctFull=ctHours + ":" + ctMinutes + ":" + ctSeconds;
		var dateFull = ctTime.getDate() + " " + mymonth[ctTime.getMonth()] + " " + ctTime.getFullYear();
		if(document.getElementById("timeplace")) {
			document.getElementById("timeplace").innerHTML = ctFull;
			document.getElementById("dateplace").innerHTML = dateFull;
			setTimeout("updatetime()", 1000);
		}                        
		           	
	}
}
