function Clock_StepIt(clockID){
	window.setTimeout("Clock('"+clockID+"');", 1000);
}

function Clock(clockID){
	var tDate = new Date();
	h = tDate.getHours(); if (h<10) {h = "0"+h;}
	m = tDate.getMinutes(); if (m<10) {m = "0"+m;}
	s = tDate.getSeconds(); if (s<10) {s = "0"+s;}
	
	outp = h+':'+m+'.'+s;
	document.getElementById(clockID).innerHTML = outp;
	
	Clock_StepIt(clockID);
}

function Prompter_ShowInfo(time){
	prompter_marquee.stop();
	document.getElementById('prompter_1').style.display = '';
	document.getElementById('prompter_2').style.display = 'none';
	window.setTimeout("Prompter_ShowMarquee();",time);
}

function Prompter_ShowMarquee(){
	document.getElementById('prompter_1').style.display = 'none';
	document.getElementById('prompter_2').style.display = '';
	prompter_marquee.start();
}


function OpenClearWnd(url){
	window.open(url, "_blank", "menubar=no,location=no,resizable=no,scrollbars=no,status=no,width=10, height=10");
}
