
function checkFormData1()
{	with(window.document.search_name1)
	{	
		if(productName.value=="")
		{	alert("Enter Product Name");
			productName.focus(); return false;
		}
		return true;
	}
}	
function checkFormData2()
{	with(window.document.search_name2)
	{	
		if(reference.value=="")
		{	alert("Enter reference");
			reference.focus(); return false;
		}
		return true;
	}
}	

