function user_sign_in(a,b)
{
	var ab1=new Array();
	var ab2=new Array();

	var httpob=null;

	if (window.XMLHttpRequest)
	{
		httpob = new XMLHttpRequest();
	}
	else
	{
		if (window.ActiveXObject)
		{
	
			httpob = new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	httpob.open("GET","/ui/asp/user_sign_in.asp?u="+a+"&p=" + b ,false);
	httpob.send("u="+a+"&p="+b);
	ab1=httpob.responseText;
	ab2=ab1.split("^");
	if(ab2[0]=='I')
	{
		window.location="/asp/accdet.asp";
	}
	else
	{
		if(ab2[0]=='B')
		{
			window.location="/asp/bldaccdet.asp";
		}
		else
		{
			alert("Invalid Username or Password.");
			document.getElementById("signin_usr").value="";
			document.getElementById("signin_pass").value="";
		}
	}
}
