// JavaScript Document
function redirect(newlocation) 
{
	window.location = newlocation;
}

function redirect_with_delay(newlocation, secondsdelay) 
{					
	convert_to_seconds = 1000;

	if (isNaN(secondsdelay) || (secondsdelay < 0))
		redirect(newlocation);
	else
	{
		secondsdelay = secondsdelay * convert_to_seconds;
		setTimeout('redirect(\"' + newlocation + '\")',secondsdelay);
	}
}
