// JavaScript Document


 function searchcall()
 {
document.searchform2.method='post';
document.searchform2.action='searchval.php';
document.searchform2.submit();
}	

 function wordsearchcall()
 {
if(document.searchform2.searchword.value=='')
{
alert('enter word');
searchform2.searchword.focus();
}
else
document.searchform2.method="post";
document.searchform2.action='wordsearchvalpage.html';
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.html';
	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")
				}
			}
			

