<!-- Web Generada con iCatalog Inmobiliarias http://www.innova22.com/icatalog. (Licencia 74E3 - B2BA - FCC5)--> 



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('bar-en-venta-10247','local-pl-musicos-10232','estudio-roses-10211','estudio-pineda-10196','venta-torre-lloret-10231','venta-av-congreso-10237','piso-vendrell-10248','venta-juan-valera-10249','piso-torredembarra-10213','alquiler-la-salud-10241','piso-la-salud-10246','piso-alquiler-10245','local-montigala-10215','local-en-la-salud-10243','piso-en-la-salud-10242','piso-venta-c-juan-valera-10239','bajos-en-venta-10230','estudio-en-venta-10238','estudio-roses-10212','venta-sant-roc-10227','venta-sant-roc-10228','piso-venta-c-sagrada-familia-10217','piso-venta-llefia-10218','planta-baja-10219','local-bufala-10222','piso-la-salud-10223','venta-artigas-10226' );
Reg = new Array('10247','10232','10211','10196','10231','10237','10248','10249','10213','10241','10246','10245','10215','10243','10242','10239','10230','10238','10212','10227','10228','10217','10218','10219','10222','10223','10226' );
DescPoblacio = new Array('LA SALUD','MONTIGALA','ROSES','PINEDA DE MAR','LLORET','LA SALUD','TARRAGONA','LA SALUD','TARRAGONA','LA SALUD','LA SALUD','LLOREDA','MONTIGALA','','LA SALUD','LA SALUD','SANT ROC','PINEDA DE MAR','ROSES','SANT ROC','SANT ROC','LA SALUD','LLEFIA','LA SALUD','BUFALÁ','LA SALUD','ARTIGAS ' ); 
Descripcion = new Array('BAR EN VENTA','LOCAL PL. MUSICOS','ESTUDIO ROSES','ESTUDIO PINEDA','VENTA TORRE LLORET','VENTA AV. CONGRESO','PISO VENDRELL','VENTA JUAN VALERA','PISO TORREDEMBARRA','ALQUILER LA SALUD','PISO LA SALUD','PISO ALQUILER','LOCAL MONTIGALÁ','LOCAL EN LA SALUD','PISO EN LA SALUD','PISO VENTA C/JUAN VALERA','BAJOS EN VENTA','ESTUDIO EN VENTA','ESTUDIO ROSES','VENTA SANT ROC','VENTA SANT ROC','PISO VENTA C/SAGRADA FAMILIA','PISO VENTA LLEFIA','PLANTA BAJA','LOCAL BUFALÁ','PISO LA SALUD','VENTA ARTIGAS' );
CodPoblacio=new Array('66','6A','6C','6B','69','66','6E','66','6E','66','66','68','6A','','66','66','6D','6B','6C','6D','6D','66','67','66','65','66','64' );
Import1= new Array(210000,1000,300,320,230000,166000,125000,98000,199000,650,570,650,800,700,710,110000,120000,96000,89000,135000,132500,162274,180304,150000,550,170000,192324 );
ImageList=new Array('1024700','1023203','1021100','1019600','1023100','1023701','1024800','1024900','1021303','nopicture','nopicture','nopicture','1021500','1024300','nopicture','1023900','1023000','1023800','1021205','nopicture','nopicture','1021700','nopicture','1021902','nopicture','nopicture','nopicture' );
TipoViviendaList=new Array('11','9','6','6','0','1','1','1','1','4','4','4','4','9','4','1','1','0','6','1','1','1','1','2','9','1','1' );
Superficie=new Array('83m2 + 115m2','230m2','40m2','35m2','1000m2','85 M2','90m2','60m2','70m2','68 m2','55m2','75m2','100m2','160 m2','78 m2','55 m2','55m2','35','40m2','55m2','75m2','60m2','65m2','70m2','50m2','55m2','85m2' );

 
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:</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>LEX28 advocats i finques</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>LEX28 advocats i finques</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">Trabajar en LEX28</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">Asesoría Jurídica</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=6">Estudios</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=1">Pisos</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</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=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=0">Obra nueva</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=11">Traspaso</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">ARTIGAS </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">BUFALÁ</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">LA SALUD</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">LLEFIA</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">LLOREDA</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">LLORET</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">MONTIGALA</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">PINEDA DE MAR</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">ROSES</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">SANT ROC</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">TARRAGONA</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">ARTIGAS <OPTION VALUE="65">BUFALÁ<OPTION VALUE="66">LA SALUD<OPTION VALUE="67">LLEFIA<OPTION VALUE="68">LLOREDA<OPTION VALUE="69">LLORET<OPTION VALUE="6A">MONTIGALA<OPTION VALUE="6B">PINEDA DE MAR<OPTION VALUE="6C">ROSES<OPTION VALUE="6D">SANT ROC<OPTION VALUE="6E">TARRAGONA</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="6">Estudios<OPTION VALUE="1">Pisos<OPTION VALUE="4">Alquiler<OPTION VALUE="2">Casas<OPTION VALUE="9">Locales<OPTION VALUE="0">Obra nueva<OPTION VALUE="11">Traspaso</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>LEX28 advocats i finques</b> ')
document.writeln('Juan Valera, 32 Local');

document.writeln(' - Badalona<br>');
document.writeln('             Tel: 93 460 42 32 - <a href="mailto:info@lex28.com">info@lex28.com</a>');
document.writeln('   </td>');

document.writeln('  </tr>');
document.writeln(' </table>');
document.writeln('</CENTER>');
document.writeln('</body>');
document.writeln('</HTML>');
};// I
