
function emailSignUp(){
//document.write("<!-- *** start general search TABLE  --><table cellpadding=0 cellspacing=0 border=\"0\">");
if (user_email == "") {
	document.write("<form name=\"surveynew\" method=\"POST\" action=\"shopper_new.asp\" style=\"margin:0;\">");
	//document.write("<tr><td align=\"right\">");
	document.write("<input type=\"hidden\" name=shopper_country value=\"USA\">");
	document.write("<input type=\"hidden\" name=\"Validate\" value=\"1\">");
} else {
	var AUTO_email = user_email.substring(0,user_email.lastIndexOf("_"));
	if (AUTO_email=="AUTO"){
		document.write("<form name=\"surveynew\" method=\"POST\" action=\"shopper_new.asp\">");
		//document.write("<tr><td align=\"right\">");
		document.write("<input type=\"hidden\" name=shopper_country value=\"USA\">");
		document.write("<input type=\"hidden\" name=\"Validate\" value=\"1\">");
	}else{
		document.write("<form name=\"surveynew\" method=\"POST\" action=\"shopper_unsubscribe.asp\">");
		//document.write("<tr><td align=\"right\">");
	}
}
document.write("<input type=\"hidden\" name=target value=\"text_4.asp\">");
document.write("<input type=\"hidden\" name=s_id value=\"0\">");
document.write("<input type=\"hidden\" name=\"shopper_pref_1\" value=\"YES\">");

// vars in order are: 
// type,name,value,size (or width) ,target,iclass (set class from style sheet * here),selected) 
//drawinput("TEXT","shopper_email","email sign up",13,1,"searchBox",null);
document.write("<input type=text class=searchBox name=\"shopper_email\" value=\"Enter email\" size=\"10,1\" onFocus=\"if (focname == 0) { this.value=''; focname=1; }\" onBlur=\"if (!this.value) { this.value='Enter email'; focname=0; }\"><br>");
//document.write("</td><td align=\"center\">");
document.write("<input type=image src=\"assets/images/callout_dogogram_button.gif\" NAME=email></td>");
//document.write("</tr>");
document.write("</form>");
//document.write("</table>");
}

