function email_signup(){
//open table background color controlled by style .EmailSignup
document.write("<table border=0  width=154 cellspacing=0 cellpadding=2>");
//text above form field 
document.write("<tr><td align=\"left\" class=\"emlTxt\" colspan=\"2\">Join the Pack <br>receive special benefits</td></tr><tr valign=\"bottom\">");

if (user_email == "") {
document.write("<form name=\"surveynew\" method=\"POST\" action=\"shopper_new.asp\">");
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("<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("<td align=right><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\">");

/* drawinput in uu_shop.js if need to modify 
* vars in order are:  type,name,value,size (or width) ,target,iclass (set class from style sheet * here),selected) here created style class emlForm MUST BE IN QUOTES */
document.write("<input type=\"TEXT\" name=\"shopper_email\" value=\"Enter your email\" size=\"14\" onFocus=\"if (focname == 0) { this.value=''; focname=1; }\" onBlur=\"if (!this.value) { this.value='Enter your email'; focname=0; }\">");
//drawinput("TEXT","shopper_email","",14,1,"emlFORM",null);
document.write("</td><td>");
document.write("<input type=image src=\"assets/images/btn_go.gif\" NAME=email align=\"middle\" alt=\"Join the Pack\" style=\"padding-bottom:2px;\">");
//close table
document.write("</td></form></tr></table>");
}
