function checklogin()
{
	a = document.login;
	if(a.txtUserName.value == "")
	{
		alert("Please enter a User ID");
		a.txtUserName.focus();
		return false;
	}

	if(a.txtUserPass.value == "")
	{
		alert("Please enter a password");
		a.txtUserPass.focus();
		return false;
	}

}

function validateform2()
{
	a = document.form2;
	if(a.phodel1.value == "")
	{
		alert("Please enter a Profile id");
		a.phodel1.focus();
		return false;
	}
}

function validatepdel()
{
	a = document.pdel;
	if(a.del.value == "")
	{
		alert("Please enter a Profile id");
		a.del.focus();
		return false;
	}
}

function validatepview()
{
	a = document.pview;
	if(a.view1.value == "")
	{
		alert("Please enter a Profile id");
		a.view1.focus();
		return false;
	}
}

function validateform1()
{
	a = document.form1;
	if(a.modify.value == "")
	{
		alert("Please enter a Profile id");
		a.modify.focus();
		return false;
	}
}

function validatepatt()
{
	a = document.patt;
	if(a.attach.value == "")
	{
		alert("Please enter a Profile id");
		a.attach.focus();
		return false;
	}
}

function validatepm()
{
	a = document.pm;
	if(a.id.value == "")
	{
		alert("Please enter a Profile id");
		a.id.focus();
		return false;
	}
}