// JavaScript Document

function validate_required(field,alerttxt)

{

with (field)

	{

		if (value==null||value=="")

		  {alert(alerttxt);return false;}

		else {return true;}

	}

}



function validate_form(thisform)

	{

		with (thisform)

		{

			if (validate_required(company,"Company must be filled out")==false)

			  {company.focus();return false;}

 			else { document.getElementById('comp1').value="company name: "+ document.getElementById('co').value; //apply company name to all carts			

				} //add company: to option

			

		}

	

	}





//VALIDATION END
