//contactus.js - contains footer icons and copyright
function contactus(intereststring)
{
	var interestArray = intereststring.split(",");

	document.write('<form action="https://sealtech.infusionsoft.com/AddForms/processFormSecure.jsp" method=\'POST\'>');
	document.write('<input value="44409ec7f108cad535c24389cb17f6cd" type="hidden" id="infusion_xid" name="infusion_xid" />');
	document.write('<input value="CustomFormWeb" type="hidden" id="infusion_type" name="infusion_type" />');
	document.write('<input value="Contact Us" type="hidden" id="infusion_name" name="infusion_name" />');
	document.write('<table cellspacing="3px" cellpadding="0" border="0">');
	document.write('<tr>');
	document.write('<td>Interest: </td>');
	document.write('<td colspan="5">');
	document.write('<select class="inf-select default-input" id="Contact0_AreaofInterest" name="Contact0_AreaofInterest">');
	document.write('<option value=""> Select an area of interest </option>');
								
 	//for each array element, add it as an option to the
	for(var i in interestArray)
 	{
  	document.write('<option value="'+interestArray[i]+'">'+interestArray[i]+'</option>');
 	}						
								
//								<option value="Ag-Tite">Ag-Tite</option>
//								<option value="Aire Barrier">Aire Barrier</option>
//								<option value="Bio Sealants">Bio Sealants</option>
//								<option value="Equine Seal">Equine Seal</option>
//								<option value="Trailer Seal">Trailer Seal</option>
//								<option value="Kiln Seal">Kiln Seal</option>
//								<option value="Foam Pod">Foam Pod</option>
//								<option value="Power Pod">Power Pod</option>
//								<option value="Spray Pod">Spray Pod</option>
		document.write('</select>');
		document.write('</td>');
		document.write('</tr>');
		document.write('<tr>');
		document.write('<td>First Name *</td>');
		document.write('<td><input type="text" size="15" id="Contact0FirstName" name="Contact0FirstName" class="default-input" /></td>');
		document.write('<td>Last Name *</td>');
		document.write('<td><input type="text" size="15" id="Contact0LastName" name="Contact0LastName" class="default-input" /></td>');
		document.write('<td>Email *</td>');
		document.write('<td><input type="text" size="20" id="Contact0Email" name="Contact0Email" class="default-input" /></td>');
		document.write('</tr>');					
		document.write('<tr>');
		document.write('<td>Address</td>');
		document.write('<td colspan="5"><input type="text" size="15" id="Contact0StreetAddress1" name="Contact0StreetAddress1" class="default-input" /></td>');
		document.write('<td><input type="hidden" id="Contact0StreetAddress2" name="Contact0StreetAddress2" class="default-input" /></td>');
		document.write('</tr>');
		document.write('<tr>');
		document.write('<td>City</td>');
		document.write('<td><input type="text" size="15" id="Contact0City" name="Contact0City" class="default-input" /></td>');
		document.write('<td align="right">State </td>');
		document.write('<td><input type="text" size="8" id="Contact0State" name="Contact0State" class="default-input" /></td>');
		document.write('<td align="right">Zip </td>');
		document.write('<td><input type="text" size="15" id="Contact0PostalCode" name="Contact0PostalCode" class="default-input" /></td>');
		document.write('</tr>');
		document.write('<tr>');
		document.write('<td>Phone</td>');
		document.write('<td colspan="5"><input type="text" size="15" id="Contact0Phone1" name="Contact0Phone1" class="default-input" /></td>');
		document.write('</tr>');
		document.write('<tr>');
		document.write('<td colspan="6"><input type="submit" value="Submit" id="Submit" name="Submit" class="button np inf-button" /></td>');
		document.write('</tr>');
 		document.write('</table>');
		document.write('</form>');
}






