<!-- Web Generada con iCatalog Inmobiliarias http://www.innova22.com/icatalog. (Licencia C43C - 2267 - 94C)--> 



function replace(originalString,searchText,replaceText) { 
var strLength = originalString.length; 
var txtLength = searchText.length; 
if ((strLength == 0) || (txtLength == 0)) 
{ return originalString; } 
var i = originalString.indexOf(searchText); 
if ((!i) && (searchText != originalString.substring(0,txtLength))) 
{ return originalString; } 
if (i == -1) 
{ return originalString; } 
var newstr = originalString.substring(0,i) + replaceText; 
if (i+txtLength < strLength) 
{ newstr += replace(originalString.substring(i+txtLength,strLength),searchText,replaceText); } 
return newstr;} 


function currency(anynum) {
   //-- Returns passed number as string in $xxx,xxx.xx format.
   anynum=eval(anynum)
   
   workNum=Math.abs((Math.round(anynum*100)/100));
   workStr=replace(""+workNum,".",",")
   if (workStr.indexOf(",")==-1){workStr+=",00"}
   dStr=workStr.substr(0,workStr.indexOf(","));dNum=dStr-0
   pStr=workStr.substr(workStr.indexOf(","))
   while (pStr.length<3){pStr+="0"}

   //--- Adds comma in thousands place.
   if (dNum>=1000) {
      dLen=dStr.length
      dStr=parseInt(""+(dNum/1000))+"."+dStr.substring(dLen-3,dLen)
   }

   //-- Adds comma in millions place.
   if (dNum>=1000000) {
      dLen=dStr.length
      dStr=parseInt(""+(dNum/1000000))+"."+dStr.substring(dLen-7,dLen)
   }
   retval = dStr + pStr 
   //-- Put numbers in parentheses if negative.
   if (anynum<0) {retval="- "+retval}
   return retval
}

function main(){
CodReg = new Array('vivienda-reformada-planta-baja-10136','chalet-seminuevo-10123','viviendas-adosadas-con-garaje-10029','parte-de-casa-10138','casa-para-reforma-o-derribo-10137','parte-de-casa-en-buen-estado-10135','casa-para-derribo-10134','piso-3-amueblado-10120','piso-3-2-mano-10088','piso-2-2-mano-centrico-10110','duplex-amueblado-con-4-dormitorios-10121','chalet-seminuevo-con-piscina-10116','vivienda-de-2-plantas-y-garaje-10132','plaza-de-garaje-con-trastero-10133','residencial-noliva-10130','duplex-con-garaje-y-trastero-10131','corral-con-cocina-rustica-y-aseo-10129','casa-2-mano-2-plantas-10079','casa-nueva-construccion-planta-baja-10102','alquiler-de-local-328-m2-10128','2-parcelas-rusticas-3-has-10127','amplia-casa-planta-baja-con-piscina-10124','finca-1-5-has-matorral-cercano-al-rio-10125','casa-antigua-a-2-calles-10126','promocion-de-parcelas-urbanizadas-10122','chalet-planta-baja-con-piscina-10098','casa-en-buen-estado-10117','apartamento-en-torrevieja-10109','apartamento-2-piso-en-marina-d-or-10025','3-chalets-en-construccion-10084','parte-de-casa-centrica-10115','piso-1-nuevo-centrico-10112','casa-nueva-2-plantas-10111','chalet-en-buen-estado-en-mora-10101','chalet-en-buen-estado-en-mora-10100','amplia-casa-en-buen-estado-10092','pisos-y-apartamentos-10082','casa-antigua-2-mano-10080','parte-de-casa-10077','casa-2-mano-10078','piso-3-en-buen-estado-10119','piso-2-en-muy-buen-estado-10072','piso-1-2-mano-10087','piso-con-garaje-10061','chalet-adosado-seminuevo-de-2-plantas-10059','casa-de-vecinos-10055','vivienda-de-dos-plantas-10034','chalet-nuevo-planta-baja-10026','piso-1-zona-cornisa-toledo-10018','chalet-planta-baja-10067','chalet-de-tres-plantas-10051','casa-con-nave-habitable-vivienda-1-planta-10058','vivienda-con-piscina-10008','terreno-urbanizable-terreno-rustico-m2-10097','parcelas-urbanizadas-10086','parcelas-urbanizadas-en-el-balcon-de-yebenes-10090','casa-para-derribo-a-2-calles-10062','parcela-urbanizada-el-balcon-de-yebenes-10023','solar-centrico-10022','parcelas-en-urbanizacion-la-arroyada-10021','nave-industrial-10037','local-en-bruto-bien-situado-10107','local-292-m2-planta-baja-de-edificio-10071','local-en-buen-estado-10046','local-en-buen-estado-10047','finca-a-2-km-del-pueblo-con-casa-y-nave-10073','terreno-con-325-almendros-10113','alquiler-piso-amueblado-en-madrid-10003','alquiler-de-nave-industrial-10053','alquiler-de-local-centrico-10074','alquiler-de-local-2-plantas-10056','alquiler-de-local-centrico-en-buen-estado-10001','alquiler-de-local-en-buen-estado-10045','alquiler-de-nave-industrial-10118','chalet-unifamiliar-10049' );
Reg = new Array('VV196','VV189','VV128','VV199','VV198','VV197','VP084','VV185','VV160','VV177','VV186','VV182','VV195','VG003','VV191','VV192','VP083','VV153','VV172','BL040','VC047','VV188','VF018','VV190','VP082','VV167','VV183','VY002','VY001','VVO01','VV181','VV179','VV178','VV171','VV169','VV164','VV158','VV156','VV151','VV150','VV149','VV148','VV145','VV138','VV136','VV134','VV132','VV130','VV125','VV119','VV118','VV089','VV007','VT027','VP079','VP008','VP061','VP049','VP034','VP026','VN007','VL016','VL013','VL011','VL010','VF017','VC045','BV022','BN006','BL034','BL031','BL026','BL009','BN007','VV0097' );
DescPoblacio = new Array('LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','','BARGAS','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','ORGAZ','MARJALIZA','NAVAS DE ESTENA','NAVAS DE ESTENA','LOS YÉBENES','MARJALIZA','LOS YÉBENES','TORREVIEJA-Alicante','MARINA D´OR','Sur de la provincia de Toledo','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','MORA','MORA','SONSECA','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','MARJALIZA','','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','CARABANCHEL BAJO-Madrid','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','LOS YÉBENES','COBISA' ); 
Descripcion = new Array('VIVIENDA REFORMADA PLANTA BAJA','CHALET SEMINUEVO','VIVIENDAS ADOSADAS CON GARAJE','PARTE DE CASA','CASA PARA REFORMA O DERRIBO','PARTE DE CASA EN BUEN ESTADO','CASA PARA DERRIBO','PISO 3ş AMUEBLADO','PISO 3ş, 2Ş MANO','PISO 2ş, 2Ş MANO, CÉNTRICO','DUPLEX AMUEBLADO, CON 4 DORMITORIOS','CHALET SEMINUEVO, CON PISCINA','VIVIENDA de 2 plantas y garaje','PLAZA DE GARAJE CON TRASTERO','RESIDENCIAL NOLIVA','DUPLEX, CON GARAJE Y TRASTERO','CORRAL, con cocina rústica y aseo','CASA 2Ş MANO, 2 PLANTAS','CASA NUEVA CONSTRUCCIÓN, PLANTA BAJA','ALQUILER DE LOCAL 328 m2','2 PARCELAS RÚSTICAS, 3 Has.','AMPLIA CASA PLANTA BAJA CON PISCINA','FINCA 1,5 Has., MATORRAL, CERCANO AL RIO','CASA ANTIGUA, a 2 calles','PROMOCION DE PARCELAS URBANIZADAS','CHALET PLANTA BAJA CON PISCINA','CASA, EN BUEN ESTADO','APARTAMENTO EN TORREVIEJA','APARTAMENTO 2ş PISO EN MARINA D´OR','3 CHALETS EN CONSTRUCCIÓN','PARTE DE CASA, CÉNTRICA','PISO 1ş, NUEVO, CÉNTRICO','CASA NUEVA, 2 PLANTAS','CHALET EN BUEN ESTADO, EN MORA','CHALET EN BUEN ESTADO, EN MORA','AMPLIA CASA EN BUEN ESTADO','PISOS Y APARTAMENTOS','CASA ANTIGUA 2Ş MANO','PARTE DE CASA','CASA 2Ş MANO','PISO 3ş, EN BUEN ESTADO','PISO 2ş, EN MUY BUEN ESTADO','PISO 1ş, 2Ş MANO','PISO CON GARAJE','CHALET ADOSADO SEMINUEVO  DE 2 PLANTAS','CASA DE VECINOS','VIVIENDA DE DOS PLANTAS','CHALET NUEVO PLANTA BAJA','PISO 1ş zona Cornisa - TOLEDO','CHALET PLANTA BAJA','CHALET DE TRES PLANTAS','CASA CON NAVE HABITABLE + VIVIENDA 1Ş PLANTA','VIVIENDA CON PISCINA','TERRENO URBANIZABLE+TERRENO RÚSTICO, m2','PARCELAS URBANIZADAS','PARCELAS URBANIZADAS en El Balcón de Yébenes','CASA PARA DERRIBO, A 2 CALLES','PARCELA URBANIZADA "EL BALCÓN DE YÉBENES"','SOLAR CÉNTRICO','PARCELAS EN URBANIZACION LA ARROYADA','NAVE INDUSTRIAL','LOCAL EN BRUTO, BIEN SITUADO','LOCAL 292 m2, planta baja de edificio','LOCAL EN BUEN ESTADO','LOCAL EN BUEN ESTADO','FINCA a 2 km. del pueblo CON CASA Y NAVE','TERRENO CON 325 ALMENDROS','Alquiler PISO AMUEBLADO, en Madrid','Alquiler de NAVE INDUSTRIAL','Alquiler de LOCAL CÉNTRICO','Alquiler de LOCAL 2 PLANTAS','Alquiler de LOCAL CÉNTRICO en buen estado','Alquiler DE LOCAL EN BUEN ESTADO','Alquiler de NAVE INDUSTRIAL','CHALET UNIFAMILIAR' );
CodPoblacio=new Array('67','67','67','67','67','67','67','67','67','67','67','67','67','67','','64','67','67','67','67','6C','69','6B','6B','67','69','67','6F','68','6E','67','67','67','6A','6A','6D','67','67','67','67','67','67','67','67','67','67','67','69','','67','67','67','67','67','67','67','67','67','67','67','67','67','67','67','67','67','67','65','67','67','67','67','67','67','66' );
Import1= new Array(177000,180000,0,15000,60000,48000,108000,55000,55000,51000,157000,490000,150000,12000,0,155000,96000,39000,162300,1300,33000,153000,18000,75000,0,600000,160000,95000,0,0,20000,132250,141250,210000,186000,360000,129085,78000,55000,93000,110000,159000,102000,150300,220000,38000,220000,130000,312000,170000,225400,240000,360000,72,210.35,240,150,56800,158000,300.51,2000000,222000,270000,457000,220000,210000,45000,700,450,600,300,420,1000,450,330000 );
ImageList=new Array('1013603','1012308','1002910','1013800','1013700','1013500','1013400','1012008','1008806','1011000','1012100','1011606','1013200','nopicture','1013000','1013104','1012900','1007904','1010209','1012800','nopicture','1012408','1012507','1012608','1012200','1009808','1011707','1010900','nopicture','1008400','1011506','1011200','1011107','1010100','1010007','1009200','1008200','1008007','1007700','1007803','1011907','1007200','1008705','1006108','1005900','1005502','1003400','1002605','nopicture','1006700','nopicture','1005807','1000800','1009700','1008600','1009000','1006200','nopicture','nopicture','1002100','1003700','nopicture','1007104','nopicture','nopicture','1007308','1011300','nopicture','1005300','1007400','1005600','1000100','nopicture','1011800','nopicture' );
TipoViviendaList=new Array('2','2','2','2','2','2','3','2','2','2','2','2','2','10','2','2','3','2','2','1','8','2','8','2','3','2','2','2','7','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','2','0','3','3','3','3','3','3','6','9','9','9','9','8','8','4','1','1','1','1','1','1','2' );
Superficie=new Array('350','203','100','','143','','498','','','','','','88','14','','','218','100','164','372','31752','593','15037','445','','1000','100','','','810','28','','151','158','','500','','249','90','184','','122','','','315','150','155','265','','200','210 APROX.','208','777','7584','Desde 200 m2','252 y 210','450 m2','315','359','desde 318 m2','7.500m2','','292','760','471','17000','28600','','220 m2','195','50+50','80','471','379','500 m2' );

 
var urlTmp = location.href;
UrlArr = urlTmp.split("?",2);
var param=UrlArr[1];
arrparam=param.split("&",50);
var tipovivienda = "";
var poblacion = "";
var importe1 = "";
var importe2 = "";
var reg ="";
var page=1;
var valor = "";
   for(var ind = 0; ind < arrparam.length; ind++) { 
        
          identifi = arrparam[ind].split("=",2); // tipovivienda=v
          if(identifi.length >= 1){
             valor = identifi[1];
                }
         switch(identifi[0])  { 
              case "page":
                    page=valor;
                    break;
              case "tipovivienda":
                    tipovivienda = valor;
                   
                    break;
                case "poblacion":
                    poblacion = valor;
	            break;
                case "importe1":
	            importe1 = valor;
                    break;
                case "importe2":
                    importe2 = valor;
                    break;
               case "reg":
                   reg = valor;
                   break;
          }
        
      } 


//alert("tipo vivienda: " + tipovivienda + " poblacion " + poblacion);






function buscar (CodPoblacioB,Importe1B,Importe2B, TipoViviendaB,PageB, RegB) 
{
     
       var html="";
       var cl = "";
       var sw = 0;
       var c=0;
       var url="";       
      var siguiente="";
      var regtmp="";
var PageNext=0;
     

      

       for (var ind=0; ind < CodPoblacio.length; ind++) {
              if (TipoViviendaList[ind]=="") { 
                       TipoViviendaList[ind]="0";
                  }    
             
            if (Reg[ind] == RegB || RegB=="") {
            if (CodPoblacio[ind] == CodPoblacioB || CodPoblacioB == "") {
               if (Import1[ind] > parseInt(Importe1B, 10) || Importe1B == "") {  
                   if (Import1[ind] < parseInt(Importe2B, 10) || Importe2B == "")  {
                     if (TipoViviendaList[ind] == TipoViviendaB || TipoViviendaB=="") {
                    c++;
                 if (PageB * 10 -10 < c && PageB*10+1  > c ){
            //generamos una linea de la taula
             if (RegB!="") {
//si es la seleccio d'un registre obrim el inmoble directament
document.location.href= CodReg[ind] +"ES.html";
}              
               url = "<a href='" + CodReg[ind] + "ES.html' class='smalltext'>" ;
          html=html+" <table cellspacing=1 cellpadding=0 bgcolor=#C0C0C0 width=280><tr><td>";
          html=html+"<TABLE BORDER=0 width=100% bgcolor=#FFFFFF cellspacing=0 cellpading=1>";
          html=html+"<TR><TD bgColor=#EFE7E7 colspan=2>" + Descripcion[ind]  + "</TD></TR>";
           html=html+"<TR onClick=\"javascript:document.location.href='"+ CodReg[ind] +"ES.html' \"style='cursor:pointer;cursor:hand' onMouseOver=\"this.style.backgroundColor='#EFE7E7'\" onMouseOut=\"this.style.backgroundColor='#FFFFFF'\"><TD valign=top width=112 ><table border=0 cellspacing=1 cellpading=0><tr><td bgcolor=#333333><a href='"+ CodReg[ind] +"ES.html'> <img src='"+ImageList[ind] + "small.jpg' border =0 width=112 height=84></a></td></tr></table></TD>";
           html=html+"<TD align=left >";
           html=html+"<TABLE BORDER=0 width=100%>";
           html=html+"<TR><TD class='smalltext'><b>Zona:</b></TD><TD class='smalltext'>" + DescPoblacio[ind] + "</TD></TR>";
           html=html+"<TR><TD class='smalltext'><b>Superficie parcela:</b></TD><TD class='smalltext'>"+ Superficie[ind] +"</a></TD></TR>";
           html=html+"<TR><TD Class='smalltext'><b>Precio (€):</b></TD><TD class='smalltext'>" + currency(Import1[ind]) + "</a></TD></TR>";
          html=html+" <tr><td colspan=2 align=right><a href='"+ CodReg[ind] +"ES.html'  class=smalltext>[+ Información]</a></td></tr>";
          html=html+" </TABLE>";
          html=html+"</TD>";
          html=html+"</TABLE>";  
         html=html+"</tr>";
        html=html+"</table>";
                 if (sw == 0) {
                    html = html + "</td><td>";
                   sw = 1;
                  }else{
                    html = html + "</td></tr><tr><td>";
                    sw = 0;
                  }            

 
              }
                  }
               }
           }
       }
   }  
}
         html = html + "</tr></td></table>";
 PageNext=PageB;
 PageNext++;
PageLater=PageB;
PageLater--;
 siguiente="<a href='findES.html?poblacion=" + CodPoblacioB +"&tipovivienda=" + TipoViviendaB + "&importe1=" + Importe1B + "&importe2=" + Importe2B + "&page=" + PageNext + "'>Siguiente >></a>";
anterior="<a href='findES.html?poblacion=" + CodPoblacioB +"&tipovivienda=" + TipoViviendaB + "&importe1=" + Importe1B + "&importe2=" + Importe2B + "&page=" + PageLater + "'><< Anterior</a>";
if (PageB==1){
            anterior="";
}
var MaxP=0;
MaxP=Math.floor(c/10);
if (c % 10 != 0) {
MaxP++;
}
if (PageB >=MaxP){
       siguiente="";
}
html="<table border=0 width=560><tr><td colspan=2><table width=100% border=0><tr><td align=left width=20%>" + anterior + "</td><td align=center class=smalltext width=60%> Se han encontrado un total de <b>" + c + "</b> resultado(s). Página " + PageB + " de " + MaxP + "</td><td align=right width=20%>" + siguiente + "</td></tr></table><TR><TD>" + html;
       return(html);
}


document.writeln('<html>');
document.writeln('<head>');
document.writeln('<title>YEBEGEST, S.L.</title>');
document.writeln('<STYLE type="text/css">');
document.writeln('TD {              FONT-SIZE: 13px;  FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none}');
document.writeln('.smalltext {     FONT-SIZE: 11px;  FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none}');
document.writeln('A:link {           COLOR: #993300; TEXT-DECORATION: none}');
document.writeln('A:hover {       COLOR: #993300; TEXT-DECORATION: underline}');
document.writeln('A:visited {      COLOR: #993300; TEXT-DECORATION: none}');
document.writeln('A:hover {       COLOR: #993300; TEXT-DECORATION: underline}');
document.writeln('A:active {      COLOR: #996600; TEXT-DECORATION: none}');
document.writeln('.caja {           BORDER-RIGHT: #5d5c5b 1px solid; BORDER-TOP: #5d5c5b 1px solid; FONT-SIZE: 11px; BORDER-LEFT: #5d5c5b 1px solid; LINE-HEIGHT: normal; BORDER-BOTTOM: #5d5c5b 1px solid;');
document.writeln('                     FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #f2f7f9 }');
document.writeln('</STYLE>');
document.writeln('<SCRIPT language="JavaScript">');
document.writeln('function enterref(){');
document.writeln('var ref = prompt("Introduzca el código de referencia del inmueble","");');
document.writeln('if (ref != null){');
document.writeln('document.location.href="findES.html?reg=" + ref;');
document.writeln('}');
document.writeln('}');
document.writeln('</SCRIPT>');
document.writeln('</head>');
document.writeln('<body topMargin=0>');
document.writeln('<center>');
document.writeln('<table border=0  cellspacing=0 cellpadding=0 height=621 width=750>');
document.writeln('   <tr>');
document.writeln('    <td valign=top colspan=6 height=100>');
document.writeln('          <table cellspacing=0 cellpadding=0>');
document.writeln('	<tr>	');
document.writeln('	  <td width=185><img src="corplogo.jpg"></td> ');
document.writeln('	   <td width=565>');
document.writeln('			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"  id="Movie1" width="565" height="100">');
document.writeln('  			<param name="movie" value="icatalogflashES.swf">');
document.writeln('	 		<param name="quality" value="high">');
document.writeln('			<param name="bgcolor" value="#000080">');
document.writeln('			<embed name="Movie1" src="icatalogflashES.swf" quality="high" bgcolor="#000080" width="565" height="100" type="application/x-shockwave-flash"    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
document.writeln('	   		</embed>');
document.writeln('		   </object>');
document.writeln('		</td>');
document.writeln('	</tr>');
document.writeln('	</table>	');
document.writeln('    </td>');
document.writeln('  </tr>');
document.writeln('   <tr><td height=20 bgcolor=#000080 valign=top align=right colspan=4>&nbsp; </td></tr>');
document.writeln('   <tr>');
document.writeln('    <td bgcolor=#D6DBE7 valign=top  height=478>');
document.writeln('    <!--MENU ESQUERRA-->');
document.writeln('      <table border=0 width=146 cellspacing=1 cellpadding=1>');
document.writeln('      <tr>');
document.writeln('        <td width=100% bgcolor=#637584 height=20>');
document.writeln('          <p align=center>&nbsp;<b><font face=Arial color=#FFFFFF ');
document.writeln('           size=2>YEBEGEST, S.L.</font></b></p></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td width=100%>&nbsp;&nbsp;<font color=#800000><a ');
document.writeln('          href="indexES.html">Buscar Vivienda</a></font></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td width=100%>&nbsp;&nbsp;<font color=#800000><a href="aboutusES.html">Quiénes somos</a></font></td></tr>');
document.writeln('       <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td width="100%">&nbsp;&nbsp;<font color=#800000><a href="findusES.html">Dónde estamos</a></font></td></tr>');
document.writeln('       <tr>');
document.writeln('        <td><img src="linea.gif" width="140" height="2"></td></tr>');
document.writeln('        <tr>');
document.writeln('          <td width=100%>&nbsp;&nbsp;<font color=#800000><a href="formsubmitES.html">Vender mi vivienda</a></font></td></tr>');
document.writeln('         <tr>');
document.writeln('            <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('       </table>');
document.writeln('<!--A49F - 4363 - 98CA');
document.writeln(' <table border=0 width=146 cellspacing=1 cellpadding=1>');
document.writeln('      <tr>');
document.writeln('        <td width=100% bgcolor=#637584 height=20>');
document.writeln('          <p align=center>&nbsp;<b><font face=Arial color=#FFFFFF ');
document.writeln('           size=2>Soluciones Hipotecarias</font></b></p></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td width=100%><font color=#800000><a style="margin-left:8px"');
document.writeln('          href="refinanES.html">Refinanciaciones</a></font></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('       <tr>');
document.writeln('        <td width=100%><font color=#800000><a style="margin-left:8px"');
document.writeln('          href="compra_ES.html">Compra de vivienda</a></font></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><font color=#800000><a style="margin-left:8px"');
document.writeln('          href="embargos_ES.html">Embargos/subastas</a></font></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('</table>');
document.writeln('A49F - 4363 - 98CA-->');

document.writeln('<table border=0 width=146 cellspacing=1 cellpadding=1>');
document.writeln('     <tr>');
document.writeln('        <td width=100% height=20 bgcolor=#637584>');
document.writeln('          <p align=center>&nbsp;<b><font face=Arial color=#FFFFFF ');
document.writeln('           size=2>Tipo Vivienda</font></b></p></td></tr>');
document.writeln('        </td>');
document.writeln('      </tr> ');
document.writeln(' ');
document.writeln('        <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=1">Alquiler Otros</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=4">Alquiler Viviendas</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=2">Casas</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=3">Parcelas</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=7">Otros Inmuebles</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=6">Naves Industriales</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=9">Locales</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=8">Fincas rústicas</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=0">Terrenos Urbanizables</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln(' <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?tipovivienda=10">Garajes</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('  </table>');

document.writeln('    <!--LLISTAT POBLACIONS-->');
document.writeln('<table border=0 width=146 cellspacing=1 cellpadding=1>');
document.writeln('     <tr>');
document.writeln('        <td width=100% height=20 bgcolor=#637584>');
document.writeln('          <p align=center>&nbsp;<b><font face=Arial color=#FFFFFF ');
document.writeln('           size=2>Vivir en..</font></b></p></td></tr>');
document.writeln('        </td>');
document.writeln('      </tr> ');
document.writeln('<!--64AA - 92BE - A8C');
document.writeln('    <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="/terrassa/indexES.html">Terrassa</a></td></tr>');
document.writeln('    <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('64AA - 92BE - A8C-->');
document.writeln('<!--F4FE - 52B7 - FCCE');
document.writeln('    <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="/indexES.html">Rubí</a></td></tr>');
document.writeln('    <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('F4FE - 52B7 - FCCE-->       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=64">BARGAS</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=65">CARABANCHEL BAJO-Madrid</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=66">COBISA</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=67">LOS YÉBENES</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=68">MARINA D´OR</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=69">MARJALIZA</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=6A">MORA</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=6B">NAVAS DE ESTENA</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=6C">ORGAZ</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=6D">SONSECA</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=6E">Sur de la provincia de Toledo</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=6F">TORREVIEJA-Alicante</a></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>    </table>');

document.writeln(' <!--FI LLISTAT POBLACIONS-->');
document.writeln('<!--<br><center><img src="logo_api.gif"></center>-->');
document.writeln('     </td>');
document.writeln('     <td valign=top width=602>');
document.writeln('   <center>  ');
document.writeln('   <!--PART CENTRAL-->');

document.writeln('<!--FORMULARI BUSQUEDA-->');
document.writeln('    <BR> <TABLE cellpadding=4 border=0 width=470 align=center><TR><TD align=center>');
document.writeln('     <TABLE cellspacing=0 border=0 width=460>');
document.writeln('          <tr>');
document.writeln('             <td bgcolor=#000080 align=center><font color=#FFFFFF size=1><b>Población</b></font></td>');
document.writeln('              <td bgcolor=#000080 align=center><font color=#FFFFFF size=1><b>Tipo Vivienda</b></font></td>');
document.writeln('              <td bgcolor=#000080 align=center><font color=#FFFFFF size=1><b>Precio Mínimo</b></font></td>');
document.writeln('              <td bgcolor="#000080" align=center><font color=#FFFFFF size=1><b>Precio Máximo</b></font></td>');
document.writeln('          </tr>');
document.writeln('          <tr>');
document.writeln('            <td bgcolor=#D6DBE7 align=center>');
document.writeln(' <form action="findES.html" method=get>	        ');
document.writeln('<SELECT NAME=poblacion class=caja style="width:110px">');
document.writeln('<OPTION VALUE="" SELECTED>Todas<OPTION VALUE="64">BARGAS<OPTION VALUE="65">CARABANCHEL BAJO-Madrid<OPTION VALUE="66">COBISA<OPTION VALUE="67">LOS YÉBENES<OPTION VALUE="68">MARINA D´OR<OPTION VALUE="69">MARJALIZA<OPTION VALUE="6A">MORA<OPTION VALUE="6B">NAVAS DE ESTENA<OPTION VALUE="6C">ORGAZ<OPTION VALUE="6D">SONSECA<OPTION VALUE="6E">Sur de la provincia de Toledo<OPTION VALUE="6F">TORREVIEJA-Alicante</OPTION></SELECT>');

document.writeln('             </td>');
document.writeln('                 <td width=108 bgcolor=#D6DBE7 align=center>');

document.writeln('<SELECT NAME=tipovivienda class=caja style="width:100px">');
document.writeln('<OPTION VALUE="" SELECTED>Todas<OPTION VALUE="1">Alquiler Otros<OPTION VALUE="4">Alquiler Viviendas<OPTION VALUE="2">Casas<OPTION VALUE="3">Parcelas<OPTION VALUE="7">Otros Inmuebles<OPTION VALUE="6">Naves Industriales<OPTION VALUE="9">Locales<OPTION VALUE="8">Fincas rústicas<OPTION VALUE="0">Terrenos Urbanizables<OPTION VALUE="10">Garajes</SELECT>');

document.writeln('                </td>');
document.writeln('                <td width="125" bgcolor="#D6DBE7" align="center">');
document.writeln('        		<SELECT NAME=importe1 VALUE="" ID=importe1 class=caja style="width:110px"> ');
document.writeln('                                     <OPTION VALUE="" SELECTED>Indiferente');
document.writeln('                                    <OPTION VALUE=0>Menos 120.000');
document.writeln('                                    <OPTION VALUE=120000>120.000                ');
document.writeln('		    <OPTION VALUE=150000>150.000                ');
document.writeln('		    <OPTION VALUE=180000>180.000                ');
document.writeln('	                    <OPTION VALUE=210000>210.000                ');
document.writeln('		    <OPTION VALUE=240000>240.000                ');
document.writeln('		    <OPTION VALUE=300000>300.000                ');
document.writeln('		    <OPTION VALUE=330000>330.000');
document.writeln('		    <OPTION VALUE=360000>360.000');
document.writeln('		    <OPTION VALUE=400000>400.000');
document.writeln('		     <OPTION VALUE=420000>420.000');
document.writeln('		     <OPTION VALUE=450000>450.000');
document.writeln('		     <OPTION VALUE=480000>480.000');
document.writeln('		     <OPTION VALUE=510000>510.000');
document.writeln('		     <OPTION VALUE=540000>540.000');
document.writeln('		     <OPTION VALUE=570000>570.000');
document.writeln('		      <OPTION VALUE=600000>600.000</OPTION></SELECT> ');
document.writeln('               </select>');
document.writeln('         </td>');
document.writeln('        <td width="125" bgcolor="#D6DBE7" align="center">');
document.writeln('		        <SELECT NAME="importe2" class="caja" VALUE="" ID="importe2" style="width:110px">');
document.writeln('					<OPTION VALUE="" SELECTED>Indiferente');
document.writeln('                  <OPTION VALUE=120000>120.000                ');
document.writeln('					<OPTION VALUE=150000>150.000                ');
document.writeln('   					<OPTION VALUE=180000>180.000                ');
document.writeln('					<OPTION VALUE=210000>210.000                ');
document.writeln('					<OPTION VALUE=240000>240.000                ');
document.writeln('					<OPTION VALUE=300000>300.000                ');
document.writeln('					<OPTION VALUE=330000>330.000');
document.writeln('					<OPTION VALUE=360000>360.000');
document.writeln('					<OPTION VALUE=400000>400.000');
document.writeln('					<OPTION VALUE=420000>420.000');
document.writeln('					<OPTION VALUE=450000>450.000');
document.writeln('					<OPTION VALUE=480000>480.000');
document.writeln('					<OPTION VALUE=510000>510.000');
document.writeln('					<OPTION VALUE=540000>540.000');
document.writeln('					<OPTION VALUE=570000>570.000');
document.writeln('					<OPTION VALUE=600000>600.000');
document.writeln('                                                                                <OPTION VALUE=600000>Más de 600.000</option></select>');
document.writeln('        </td>');
document.writeln('      </tr>');
document.writeln('      <tr><td bgcolor=#D6DBE7 align=center colspan=4 height=4></td></tr>');
document.writeln('      <tr><td bgcolor=#D6DBE7 align=center colspan=4><INPUT TYPE=Submit VALUE="Buscar Vivienda" class=caja></td></tr>');
document.writeln('      <tr><td bgcolor=#D6DBE7 colspan=4 height=4><!--04BF - A299 - DCC&nbsp;&nbsp;<a href="#" onClick="enterref();"  class=smalltext>Buscar por referencia</a>04BF - A299 - DCC--></td></tr>');
document.writeln('     </table>');
document.writeln('</form>   ');




document.writeln(buscar(poblacion,importe1, importe2,tipovivienda, page, reg));

document.writeln('    </TD></TR></TABLE>');
document.writeln('     <!--FI LLISTAT ARTICLES-->');
document.writeln('     ');
document.writeln('    </center>');
document.writeln('    </td>');

document.writeln('  </tr>');
document.writeln('   <tr>');
document.writeln('    <td bgcolor=#D6DBE7 valign=top height=5>&nbsp; </td>');
document.writeln('    <td colspan=2></td>');
document.writeln('    </tr>');
document.writeln('   <tr>');
document.writeln('    <TD vAlign=top align=left bgColor=#d6dbe7  height=15>');
document.writeln('        <a href="http://www.innova22.com/icatalog">');
document.writeln('         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0" id="promoinnova" width="122" height="20">');
document.writeln('         <param name="movie" value="promoinnova.swf">');
document.writeln('         <param name="quality" value="high">');
document.writeln('        <param name="bgcolor" value="#D6DBE7">');
document.writeln('        <embed name="promoinnova" src="promoinnova.swf" quality="high" bgcolor="#D6DBE7" width="122" height="20" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
document.writeln('        </embed>');
document.writeln('        </object>');
document.writeln('        </a>    ');
document.writeln('    </td>');
document.writeln(' <td align=center  bgColor=#d6dbe7 colspan=3 class="smalltext"><b>YEBEGEST, S.L.</b> ')
document.writeln('Plaza de la Constitución, 9');

document.writeln(' - Los Yebenes (Toledo)<br>');
document.writeln('             Tel: 925348051 - <a href="mailto:lince@yebegest.com">lince@yebegest.com</a>');
document.writeln('   </td>');

document.writeln('  </tr>');
document.writeln(' </table>');
document.writeln('</CENTER>');
document.writeln('</body>');
document.writeln('</HTML>');
};// I
