function Verify()
{
	if (document.frmlogin.txtUsername.value == "")
	{
		alert ("Please Enter Username");
		document.frmlogin.txtUsername.focus();
		document.frmlogin.txtUsername.select();
		return false;
	}
	if (document.frmlogin.txtPassword.value == "")
	{
		alert ("Please Enter Password");
		document.frmlogin.txtPassword.focus();
		document.frmlogin.txtPassword.select();
		return false;
	}
	return true 
}
function Delete(id)
{
	if( confirm("Are you sure you want to delete this Category?") == false) 
	{ 
	return false; 
	} 
	document.frmcategory.action = "listcategory.php?ACTION=DELETE&ID=" + id; 
	return true; 
}
function Search()
{
	txtCategory =  document.frmcategory.txtCategory.value;
	document.frmcategory.action = "listcategory.php?ACTION=SEARCH&txtCategory=" +txtCategory; 
	return true; 
}