// JavaScript Document

function userlogin(valu,valu1)
{
	if (valu=='l')
	{
		var str=window.location+"";
		if (str.indexOf("returnto")==-1)		
			window.location.href="login.asp?returnto="+window.location;
	}
	else
	{
		var str=window.location+"";
		txt=str.substr((str.length-3),3);
		if (txt=="asp")
			window.location.href=window.location+"?una1=''&una=lout";	
		else
			window.location.href=window.location+"&una=lout";	
	}
}