function fnValidate(frm)
{
	if(trim(frm.txtUserName.value) == '') 
	{
		alert("Please enter your user name");
		frm.txtUserName.focus();
		return false;
	}
	if(trim(frm.txtPassword.value) == '') 
	{
		alert("Please enter your password");
		frm.txtPassword.focus();
		return false;
	}
}
function GetInput(strSitePath)
{
	var strURL = strSitePath + "GetDemoDetails.asp";
	var intTop = screen.height/2 - 140;
	var intLeft = screen.width/2 - 205;
	var objEditWin=window.open(strURL, 'ShowDemo', 'Height=176, Width=305, top='+ intTop +',left='+ intLeft +', help=no, resizable=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes');
	objEditWin.focus();
}
function GoToUserPage(frm)
{
	if(trim(frm.txtUserURL.value) == '') 
	{
		alert("Please enter your url name");
		frm.txtUserURL.focus();
		return false;
	}
}
