document.write('<div class="mnpsearch" style="width:300px;height:250px;background:url(http://www.mynewplace.com/content/dyn/freetools/images/newplace/300250.gif) #fff no-repeat;color:#000;font-family:Arial,Helvetica,sans-serif"><form action="http://www.mynewplace.com/search" style="padding:0;margin:0;" target="_blank"><div style="padding-top:10px;text-align:left;"><input name="q" style="margin:170px 20px 0 12px;width:275px;font-size:10px;" value="Enter Zip Code or City, State" onfocus="if(!this.f)this.value=\'\';this.f=1;"/><input name="CID" value="AFL-wrarlty-serp-wdt" type="hidden" style="display:none;"/><button type="submit" style="border:1px solid white;margin:10px 0 0 55px;~margin-left:17px;padding:2px 6px;background:white url(http://www.mynewplace.com/images/cons/button.gif) repeat-x 0 -573px;font-weight:bold;color:white;"> View all Properties Now</button></div></form></div>');(function(){var mnplink=document.getElementById("mnplink");if(mnplink)mnplink.style.display="none";var s=document.createElement("link");s.rel="stylesheet";s.href="http://www.mynewplace.com/content-direct/dyn/freetools/style.css";var hd=document.getElementsByTagName("head")[0];if(hd){hd.appendChild(s);}}());function mnp_form_submit(frm){var url=frm.action,isFirst=1,els=frm.elements,q=els["q"];url+=url.indexOf("?")>0?"":"?";if(!q.f)q.value="";q.f=1;for(var i=0;i<els.length;i++){var el=els[i],tn=el.tagName.toLowerCase(),val="";if(tn=="input"){if(el.type && el.type=="radio"){if(el.checked)val=el.value;}else{val=el.value;}}else if(tn=="select"){val=el.options[el.selectedIndex].value;}if(val){if(!isFirst)url+="&";url+=el.name+"="+val;isFirst=0;}}window.open(url);}
