var isNN = (navigator.appName.indexOf("Netscape")!=-1);
function autoTab(input,len, e) {
var keyCode = (isNN) ? e.which : e.keyCode; 
var filter = (isNN) ? [0,8,9] : [0,8,9,16,17,18,37,38,39,40,46];
if(input.value.length >= len && !containsElement(filter,keyCode)) {
input.value = input.value.slice(0, len);
	try {
		input.form[(getIndex(input)+1) % input.form.length].focus();
	}
	catch(er){
		
	}
}
function containsElement(arr, ele) {
var found = false, index = 0;
while(!found && index < arr.length)
if(arr[index] == ele)
found = true;
else
index++;
return found;
}
function getIndex(input) {
var index = -1, i = 0, found = false;
while (i < input.form.length && index == -1)
if (input.form[i] == input)index = i;
else i++;
return index;
}
return true;
}

function checkradioHome()
{
document.IndexForm.rbhome.checked=true
document.IndexForm.rbbusiness.checked=false
document.IndexForm.LeadType.value = 1;
document.IndexForm.txtPartnerID.value = 33;
}

function checkradioBusiness()
{
document.IndexForm.rbhome.checked=false
document.IndexForm.rbbusiness.checked=true
/*document.IndexForm.LeadType.value = 3;
document.IndexForm.txtPartnerID.value = 182;*/
}

function getURLParam( name ){

  var regexS = "[\\?&]"+name+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var tmpURL = window.location.href;
  var results = regex.exec( tmpURL );
  if( results == null )
    return "";
  else
    return results[1];
}

function staticLoadScript(url)
{
   document.write('<script src="', url, '" type="text/JavaScript"><\/script>');
}

function SetPartnerID(str)
{
	var partner_id
    if ( getURLParam('id') != '' ){
	    partner_id = getURLParam('id');
    }
    else{
	    partner_id = str;
    }
    if ( getURLParam('PID') != '' ){
	    if (partner_id.indexOf("-") > -1) {
	        partner_id = partner_id + ':' + getURLParam('PID')
        }
        else
        {
	        partner_id = getURLParam('PID')
        }
    }
    return partner_id
}

function doHide()
	{
		document.getElementById('business_phone_label1').style.display = 'none';
		document.getElementById('business_phone_label2').style.display = 'none';
		document.getElementById('contact_phone_label2a').style.display = 'none';
		document.getElementById('contact_phone_label2').style.display = 'none';
		document.getElementById('contact_name').style.display = 'none';
		document.getElementById('contact_phone_labela').style.display = '';
		document.getElementById('contact_phone_label').style.display = '';
		document.getElementById('txtName').style.display='none';
		document.getElementById('require').style.display='';
		document.getElementById('streetAddy').style.display='';
		document.getElementById('streetAddy2').style.display='';
		document.getElementById('streetAddy3').style.display='';
		document.getElementById('streetAddy4').style.display='';
		/*document.getElementById('phone_label1').style.display = '';*/
	}
function doShow()
	{
		document.getElementById('business_phone_label1').style.display = '';
		document.getElementById('business_phone_label2').style.display = '';
		document.getElementById('contact_phone_label2a').style.display = '';
		document.getElementById('contact_phone_label2').style.display = '';
		document.getElementById('contact_phone_labela').style.display = 'none';
		document.getElementById('contact_phone_label').style.display = 'none';
		document.getElementById('contact_name').style.display = '';
		document.getElementById('txtName').style.display='';
		document.getElementById('require').style.display='none';
		document.getElementById('streetAddy').style.display='none';
		document.getElementById('streetAddy2').style.display='none';
		document.getElementById('streetAddy3').style.display='none';
		document.getElementById('streetAddy4').style.display='none';
/*		document.getElementById('phone_label1').style.display = 'none';
		document.getElementById('phone_label2').style.display = 'none';*/
	}
	
	
/*function phone(){
	document.getElementById('contact_phone_labela').style.display = 'none';
	document.getElementById('phone_label1').style.display = 'none';
	document.getElementById('contact_phone_label').style.display = 'none';
	document.getElementById('phone_label2').style.display = '';
	document.getElementById('spacing').style.display = 'none';
	document.getElementById('spacing2').style.display = '';
	document.IndexForm.phonecheck.checked = false;
	document.IndexForm.phonecheck2.checked = true;
}
function noPhone()
{
	document.getElementById('contact_phone_labela').style.display = '';
	document.getElementById('phone_label1').style.display = '';
	document.getElementById('contact_phone_label').style.display = '';
	document.getElementById('phone_label2').style.display = 'none';
	document.getElementById('spacing').style.display = '';
	document.getElementById('spacing2').style.display = 'none';
	document.IndexForm.phonecheck.checked = false;
	document.IndexForm.phonecheck2.checked = true;
}*/
 <!--

//BEGIN VALIDATION 

function IsNumeric(strString){

 

   

   var strValidChars = "0123456789";

   var strChar;

   var blnResult = true;

 

   if (strString.length == 0) return false;

 

   for (i = 0; i < strString.length && blnResult == true; i++)

      {

      strChar = strString.charAt(i);

      if (strValidChars.indexOf(strChar) == -1)

         {

         blnResult = false;

         }

      }

   return blnResult;

   }

 

    

function ValForm(IndexForm) {
	if (document.IndexForm.optin.checked ==1 ){
		document.IndexForm.isEmail.value="true"
		document.IndexForm.isCall.value="true"
	}
	if(document.IndexForm.rbhome.checked == true){
		
		//clear biz qual
		document.IndexForm.contactname.value = "";
		document.IndexForm.txtBusContactPhone1.value = "";
		document.IndexForm.txtBusContactPhone2.value = "";
		document.IndexForm.txtBusContactPhone3.value = "";
		document.IndexForm.txtBusinessPhone1.value = "";
		document.IndexForm.txtBusinessPhone2.value = "";
		document.IndexForm.txtBusinessPhone3.value = "";
		document.IndexForm.txtBusinessEmailId.value = "";
		
		//if(document.getElementById('contact_phone_labela').style.display != 'none'){
			var tele1 =  document.IndexForm.txtHomePhone1.value;
			 document.IndexForm.txtHomePhone1.value = tele1.replace(/[\(\)\.\-\ ]/g,'' );
			if(!document.IndexForm.txtHomeStreetAddress1.value)
			{
				alert("Please enter the address followed with door number (eg.) 123 xyz street.")
				document.IndexForm.txtHomeStreetAddress1.focus()
				return false;	
			}
					
			var sFullAddress=""
			var sAddressNumber =""
			var sAddress=""
			ss="";
			sFullAddress= document.IndexForm.txtHomeStreetAddress1.value
			sFullAddress=sFullAddress.replace(/^\s*(.*)/, "$1");
			sFullAddress=sFullAddress.replace(/(.*?)\s*$/, "$1");
			arr2=sFullAddress.split(" ");
			count=1;
			sAddressNumber=arr2[0];
			while(count < arr2.length)
			{
				ss=ss + " " + arr2[count];
				count = count+1;
			}
			sAddress=ss;
			if(IsNumeric(sAddressNumber)==false)
			{
				alert("Please enter the address followed with door number (eg.) 123 xyz street.")
				document.IndexForm.txtHomeStreetAddress1.focus()
				return false;
			}
			if(!document.IndexForm.txtHomeZip.value)
			{
				alert("Please enter a valid 5 digit zip code.")
				document.IndexForm.txtHomeZip.focus()
				return false;		
			}
			var zip = document.IndexForm.txtHomeZip.value;
			if(zip.length != 5)
			{
				alert("Please enter a valid zip code.")
				document.IndexForm.txtHomeZip.value = "";
				document.IndexForm.txtHomeZip.focus()
				return false;	
			}
			if (IndexForm.txtHomePhone1.value.length < 3) 
			{
				alert("Please re-enter your Phone Number");
				document.IndexForm.txtHomePhone1.focus();
				return false
			} 
			else if (IsNumeric(document.IndexForm.txtHomePhone1.value) == false) 
			{
				alert("Please use only numbers for your phone number");
				document.IndexForm.txtHomePhone1.focus();
				return false;
			}
			if (document.IndexForm.txtHomePhone1.value == "") 
			{
				alert("Please re-enter your Phone Number.");
				document.IndexForm.txtHomePhone1.focus();
				return false
			}
			if (document.IndexForm.txtHomePhone1.value.charAt(0) == "0")
			{
				alert("Area code cannot start with zero.");
				document.IndexForm.txtHomePhone1.value = "";
				document.IndexForm.txtHomePhone1.focus();
				return false;
			}
			
			var tele2 =  document.IndexForm.txtHomePhone2.value;
			document.IndexForm.txtHomePhone2.value = tele2.replace(/[\(\)\.\-\ ]/g,'' );
			if (IndexForm.txtHomePhone2.value.length < 3) 
			{
				alert("Please re-enter your Phone Number");
				document.IndexForm.txtHomePhone2.focus();
				return false
			} 
			else if (IsNumeric(document.IndexForm.txtHomePhone2.value) == false) 
			{
				alert("Please use only numbers for your phone number");
				document.IndexForm.txtHomePhone2.focus();
				return false;
			}
			if (document.IndexForm.txtHomePhone2.value == "") 
			{
				alert("Please re-enter your Phone Number.");
				document.IndexForm.txtHomePhone2.focus();
				return false
			}
					
			var tele3 =  document.IndexForm.txtHomePhone3.value;
			document.IndexForm.txtHomePhone3.value = tele3.replace(/[\(\)\.\-\ ]/g,'' );
			if (IndexForm.txtHomePhone3.value.length < 4) 
			{
				alert("Please re-enter your Phone Number");
				document.IndexForm.txtHomePhone3.focus();
				return false
			} 
			else if (IsNumeric(document.IndexForm.txtHomePhone3.value) == false) 
			{
				alert("Please use only numbers for your phone number");
				document.IndexForm.txtHomePhone3.focus();
				return false;
			}
			if (document.IndexForm.txtHomePhone3.value == "") 
			{
				alert("Please re-enter your Phone Number.");
				document.IndexForm.txtHomePhone3.focus();
				return false
			}
			 if (document.IndexForm.txtHomeEmailId.value == "")
			  {
			  alert("Please re-enter your Email Address.");
			  document.IndexForm.txtHomeEmailId.focus();
			  return false
			}
		//}
/*		else{
			
			//clear phone values
			document.IndexForm.txtHomePhone1.value = "";
			document.IndexForm.txtHomePhone2.value = "";
			document.IndexForm.txtHomePhone3.value = "";
			
			if(!document.IndexForm.txtHomeStreetAddress1.value)
			{
				alert("Please enter the address followed with door number (eg.) 123 xyz street.")
				document.IndexForm.txtHomeStreetAddress1.focus()
				return false;	
			}
					
			var sFullAddress=""
			var sAddressNumber =""
			var sAddress=""
			ss="";
			sFullAddress= document.IndexForm.txtHomeStreetAddress1.value
			sFullAddress=sFullAddress.replace(/^\s*(.*)/, "$1");
			sFullAddress=sFullAddress.replace(/(.*?)\s*$/, "$1");
			arr2=sFullAddress.split(" ");
			count=1;
			sAddressNumber=arr2[0];
			while(count < arr2.length)
			{
				ss=ss + " " + arr2[count];
				count = count+1;
			}
			sAddress=ss;
			if(IsNumeric(sAddressNumber)==false)
			{
				alert("Please enter the address followed with door number (eg.) 123 xyz street.")
				document.IndexForm.txtHomeStreetAddress1.focus()
				return false;
			}
			if(!document.IndexForm.txtHomeZip.value)
			{
				alert("Please enter a valid 5 digit zip code.")
				document.IndexForm.txtHomeZip.focus()
				return false;		
			}
			var zip = document.IndexForm.txtHomeZip.value;
			if(zip.length != 5)
			{
				alert("Please enter a valid zip code.")
				document.IndexForm.txtHomeZip.value = "";
				document.IndexForm.txtHomeZip.focus()
				return false;	
			}
			 if (document.IndexForm.txtHomeEmailId.value == "")
			  {
			  alert("Please re-enter your Email Address.");
			  document.IndexForm.txtHomeEmailId.focus();
			  return false
			}
		}*/
	}
	else{
		
				//clear resi qual
		document.IndexForm.txtHomeStreetAddress1.value = "";
		document.IndexForm.txtHomeStreetAddress2.value = "";
		document.IndexForm.txtHomeZip.value = "";

        if (document.IndexForm.contactname.value == "")
        {
        alert("Please re-enter your Contact Name.");
        document.IndexForm.contactname.focus();
        return false
        }
		else{
			var sFullName="";
			var sFirstName="";
			var sLastName="";
			var ss="";
			sFullName= document.IndexForm.contactname.value
			if(sFullName.length>0)
			{
				sFullName=sFullName.replace(/^\s*(.*)/, "$1");
				sFullName=sFullName.replace(/(.*?)\s*$/, "$1");
				arr1=sFullName.split(" ");
				count=1;
				sFirstName=arr1[0];	 
				while(count < arr1.length)
				{
					ss=ss + " " + arr1[count];
					count = count+1;
				}
				 sLastName=ss;
				 document.IndexForm.first_name.value = sFirstName;
				 document.IndexForm.last_name.value = sLastName;
			}	
		}			
        if (document.IndexForm.txtBusinessPhone1.value.length < 3)
        {
        alert("Please re-enter your Contact Phone Number.");
        document.IndexForm.txtBusinessPhone1.focus();
        return false
        }
        if (document.IndexForm.txtBusinessPhone2.value.length < 3)
        {
        alert("Please re-enter your Contact Phone Number.");
        document.IndexForm.txtBusinessPhone2.focus();
        return false
        }
        if (document.IndexForm.txtBusinessPhone3.value.length < 4)
        {
        alert("Please re-enter your Contact Phone Number.");
        document.IndexForm.txtBusinessPhone3.focus();
        return false
        }
		if (document.IndexForm.txtBusContactPhone1.value.length < 3)
        {
        alert("Please re-enter your Contact Phone Number.");
        document.IndexForm.txtBusContactPhone1.focus();
        return false
        }
        if (document.IndexForm.txtBusContactPhone2.value.length < 3)
        {
        alert("Please re-enter your Contact Phone Number.");
        document.IndexForm.txtBusContactPhone2.focus();
        return false
        }
        if (document.IndexForm.txtBusContactPhone3.value.length < 4)
        {
        alert("Please re-enter your Contact Phone Number.");
        document.IndexForm.txtBusContactPhone3.focus();
        return false
        }
		 if (document.IndexForm.txtHomeEmailId.value == "")
		  {
		  alert("Please re-enter your Email Address.");
		  document.IndexForm.txtHomeEmailId.focus();
		  return false
		  }
		 else{
			 document.IndexForm.txtBusinessEmailId.value = document.IndexForm.txtHomeEmailId.value;
		 }
		
    	 //setup email to keith/kelly
		 //set action
		 document.IndexForm.phone.value = document.IndexForm.txtBusContactPhone1.value + document.IndexForm.txtBusContactPhone2.value + document.IndexForm.txtBusContactPhone3.value;
		 document.IndexForm.phone2.value = document.IndexForm.txtBusinessPhone1.value + document.IndexForm.txtBusinessPhone2.value + document.IndexForm.txtBusinessPhone3.value;
		 document.IndexForm.email.value = document.IndexForm.txtBusinessEmailId.value;
		 var ref = escape(window.location.toString());
		 ref = ref.substring(9, ref.length);
		 document.IndexForm.URL.value = ref;
		 document.IndexForm.lead_source.value = "DSLBroker";
		 document.getElementById('00N50000001qpqp').value = document.IndexForm.phone2.value;
		 document.IndexForm.retURL.value = "http://bid4t1.com/thanks2.php?contactname=" + document.IndexForm.contactname.value + "&leadsourcenumber=" + document.IndexForm.txtPartnerID.value + "&searchID=" + document.IndexForm.searchID.value + "&txtBusinessPhone1=" + document.IndexForm.txtBusinessPhone1.value + "&txtBusinessPhone2=" + document.IndexForm.txtBusinessPhone2.value + "&txtBusinessPhone3=" + document.IndexForm.txtBusinessPhone3.value + "&txtBusContactPhone1=" + document.IndexForm.txtBusContactPhone1.value + "&txtBusContactPhone2=" + document.IndexForm.txtBusContactPhone2.value + "&txtBusContactPhone3=" + document.IndexForm.txtBusContactPhone3.value + "&txtBusinessEmailId=" + document.IndexForm.txtBusinessEmailId.value + "&referrer=" + ref;
		document.IndexForm.action = "https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8";
		//window.open(urlString, '_blank' ,'width=500,height=250,top=200,left=250,scrollbars=yes,resizable=no,help=no');
		//document.IndexForm.target = "_blank";
		
    return true;  
	}

}
  //END VALIDATION
    
     // -->
	 
function format3(obj){
  num=obj.value
  if (num != "") {
     obj.value=num.replaceAll(".", "")
   }
}

document.write("<form name='IndexForm' action='https://cart.bridgevine.com/QualForm.aspx' method='post' onSubmit='return ValForm(this);'>")

searchTerms();

document.write("<input type='hidden' name='hidSection' value=''>")
document.write("<input type='hidden' name='name' size='20' maxlength='75' class='input_field'>")
document.write("<input type='hidden' name='DSLPhoneAreaCode2' size='3' maxlength='3' onKeyUp='return autoTab(this, 3, event);' class='input_field'>")
document.write("<input type='hidden' name='DSLPhoneFirst2' size='3' maxlength='3' onKeyUp='return autoTab(this, 3, event);' class='input_field'>")
document.write("<input type='hidden' name='DSLPhoneLast2' size='4' maxlength='4' onKeyUp='return autoTab(this, 4, event);' class='input_field'>")
document.write("<input type='hidden' name='QualFormID' value='23'>")
document.write("<input type='hidden' name='txtPartnerID'>")
document.write("<input type='hidden' name='WebSiteID' value='37'>")
document.write("<input type='hidden' name='LeadType'>")
document.write("<input type='hidden' name='isEmail' value='false'>")
document.write("<input type='hidden' name='isCall' value='false'>")
document.write("<input type='hidden' name='txtBusinessEmailId' id='txtBusinessEmailId'>")
document.write("<input name='txtBusContactFirstName' id='txtBusContactFirstName' type='hidden' />")
document.write("<input name='txtBusContactLastName' id='txtBusContactLastName' type='hidden' />")
document.write("<input type='hidden' name='txtPromoCode' id='txtPromoCode'>")
document.write("<input type='hidden' name='Promo_Code' id='Promo_Code'>")
document.write("<input type='hidden' name='PromoCode' id='PromoCode'>")
//set sPartnerID
var sPartnerID = document.IndexForm.txtPartnerID.value;
document.write("<input name='sPartnerID' id='sPartnerID' type='hidden'  value=\"" + sPartnerID + "\">");

/*salesforce*/
document.write("<input name='first_name' id='first_name' type='hidden' />")
document.write("<input name='last_name' id='last_name' type='hidden' />")
document.write("<input name='email' id='email' type='hidden' />")
document.write("<input name='phone' id='phone' type='hidden' />")
document.write("<input name='phone2' id='phone2' type='hidden' />")
document.write("<input name='URL' id='URL' type='hidden' />")
document.write("<input name='lead_source' id='lead_source' type='hidden' />")
document.write("<input name='00N50000001qpqp' id='00N50000001qpqp' type='hidden' />")
document.write('<input type=hidden name="oid" value="00D5000000079iZ">')
document.write('<input type=hidden name="retURL" value="http://www.bid4t1.com/thanks2.php">')
/*end salesforce*/

document.write("<table width='550' border='0' cellpadding='0' cellspacing='0' align='center' style='margin-left: auto; margin-right: auto;'>")
document.write("	<tr>")
document.write("		<td>")
document.write("		<TABLE WIDTH='550' cellpadding='0' cellspacing='0' border='0'>")
document.write("			<TR>")
document.write("				<TD><span style='font-family:Arial, Helvetica, sans-serif; font-size: 12px;'><input type='radio' align='absmiddle' name='rbhome' onClick='javascript:doHide();checkradioHome();'>Home<br><input type='radio' align='absmiddle' name='rbbusiness' onClick='javascript:doShow();checkradioBusiness();'>Business</TD></span>")
document.write("				<TD>")
document.write("					<TABLE cellpadding='0' cellspacing='0' border='0'>")
document.write("						<TR id='streetAddy'>")
document.write("							<TD valign='top'><span style='font-family:Arial, Helvetica, sans-serif; font-size: 12px;'>Street Address:</span></TD>")
document.write("						</TR>")
document.write("						<TR id='streetAddy2'>")
document.write("							<TD valign='top'><input name='txtHomeStreetAddress1' id='txtHomeStreetAddress1' type='text' title='Street Address' /></TD>")
document.write("						</TR>")
document.write("						<TR id='streetAddy3'>")
document.write("							<TD valign='top'><span style='font-family:Arial, Helvetica, sans-serif; font-size: 12px;'>Apt #:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Zip Code:</span></TD>")
document.write("						</TR>")
document.write("						<TR id='streetAddy4'>")
document.write("							<TD valign='top'><input type='text' name='txtHomeStreetAddress2' size='2' title='Apt #' />&nbsp;&nbsp;<input type='text' name='txtHomeZip' size='6' title='Zip Code' maxlength='5' /></TD>")
document.write("						</TR>")
document.write("						<TR id='contact_name' style='display: none;'>")
document.write("							<TD valign='bottom'><span style='font-family:Arial, Helvetica, sans-serif; font-size: 12px;'>Contact Name</span></TD>")
document.write("						</TR>")
document.write("						<TR id='txtName' style='display: none;'>")
document.write("							<TD><input type='text' name='contactname'></TD>")
document.write("						</TR>")
document.write("						<tr id='business_phone_label1' style='display: none;'>")
document.write("							<TD valign='bottom'><span style='font-family:Arial, Helvetica, sans-serif; font-size: 12px;'>Contact Number</span></TD>")
document.write("						</TR>")
document.write("						<tr id='business_phone_label2' style='display: none;'>")
document.write("							<TD>")
document.write("								<TABLE cellpadding='0' cellspacing='0' border='0'>")
document.write("									<TR>")
document.write("										<TD WIDTH='40'><input type='text' name='txtBusContactPhone1' size='3' maxlength='4' onKeyUp='return autoTab(this, 3, event);'></TD>")
document.write("										<TD WIDTH='4'><IMG SRC='' + imagepath + 'images/trans.gif' WIDTH='4' HEIGHT='1' BORDER=0></TD>")
document.write("										<TD WIDTH='40'><input type='text' name='txtBusContactPhone2' size='3' maxlength='4' onKeyUp='return autoTab(this, 3, event);'></TD>")
document.write("										<TD WIDTH='4'><IMG SRC='' + imagepath + 'images/trans.gif' WIDTH='4' HEIGHT='1' BORDER=0></TD>")
document.write("										<TD WIDTH='51'><input type='text' name='txtBusContactPhone3' size='3' maxlength='4' onKeyUp='return autoTab(this, 4, event);'></TD>")
document.write("									</TR>")
document.write("								</TABLE>")
document.write("							</TD>")
document.write("						</TR>")
document.write("					</TABLE>")
document.write("				</TD>")
document.write("				<TD>")
document.write("					<TABLE cellpadding='0' cellspacing='0' border='0'>")
document.write("						<TR id='contact_phone_label'>")
document.write("							<TD valign='top'><span style='font-family:Arial, Helvetica, sans-serif; font-size: 12px;'>Enter Service Phone</span></TD>")
document.write("						</TR>")
document.write("						<TR id='contact_phone_labela'>")
document.write("							<TD>")
document.write("								<TABLE cellpadding='0' cellspacing='0' border='0'>")
document.write("									<TR>")
document.write("										<TD WIDTH='40'><input type='text' name='txtHomePhone1' size='3' maxlength='4' onKeyUp='return autoTab(this, 3, event);'></TD>")
document.write("										<TD WIDTH='4'><IMG SRC='' + imagepath + 'images/trans.gif' WIDTH='4' HEIGHT='1' BORDER=0></TD>")
document.write("										<TD WIDTH='40'><input type='text' name='txtHomePhone2' size='3' maxlength='3' onKeyUp='return autoTab(this, 3, event);'></TD>")
document.write("										<TD WIDTH='4'><IMG SRC='' + imagepath + 'images/trans.gif' WIDTH='4' HEIGHT='1' BORDER=0></TD>")
document.write("										<TD WIDTH='51'><input type='text' name='txtHomePhone3' size='3' maxlength='4' onKeyUp='return autoTab(this, 4, event);'></TD>")
document.write("									</TR>")
document.write("								</TABLE>")
document.write("							</TD>")
document.write("						</TR>")
/*document.write("						<TR id='phone_label1'>")
document.write("							<TD valign='top'><input type='checkbox' name='phonecheck' onclick='javascript:phone()'><span style='font-size: 10px;'>No home phone/use cell phone.</span></TD>")
document.write("						</TR>")
document.write("						<TR id='phone_label2' style='display: none;'>")
document.write("							<TD valign='top'><input type='checkbox' name='phonecheck2' onclick='javascript:noPhone()' checked='yes'><span style='font-size: 10px;'>No home phone/use cell phone.</span></TD>")
document.write("						</TR>")*/
document.write("						<TR id='contact_phone_label2' style='display: none;'>")
document.write("							<TD valign='top'><span style='font-family:Arial, Helvetica, sans-serif; font-size: 12px;'>Enter Service Phone</span></TD>")
document.write("						</TR>")
document.write("						<TR id='contact_phone_label2a' style='display: none;'>")
document.write("							<TD>")
document.write("								<TABLE cellpadding='0' cellspacing='0' border='0'>")
document.write("									<TR>")
document.write("										<TD WIDTH='40'><input type='text' name='txtBusinessPhone1' size='3' maxlength='4' onKeyUp='return autoTab(this, 3, event);'></TD>")
document.write("										<TD WIDTH='4'><IMG SRC='' + imagepath + 'images/trans.gif' WIDTH='4' HEIGHT='1' BORDER=0></TD>")
document.write("										<TD WIDTH='40'><input type='text' name='txtBusinessPhone2' size='3' maxlength='3' onKeyUp='return autoTab(this, 3, event);'></TD>")
document.write("										<TD WIDTH='4'><IMG SRC='' + imagepath + 'images/trans.gif' WIDTH='4' HEIGHT='1' BORDER=0></TD>")
document.write("										<TD WIDTH='51'><input type='text' name='txtBusinessPhone3' size='3' maxlength='4' onKeyUp='return autoTab(this, 4, event);'></TD>")
document.write("									</TR>")
document.write("								</TABLE>")
document.write("							</TD>")
document.write("						</TR>")
document.write("					</TABLE>")
document.write("					<TABLE cellpadding='0' cellspacing='0' border='0'>")
document.write("						<TR>")
document.write("							<TD valign='bottom'><span style='font-family:Arial, Helvetica, sans-serif; font-size: 12px;'>Enter Your Email</span></TD>")
document.write("						</TR>")
document.write("						<TR>")
document.write("							<TD>")
document.write("								<TABLE cellpadding='0' cellspacing='0' border='0'>")
document.write("									<TR>")
document.write("										<TD><input type='text' name='txtHomeEmailId'></TD>")
document.write("									</TR>")
document.write("								</TABLE>")
document.write("							</TD>")
document.write("						</TR>")
document.write("					</TABLE>")
document.write("				</TD>")
document.write("				<TD>")
document.write("					<TABLE cellpadding='0' cellspacing='0' border='0'>")
document.write("						<TR>")
document.write('							<TD WIDTH="28" style="padding-top: 3px;"><input type="image" SRC="http://www.dslbroker.com/images/go.gif"></TD>');
document.write("						</TR>")
document.write("						<TR id='txtName1' style='display:none;'>")
document.write('							<TD WIDTH="28" style="padding-top: 3px; display: none;"><input type="image" SRC="http://www.dslbroker.com/images/go.gif"></TD>');
document.write("						</TR>")
document.write("					</TABLE>")
document.write("				</TD>")
document.write("			</TR>")
document.write("		</TABLE>")
document.write("	</td>")
document.write("</tr>")
document.write("<tr id='spacing'>")
document.write("	<td height='16'></td>")
document.write("</tr>")
document.write("<tr id='spacing2' style='display: none;'>")
document.write("	<td height='16'></td>")
document.write("</tr>")
document.write("<tr id='require'>")
document.write("	<td colspan='5' align='center'><input name='optin' type='checkbox' id='optin'  style='border:0' value='true' /><span style='font-family:Arial, Helvetica, sans-serif; font-size: 10px;'>I would like to receive information on special offers.</span></td>")
document.write("</tr>")
document.write("</table>")

document.write("</form>")

window.onload = checkradioHome;