// JavaScript Document


 function searchcall()
 {
	 if (document.searchform2.cat.value=="")
 	{
 	   alert("Please Enter Category");
 	   document.searchform2.cat.focus();
 	//   return (false); 
	   	}
if (document.searchform2.Price_Range.value=="")
 	{
 	   alert("Please Select Price Range");
 	   document.searchform2.Price_Range.focus();
 	//   return (false);
 	}
//return (true);  

document.searchform2.method='post';
document.searchform2.action='searchval.asp';
document.searchform2.submit();
}	

 function wordsearchcall()
 {
	if(document.searchform2.searchword.value=="Search Word")
		{
			alert('enter word');
			document.searchform2.searchword.focus();
			//return (false);
		}
//return (true);  
document.searchform2.method="post";
	document.searchform2.action='wordsearchvalpage.asp';
	document.searchform2.submit();
	
}	





 function wordsearchcall2()
 {
	if(document.searchform2.searchword2.value=="Search by Product id")
		{
			alert('enter word');
			document.searchform2.searchword2.focus();
			//return (false);
		}
//return (true);  
document.searchform2.method="post";
	document.searchform2.action='productsearchvalpage.asp';
	document.searchform2.submit();
	
}	



function checkchar(e)
			{
				if(e.keyCode<65 || e.keyCode>123)
				{
					e.keyCode=0;
					alert("Please Enter charactors only")
				}
				if(e.keyCode==65)
				{
					e.keyCode=0;
					alert("Please Enter Only charactors")
				}
			}
			
			


