var ver=document.location;var sitio=document.domain;var tipwidth='150px';var disappeardelay=250;var vertical_offset="-10px";var horizontal_offset="15px";var ie4=document.all;var ns6=document.getElementById&&!document.all;
if (ie4||ns6){document.write('<div id="adSon-ADS" style="visibility:hidden;width:'+tipwidth+';" ></div>')}
function getposOffset(what, offsettype){var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;var parentEl=what.offsetParent;while(parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}return totaloffset;}
function showhide(obj,e,visible,hidden,tipwidth){if(ie4||ns6)dropmenuobj.style.left=dropmenuobj.style.top=-500;if(tipwidth!=""){dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=tipwidth}if(e.type=="click"&&obj.visibility==hidden||e.type=="mouseover")obj.visibility=visible; else if(e.type=="click")obj.visibility=hidden}
function iecompattest(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}
function clearbrowseredge(obj,whichedge){var edgeoffset=(whichedge=="rightedge")? parseInt(horizontal_offset)*-1 : parseInt(vertical_offset)*-1
if(whichedge=="rightedge"){var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth; if(windowedge-dropmenuobj.x<dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth}else{
var windowedge=ie4&&!window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18; dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if(windowedge-dropmenuobj.y<dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight}return edgeoffset}
function fixedtooltip(menucontents,obj,e,tipwidth){if(window.event) event.cancelBubble=true;else if(e.stopPropagation)e.stopPropagation();clearhidetip();dropmenuobj=document.getElementById? document.getElementById("adSon-ADS") : adSon-ADS
dropmenuobj.innerHTML=menucontents; if(ie4||ns6){showhide(dropmenuobj.style,e,"visible","hidden",tipwidth);dropmenuobj.x=getposOffset(obj,"left");dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px";dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"}}
function hidetip(e){if(typeof dropmenuobj!="undefined"){if(ie4||ns6)dropmenuobj.style.visibility="hidden"}}function delayhidetip(){if(ie4||ns6)delayhide=setTimeout("hidetip()",disappeardelay)}
function clearhidetip(){if(typeof delayhide!="undefined")clearTimeout(delayhide)}function D(b,c,d,e){alto=100;if(b<120){alto=200;}if(b>=120&&b<170){alto=180;}if(b>=170&&b<200){alto=125;}if(b>=200&&b<350){alto=103;}if(b>=350&&b<500){alto=80;}if(b>=500){
alto=50;}div1=b+2;
document.write('<style type="text/css">@import url("http://ads.sonofonica.com/css/sono-ads.css");</style>');
document.write('<div id="macro" style="width:'+div1+'px">');	
document.write('<iframe src="http://ads.sonofonica.com/muestras/sonad-basico.php?aliado='+c+'&site='+d+'&origen='+e+'" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" width="'+b+'" height="'+alto+'" class="data_Nano"></iframe>');
document.write('<div class="foot_Nano">');
document.write('<a class="linkNano" target="_blank" href="http://ads.sonofonica.com" onMouseover="fixedtooltip(\'<img src=http://ads.sonofonica.com/img/logo_sonads_promos.gif><br />Publique su MiniAnuncio con foto totalmente <b>Gratis</b>!\', this, event, \'250px\')" onMouseout="delayhidetip()"><img src="http://ads.sonofonica.com/sonads_ico_32.png" width="12" border="0" /></a>&nbsp;&nbsp;</div>');
document.write('</div>');}D(ancho,aliado,ver,sitio);