var LBnavegacion = new Array( new Array("Inicio Bienes Raíces","http://www.esmas.com/negocios/bienesraices/",""), new Array("Comprar","http://www.esmas.com/negocios/bienesraices/comprar/302456.html",""), new Array("Vender","http://www.esmas.com/negocios/bienesraices/vender/302473.html",""), new Array("Rentar","http://www.esmas.com/negocios/bienesraices/rentar/302452.html",""), new Array("Financiamiento","http://www.esmas.com/negocios/bienesraices/financiamiento/302437.html",""), new Array("Fianzas","http://www.esmas.com/negocios/bienesraices/comprar/302442.html",""), new Array("Mudanza","http://www.esmas.com/negocios/bienesraices/tips/315186.html","") ); var Compras = new Array( new Array("Compras","","#"), new Array("'El negocio de bienes raíces en México'","http://www.esmascompras.com/pesquisa/descricao.asp?id_produto=1227899",""), new Array("Este libro ofrece un interesante análisis sobre el panorama inmobiliario actual","",""), new Array("$ 310.99 m.n.","","") ); function writeLBar(arreglo, tipo, target) { if(tipo == 1){LBestiloT = "navTit";LBestiloO = "navOpc";} else if(tipo == 2){LBestiloT = "navTitB";LBestiloO = "navOpcD";} else if(tipo == 0){LBestiloT = "navTitB";LBestiloO = "navOpcD";} else if(tipo == 3){LBestiloT = "navTitB";LBestiloO = "navOpcB";} else {LBestiloT = "navTitB";LBestiloO = "navOpcC";} out = '' + '<table width="125" cellpadding="0" cellspacing="0">'; for(i=0;i<arreglo.length;i++){ if(arreglo[i][2] != ""){ out += ' <tr>' + ' <td class="'+LBestiloT+'" colspan="2">'+arreglo[i][0]+'</td>' + ' </tr>'; } else { if (arreglo[i][0].indexOf("!")>=0){ arreglo[i][0]=arreglo[i][0].substring(1,arreglo[i][0].length); arreglo[i][0]+='&nbsp;<img src="http://i.esmas.com/img/univ/portal/nuevo_2.gif" width="26" height="8" border="0">'; } out += ' <tr>' + ' <td class="'+LBestiloO+'"'; (tipo > 2)?out += 'valign="top"><span style="font-size:9px">&#149;</span></td><td class="'+LBestiloO+'" width="95%">':out+='>'; if (tipo==0){ out += '<a href="'+arreglo[i][1]+'"'+target+'><span style="font-weight:bold">'+ arreglo[i][0]+'</span><br><span class="s3px"><br></span>'+arreglo[i+1][0]+'</a><br><span class="s3px"><br></span><span style="color:#BB031D;font-weight:bold">'+arreglo[i+2][0]+'</span><br><span class="s3px"><br></span></td>'; i += 2; } else{ out += '<a href="'+arreglo[i][1]+'"'+target+'>'+arreglo[i][0]+'</a></td>'; } out +=' </tr>'; if(i<arreglo.length-1){ if((tipo<3)&&(arreglo[i+1][2]=="")){ out += ' <tr>' + ' <td width="1" colspan="2" background="http://i.esmas.com/img/univ/nav_dots.gif"><img src="http://i.esmas.com/img/spacer.gif" width="120" height="1"></td>' + ' </tr>'; } } else { out += ' <tr>' + ' <td width="5" colspan="2"><img src="http://i.esmas.com/img/spacer.gif" width="120" height="5"></td>' + ' </tr>'; } } } out += '</table>'; document.write(out); } function bajaS(cual){ (document.all)?menu = eval('document.all.menu_ie'+cual):menu = eval(document.getElementById('menu_ie'+cual)); menu.style.visibility='hidden'; } var arMenu30 = new Array("130"); var menu30up = false; function busca(){ if (document.busca_prin.Value.value.length < 3) { alert("Debe introducir una cadena de al menos 3 caracteres"); return; } if (document.busca_prin.Category2[1].checked == true) { document.busca_prin.XSLfile.value="ringtone.xsl"; document.busca_prin.RequestedAttrs.value="RingtoneSMS_ringtonesms_web_longname.code,RingtoneSMS_ringtonesms_web_author.code"; document.busca_prin.nextPage.value="tonos.html"; document.busca_prin.Category.value="0"; document.busca_prin.submit(); } else{ document.busca_prin.XSLfile.value="poly.xsl"; document.busca_prin.RequestedAttrs.value="OTAobject_otaother_namepreview.code,OTAobject_otaother_author.code"; document.busca_prin.nextPage.value="poly.html"; document.busca_prin.Category.value="1"; document.busca_prin.submit(); } } function writeLeftBar(){ var arriba = "112"; if(isLetter){arriba = "207";} var opr = '<div id="menu_ie30" style="position:absolute;top:'+arriba+'px;left:130px;background:url(http://i.esmas.com/img/univ/portal/back_buscadortonos.gif);font-size:9px;font-weight:bold;width:150px;height:91px;padding:3px 0px 3px 0px;margin-bottom:5px;visibility:hidden;background-repeat:no-repeat;" onMoucseOut="bajaS(30);" align="left">'+ '<form name="busca_prin" action="http://www.buongiorno.com/mex/searcher/searcherV2.html" method="GET" target="_top">'+ '<input type="hidden" name="CustomerID" value="esmas_new"><input type="hidden" name="sizePage" value="20"><input type="hidden" name="Country" value="mex">'+ '<input type="hidden" name="XSLfile" value=""><input type="hidden" name="nextPage" value=""><input type="hidden" name="RequestedAttrs" value=""><input type="hidden" name="Category" value="">'+ '<div><img src="http://i.esmas.com/img/univ/portal/top_buscatono.gif" width="150" height="2"></div><div><input type="Radio" name="Category2" checked value="0">POLI <input type="Radio" name="Category2" value="1">MONO</div>'+ '<div style="background-color:#2C85DA;padding:5px 0px 5px 5px;margin-bottom:5px;width:150px;"><input type="Text" name="Value" style="font-size:9px;" size="20"></div>'+ '<select name="Attribute" style="font-size:9px;margin-left:5px;"><option value="CR_PRW_TITLE">por título<option value="CR_PRW_AUTHOR">por autor</select><a href="#" onClick="javascript:busca();"><img style="margin:0px 0px 0px 5px;" src="http://www.esmas.com/img/univ/head_bt_buscar.gif" width="44" height="16" alt="BUSCAR!" border="0"></a>'+ '</form></div>'; document.write(opr); document.write('<a href="javascript:void(null);" onclick="if(menu30up){bajaS(30);menu30up=false;}else{subir(30);menu30up=true}"><img src="http://i.esmas.com/img/univ/portal/bt_buscatono.gif" width="125" height="22" border="0" style="margin-bottom:5px;"></a>'); writeLBar(LBnavegacion,1,""); writeLBar(Compras,0," target='_blank'"); }
