function newWindow(u, t, s)
{
	if(s == "")
		window.open(u,t,"height=640,width=800,toolbar=no,status=no,menubar=no,scrollbars=yes");
	else
		window.open(u,t,"scrollbars=yes");
}



function confirmBeforeGo( url )
{
	var answer = confirm("Are you sure?");
	if(answer)
	{
		window.location = url;
	}
}

function reloadPageTimeOut ( time )
{
	var x = 10;
	var y = 1;
	function startClock()
	{ 
		x = x-y ;
		document.frm.clock.value = x; 
		setTimeout("startClock()", time); 
		if(x==0)
		{
			alert("BOOM"); x=10; 
		} 
	}
}

function refresh ()
{
	window.location.reload();
}

function openerRefresh ()
{
	window.opener.location.reload();
}





