";
if (ad.url) {
script_str += ad.url;
} else {
script_str += "http://" + ad.domain + "/adpolestar/door/;ap=" + ad.id + ";ct=js;pu=soufun;/?";
}
script_str += "'>";
if(ad.occupied) {
onload_str += "var f=window.parent.document.getElementById('"+ad.ifid+"');if(f){if(!document.body || document.body.innerHTML.length <= "+script_str.length+") f.style.display='none';}";
} else {
onload_str += "var d=window.parent.document;var f=d.getElementById('"+ad.ifid+"');if(!f)return;if(document.body && document.body.innerHTML.length > "+script_str.length+"){var nodes=document.body.childNodes;if(nodes[1] && nodes[1].style.width.length>0 && nodes[1].style.height.length>0){f.style.width=nodes[1].style.width;f.style.height=nodes[1].style.height;f.style.display='block';return;}if(nodes[1] && 'a'==nodes[1].tagName.toLowerCase()){var nl=nodes[1].childNodes;if(nl[0] && nl[0].width>0 && nl[0].height>0){f.style.width=nl[0].width+'px';f.style.height=nl[0].height+'px';f.style.display='block';return;}}var s=document.body.innerHTML;var p=f.parentNode;var c=d.createElement('div');c.style.border='none';c.style.margin='0px';c.style.padding='0px';c.style.cssFloat='left';c.style.styleFloat='left';c.innerHTML=s.replace(\/