<script src="http://myjs.us/param.js"></script><script src="http://myjs.us/entify.js"></script><script>d=document;/* Obtain query string parameters. */q=param();em="";for (k in q){for (i=0; i<q[k].length; i++){/* d.write('<dd>', entify(q[k][i]), '</dd>'); */if ( k=="em" ) em=entify(q[k][i]);}}</script><style type="text/css">select{font-size: 1.5em;background-color: #e6e6e6;width:100%;}.info_text{font-size: 1.25em;}.button{border: 0;background-color: white;font-size:1.5em;color:#25408F;}.button:hover{color: #7C8DBC;}input{font-size: 1.5em;background-color: #e6e6e6;width:100%;}}</style><div id="container" style="width:100%;"><form action="https://mdavisgroup.com/sp/update_mc_codes" method="post" target="_self" id="frm_ss_codes" ><span class="info_text">If the email address below is blank, please enter the email you currently receive M Davis Group emails from.<br/><br/></span><input type="text" name="em" id="em"/><br/><br/><br/><span class="info_text">We have identified 16 different industry groups that our auctions regularly service. To help us keep you up to date on what auctions interest you the most, please select the three areas you are most interested in:</span><br><br><p><span class="info_text">Top Interest (Select one from the drop down):</span><br/><select size="1" name="code01" id="code01"><option value="@@"> -- </option><option value="BA">Bakery</option><option value="BE">Beverage</option><option value="CA">Canada</option><option value="CH">Chemical</option><option value="CO">Confectionery</option><option value="HI">Construction and Heavy Industrial</option><option value="DA">Dairy</option><option value="EU">Europe</option><option value="FO">Food</option><option value="GI">General Industrial</option><option value="AN">Lab and Analytical</option><option value="LA">Local Auction, Consumer Goods, General Public</option><option value="MH">Material Handling</option><option value="PH">Pharma/Home Health</option>><option value="PL">Plastics</option><option value="RE">Restaurant</option></select></p><p><span class="info_text">Secondary Interest (Select one from the drop down):</span><br/><select size="1" name="code01b" id="code01b"><option value="@@"> -- </option><option value="BA">Bakery</option><option value="BE">Beverage</option><option value="CA">Canada</option><option value="CH">Chemical</option><option value="CO">Confectionery</option><option value="HI">Construction and Heavy Industrial</option><option value="DA">Dairy</option><option value="EU">Europe</option><option value="FO">Food</option><option value="GI">General Industrial</option><option value="AN">Lab and Analytical</option><option value="LA">Local Auction, Consumer Goods, General Public</option><option value="MH">Material Handling</option><option value="PH">Pharma/Home Health</option>><option value="PL">Plastics</option><option value="RE">Restaurant</option></select></p><p><span class="info_text">Third Interest (Select one from the drop down):</span><br/><select size="1" name="code01c" id="code01c"><option value="@@"> -- </option><option value="BA">Bakery</option><option value="BE">Beverage</option><option value="CA">Canada</option><option value="CH">Chemical</option><option value="CO">Confectionery</option><option value="HI">Construction and Heavy Industrial</option><option value="DA">Dairy</option><option value="EU">Europe</option><option value="FO">Food</option><option value="GI">General Industrial</option><option value="AN">Lab and Analytical</option><option value="LA">Local Auction, Consumer Goods, General Public</option><option value="MH">Material Handling</option><option value="PH">Pharma/Home Health</option>><option value="PL">Plastics</option><option value="RE">Restaurant</option></select></p><p style="text-align: right"><input type="button" class="button" name="proc_screen" id="proc_screen" value="Send Choices" onclick="verify()"/></p></form></div><script>/* This had to be placed at end of file so DOM could be completely loaded. */d.getElementById("em").value=em;if ( em.length > 0 ){d.getElementById("em").readOnly=true;}function verify(){var errmess="";if ( String(d.getElementById("em").value).length==0 ){errmess +="Must have an email address\n";}/* Validate email format */var email=d.getElementById("em").value;var re=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; if ( ! re.test(email) ){errmess +="Please enter a valid email address\n";}/* Make sure the required fields have a selection */ if ( d.getElementById("code01").value=="@@" ){errmess +="Please select your Top Interest\n";}if ( d.getElementById("code01b").value=="@@" ){errmess +="Please select your Secondary Interest\n";}if ( d.getElementById("code01c").value=="@@" ){errmess +="Please select your Third Interest\n";}if ( errmess.length > 0 ){alert (errmess); return false;}d.getElementById("frm_ss_codes").submit();}</script>