document.write ("<tr>\
<td bgcolor='#FFFFFF' style='height: 225px' valign='top'>\
	<form name='quoteForm' method='post' action='enquiry.asp'  >\
<input type='hidden' name='00N30000000c2MJ' value=''>\
<input type='hidden' name='oid' value='00D3000000006a2'>\
<input type='hidden' name='retURL' value='newRequestb6e0.html?page=thanks'>\
<input type='hidden' name='lead_source' value='www.talentsfromindia.com'>\
<input type='hidden' name='address' value=''>\
<input type='hidden' name='00N30000000hkiH' value=''>\
<input type='hidden' name='postalCode' value=''>\
<input type='hidden' name='first_name' id='first_name' value=''>\
<input type='hidden' name='last_name' id='last_name' value=''>\
<input type='hidden' name='00N30000000jMaq' value=''>\
<input type='hidden' name='Campaign_ID' value=''>\
<input type='hidden' name='sfga' value='00D3000000006a2'>\
<input type='hidden' name='00N30000000cbhr' value=''>\
<input type='hidden' name='00N30000000cXEQ' value=''>\
<input type='hidden' name='00N30000000cWrP' value=''>\
<input type='hidden' name='00N30000001AOah' value='Common Quote Form Include'>\
		<a href='request-quote.html' class='headers2blue'><img src='images/bigrequest_quote.gif' border='0' alt=''></a>\
		<span class='smallcaption'>\
		<img src='images/shim.gif' width='1' height='4' hspace='0' align='middle' vspace='0' alt=''>\
		<br>\
		Enter your information and get a quote in just five minutes! ( * required fields)\
		</span><br><img src='images/shim.gif' width='1' height='12' hspace='0' align='middle' vspace='0' alt=''><br>\
        <table width='100%' border='0' cellspacing='2' cellpadding='0'>\
          <tr>\
            <td colspan='2' height='23' align='left'>\
             <select name='lstService' style='width:100%' class='formmenu'>\
                <option value='unselected' selected>*Select..</option>\
                 <option>Dedicated Staff</option>\
                 <option>Offshore Development</option>\
                 <option>Open source customization</option>\
                 <option>Integration Services</option>\
                 <option>Webdesign Services</option>\
                   </select>\
            </td>\
          </tr>\
          <tr>\
            <td width='30%' height='23' align='left'><b class='smallcaption'>*Name</b></td>\
            <td width='70%' align='left' height='23'>\
              <input type='text' name='Name' class='formmenu' size='13' style='width:100%'>\
            </td>\
          </tr>\
          <tr>\
            <td width='30%' height='23' align='left'><b class='smallcaption'>*Email</b></td>\
            <td width='70%' align='left' height='23'>\
              <input type='text' name='email' class='formmenu' size='13' style='width:100%'>\
            </td>\
          </tr>\
          <tr>\
            <td width='30%' height='23' align='left'><b class='smallcaption'>*Phone</b></td>\
            <td width='70%' align='left' height='23'>\
              <input type='text' name='phone' class='formmenu' size='13' style='width:100%'>\
            </td>\
          </tr>\
<tr>\
            <td width='100%' colspan='2' class='smallcaption' height='34' align='left'>\
            <textarea name='txtServiceDesc' class='formmenu' style='width:100%' rows='3' cols='30'></textarea>\
           </td>\
            </tr>\
          <tr>\
            <td class='formmenu' height='38' width='75'><a href='privacy-policy.html' class='bluelinksmall'>privacy policy</a></td>\
            <td colspan='0' align='Center' height='38'  valign='middle'><input type='hidden' id='ref' value=''><input type='hidden' id='cur' value=''>\
              <img src='images/submit.gif' alt='Submit' name='image2' border='0' align='middle' style='cursor:pointer;' onClick='if (validation())document.quoteForm.submit();'>\
			  </td>\
          </tr>\
        </table>\
        </form>\
    </td>\
  </tr>");


document.quoteForm.ref.value = document.referrer;
document.quoteForm.cur.value = document.location.href;

  function validation()
{
   var emailPat =/^([a-zA-Z0-9_\.\-])+(@)(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
   var orgvalue=document.quoteForm.email.value.replace(/^\s+|\s+$/g,"");
   

 /* 
    if (document.quoteForm.lsthour.value=="..Choose..")
    {
    alert ("Please Enter Hour Coverage!");
    document.quoteForm.lsthour.focus();
    return false;

	 if (document.quoteForm.lstMethod.value=="..Choose..")
    {
    alert ("Please Enter Response Method!");
    document.quoteForm.lstMethod.focus();
    return false;
    }
    }
	
	 if (document.quoteForm.lstTime.value=="..Choose..")
    {
    alert ("Please Enter Time of Return Call!");
    document.quoteForm.lstTime.focus();
    return false;
    }
    if (document.quoteForm.lstTimeZone.value=="..Choose..")
    {
    alert ("Please Enter Time Zone!");
    document.quoteForm.lstTimeZone.focus();
    return false;
    }
	
	*/
	
    if (document.quoteForm.lstService.value=="unselected")
    {
    alert ("Please Enter Preferred Service!");
    document.quoteForm.lstService.focus();
    return false;
    }
	
	
   
   
    if (document.quoteForm.Name.value=="")
    {
    alert ("Please Enter Full Name!");
    document.quoteForm.Name.focus();
    return false;
    }
   
	 if (orgvalue=="")
    {
    alert ("Please Enter Email!");
    document.quoteForm.email.focus();
    return false;
    }
	if (orgvalue!='')
   {
      
      
      var matchArray = orgvalue.match(emailPat);// is the format ok?
		if(matchArray == null) 
		{
			alert("Please Enter valid E-mail Id.");
			return false;
		}
   }
   
   if (document.quoteForm.phone.value=="")
    {
    alert ("Please Enter Your Phone number!");
    document.quoteForm.phone.focus();
    return false;
    }
      
	return true;
} 
 