// Letter text. Doublequotes must be escaped.
var letterTxt = "Dear Corporate and Government Leaders, <br><br>Neither government nor industry is protecting Americans from the risks posed to human health and the environment by genetically engineered (GE) foods. The Food and Drug Administration's \"new\" policy on GE foods (proposed January 18, 2001) continues to let the biotech industry regulate itself; it fails to require the long-term, pre-market safety testing demanded by independent experts. The \"voluntary labeling\" guidelines are a wholly inadequate response to the overwhelming public support for mandatory labeling of genetically engineered foods. Therefore, I urge you to keep all genetically engineered ingredients and crops off the market unless: <br><br>1) Independent safety testing demonstrates they have no harmful effects on human health or the environment, <br><br>2) They are labeled to ensure the consumer's right-to-know, and <br><br>3) The biotechnology corporations that manufacture them are held accountable for any harms they may cause. <br><br><br>Sincerely<br><br>(Your name will be included here)";
// Confirmation Message text. Doublequotes must be escaped.
var confirmMsg = "Your postcard has been sent.<br>Thanks for taking action to protect your health and our food!";


// common form top
document.write('<form action="http://www.gefoodalert.org/ext/procExtAction.cfm" method="post" name="ContactForm">');
document.write('<input type="hidden" name="k" size="3">');
document.write('<input type="hidden" name="hostDom" size="3" value="' + document.location.host + '">');
document.write('<table border="0" cellpadding="2" cellspacing="8">');
if(  ( (!qStr) || (qStr.indexOf('gealertk=') == -1) )  &&  (!read_cookie('gealertk', 0))  )
{
	//contact part of form. Show if no query string
	document.write('<tr><td><font face="Arial,sans-serif" size="2">First Name</font><br><input type="text" name="fname" value="" size="29" maxlength="255"></td>');
	document.write('<td><font face="Arial,sans-serif" size="2">Last Name</font><br><input type="text" name="lname" value="" size="29" maxlength="255"></td></tr>');
	document.write('<tr><td colspan="2"><font face="Arial,sans-serif" size="2">E-mail Address</font><br><input type="text" name="emailAdd" value="" size="40" maxlength="255"></td></tr>');
	document.write('<tr><td><font face="Arial,sans-serif" size="2">Street Address</font><br><input type="text" name="streetAdd" value="" size="29" maxlength="255"></td>');
	document.write('<td><font face="Arial,sans-serif" size="2">City</font><br><input type="text" name="city" value="" size="29" maxlength="255"></td></tr>');
	document.write('<tr><td><font face="Arial,sans-serif" size="2">State</font><br><SELECT NAME="state" SIZE=1><option value="Unspecified"></option><OPTION>Alabama</OPTION><OPTION>Alaska</OPTION><OPTION>Arizona</OPTION><OPTION>Arkansas</OPTION><OPTION>California</OPTION><OPTION>Colorado</OPTION><OPTION>Connecticut</OPTION><OPTION>Delaware</OPTION><OPTION>District of Columbia</OPTION><OPTION>Florida</OPTION><OPTION>Georgia</OPTION><OPTION>Hawaii</OPTION><OPTION>Idaho</OPTION><OPTION>Illinois</OPTION><OPTION>Indiana</OPTION><OPTION>Iowa</OPTION><OPTION>Kansas</OPTION><OPTION>Kentucky</OPTION><OPTION>Louisiana</OPTION><OPTION>Maine</OPTION><OPTION>Maryland</OPTION><OPTION>Massachusetts</OPTION><OPTION>Michigan</OPTION><OPTION>Minnesota</OPTION><OPTION>Mississippi</OPTION><OPTION>Missouri</OPTION><OPTION>Montana</OPTION><OPTION>Nebraska</OPTION><OPTION>Nevada</OPTION><OPTION>New Hampshire</OPTION><OPTION>New Jersey</OPTION><OPTION>New Mexico</OPTION><OPTION>New York</OPTION><OPTION>North Carolina</OPTION><OPTION>North Dakota</OPTION><OPTION>Ohio</OPTION><OPTION>Oklahoma</OPTION><OPTION>Oregon</OPTION><OPTION>Pennsylvania</OPTION><OPTION>Rhode Island</OPTION><OPTION>South Carolina</OPTION><OPTION>South Dakota</OPTION><OPTION>Tennessee</OPTION><OPTION>Texas</OPTION><OPTION>Utah</OPTION><OPTION>Vermont</OPTION><OPTION>Virginia</OPTION><OPTION>Washington</OPTION><OPTION>West Virginia</OPTION><OPTION>Wisconsin</OPTION><OPTION>Wyoming</OPTION></SELECT></td>');
	document.write('<td><font face="Arial,sans-serif" size="2">Postal Code</font><br><input type="text" name="zip" value="" size="15" maxlength="255"></td></tr>');
}
// action specific part of form. Show if query string exists and does not contain "s1".
if(  (qStr.indexOf('s1') == -1)  &&  (document.cookie.indexOf('s1') == -1)  )
{
	document.write('<tr><td colspan="2" align="center"><br><table border="1" bgcolor="#ffffff" cellspacing="0" cellpadding="8" bordercolor="#000000" width="400"><tr><td><font face="monospace,sans-serif" size="2">' + letterTxt + '</font></td></tr></table><br></td></tr>');
	document.write('<tr><td colspan="2"><font face="Arial,sans-serif" size="2">Additional Personal Message</font><br><textarea name="addPersonalMsg" cols="50" rows="5" wrap="physical"></textarea></td></tr>');
	document.write('<tr><td colspan="2"><font face="Arial,sans-serif" size="2">How did you hear about us?</font> ');
	document.write('<select name="howHearAboutUs" size="1">');
	document.write('<option value="unspecified">Select One</option>');
	document.write('<option value="search engine">search engine</option>');
	document.write('<option value="email alert">email alert</option>');
	document.write('<option value="friends">friends</option>');
	document.write('<option value="radio">radio</option>');
	document.write('<option value="television">television</option>');
	document.write('<option value="newspaper">newspaper</option>');
	document.write('<option value="link">link</option>');
	document.write('<option value="other">other</option>');
	document.write('</select></td></tr>');
	document.write('<tr><td colspan="2" align="center"><br><br><input type="submit" name="submit" value="Send My Postcard!" onclick="return(valFrmFlds());"></td></tr>');
}
else
{
	// Show thank you if nothing else to be shown
	document.write('<font face="Arial,sans-serif" size="2">' + confirmMsg + '</font>');
}
// common form bottom
document.write('</table>');
document.write('</form>');

	
	
