 
function validate_form()
{
	
	valid = true;
	if(document.my_form.Company.value=="")
	{
		document.getElementById('field1').innerHTML = '<font color=red>&lt;&lt; Required field</font>';
		document.my_form.Company.focus();	
		valid = false;
	}
	else{document.getElementById('field1').innerHTML = '';}
	if(document.my_form['First Name'].value=="")
	{
		
		document.getElementById('field2').innerHTML = '<font color=red>&lt;&lt; Required field</font>';
		document.my_form['First Name'].focus();
		valid = false;
	}
	else{document.getElementById('field2').innerHTML = '';}
	if(document.my_form['Last Name'].value=="")
	{
		document.getElementById('field3').innerHTML = '<font color=red>&lt;&lt; Required field</font>';
		document.my_form['Last Name'].focus();
		valid = false;
	}
	else{document.getElementById('field3').innerHTML = ''}
	if(!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.my_form.Email.value))
	{
		document.getElementById('field4').innerHTML = '<font color=red>&lt;&lt; Missing/Invalid Email </font>';
		document.my_form.Email.focus();
		valid = false;
	}
	else{document.getElementById('field4').innerHTML = ''}
	if(document.my_form.Industry.value=='-None-')
	{
		document.getElementById('field5').innerHTML = '<font color=red>&lt;&lt; Required field</font>';
		document.my_form.Email.focus();
		valid = false;
	}
	else{document.getElementById('field5').innerHTML = '';}
	if(document.my_form['Interested In'].value=='-None-')
	{
		document.getElementById('field7').innerHTML = '<font color=red>&lt;&lt; Required field</font>';
		document.my_form['Interested In'].focus();
		valid = false;
	}
        else{document.getElementById('field7').innerHTML = '';}

	if(document.my_form.Phone.value=='')
	{
		document.getElementById('field6').innerHTML = '<font color=red>&lt;&lt; Required field</font>';
		document.my_form.Phone.focus();
		valid = false;
	}
	else{document.getElementById('field6').innerHTML = '';}
	return valid;
}

