// JavaScript Document
function CheckLogin()
{
	if(document.frmlogin.username.value == "")	
	{
		alert("Please Enter User Name.");
		document.frmlogin.username.focus();
		return false;
	}
	if(document.frmlogin.password.value == "")	
	{
		alert("Please Enter Password.");
		document.frmlogin.password.focus();
		return false;
	}
	document.frmlogin.submit();
}
function RestictFile()
{
	alert("Login First.");
	return false;
}
function serachdata()
{
 document.frmsearch.submit();
// window.location.href = "searchresult.php?action=SEARCH&keyword="+document.getElementById('txtsearch').value;
}