<!-- Web Generada con iCatalog Inmobiliarias http://www.innova22.com/icatalog. (Licencia 145F - F3E8 - 40C5)--> 



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('senterada-piso-10250','tremp-spa-10241','llimiana-casa-con-huerto-10238','xerallo-casa-10232','aramunt-restaurante-con-apartamento-10224','tremp-duplex-10219','tremp-piso-noguera-pallaresa-10183','isona-casa-10251','tremp-piso-10143','tremp-piso-10124','tremp-piso-10122','bellpuig-naves-industriales-10072','tremp-piso-10078','tremp-piso-10087','tremp-piso-10075','pauls-apartamento-10197','tremp-piso-10235','tremp-piso-10172','tremp-piso-10214','isona-promocion-obra-nueva-10110','tremp-piso-10222','tremp-piso-10249','tremp-piso-10247','tremp-local-comercial-10207','sant-salvador-del-tolo-casa-10170','suterranya-local-10154','tremp-casa-10145','cercs-masia-rustica-10141','tremp-casa-10136','terveu-pajar-10115','suterranya-almacen-10106','tremp-finca-esquinera-10092','isona-casa-10200','talarn-terreno-con-casa-10226','palau-de-noguera-casa-10204','isona-duplex-10199','aiguabella-vall-fosca-apartamento-10178','aiguabella-vall-fosca-apartamento-10177','tremp-piso-10246','vilamitjana-casa-y-terreno-10244','tremp-casa-10243','tremp-oficina-10142','tremp-piso-10240','tremp-piso-10234','tremp-piso-10119','isona-casa-10233','llimiana-casa-10098','xerallo-piso-10231','vilamitjana-casa-10229','tremp-piso-con-patio-y-desvan-10228','tremp-piso-con-patio-10230','tremp-casa-10225','tremp-piso-centrico-10198','tremp-piso-10163','suterrana-casa-con-terreno-10188','tremp-piso-10223','tremp-pis-10213','palau-de-noguera-casa-10215','talarn-terrenos-con-vivienda-10190','tremp-piso-obra-nueva-10212','vilamitjana-casa-10211','tremp-piso-noguera-pallaresa-10210','talarn-huerto-10209','conques-casa-10208','tremp-piso-10206','tremp-piso-10205','tremp-piso-10150','conques-casa-10201','conques-casa-10202','talarn-duplex-10203','la-pobla-de-segur-casa-10147','tremp-piso-10160','senterada-duplex-10185','vilamitjana-casa-con-era-y-jardin-10184','aramunt-casa-rural-10125','tremp-piso-10126','isona-casa-de-pueblo-10195','tremp-piso-noguera-pallaresa-10173','salas-del-pallars-casa-10017','tremp-piso-10194','tremp-piso-can-farga-10191','tremp-piso-10193','pujol-casa-10174','guardia-de-tremp-casa-centro-10176','tremp-piso-noguera-pallaresa-10189','santa-engracia-casa-rural-10093','senterada-apartamento-10186','sant-serni-casa-10171','figuerola-d-orcau-era-pajar-10169','tremp-piso-noguera-palleresa-10182','tremp-piso-10166','isona-piso-10168','tremp-pis0-10111','tremp-duplex-10113','tremp-piso-noguera-pallaresa-10175','sarroca-de-bellera-erdo-finca-10097','senterada-piso-10091','ager-casa-10083','montros-casa-10021','tremp-casa-10066','tremp-piso-10123','tremp-piso-10162','tremp-pisos-de-proteccion-oficial-10161','guardia-de-tremp-casa-10158','sant-salvador-de-tolo-obra-nova-10157','vilamitjana-parcela-10151','tremp-pisos-de-proteccion-oficial-10149','tremp-parcela-10148','tremp-parquing-10139','tremp-casa-10135','tremp-terreno-rustico-de-regadio-10134','senterada-piso-10131','tremp-casa-10129','matasolana-casa-10127','tremp-piso-10120','talarn-casa-10112','lleida-pis-10109','tremp-parking-10108','figols-de-tremp-casa-10105','vilamitjana-casa-10103','tremp-parcelas-urbanas-10102','palau-de-noguera-casa-10101','sant-roma-d-abella-finca-urbana-10100','senterada-duplex-10096','suterranya-casa-10095','isona-piso-10094','sant-marti-de-canals-casa-10085','tremp-obra-nueva-10082','sant-salvador-de-tolo-casa-10081','isona-casa-10080','tremp-casa-10073','tremp-solar-10071','senterada-piso-obra-nueva-10069','tremp-casas-alto-standing-10068','vilamitjana-solar-con-almacen-10065','isona-casa-10064','tremp-piso-zona-centro-10063','benavent-de-la-conca-casa-10060','tremp-pis-obra-nueva-zona-centro-10053','tremp-duplex-cerca-centro-10051','vielha-piso-10046','tremp-casa-cerca-estacion-10044','puigcercos-terreno-edificable-10043','senterada-casa-10041','terveu-borda-10010','isona-adosadas-obra-nueva-3-fase-10007','pobla-de-segur-piso-10005','isona-piso-10003' );
Reg = new Array('10250','10241','10238','10232','10224','10219','10183','10251','10143','10124','10122','10072','10078','10087','10075','10197','10235','10172','10214','10110','10222','10249','10247','10207','10170','10154','10145','10141','10136','10115','10106','10092','10200','10226','10204','10199','10178','10177','10246','10244','10243','10142','10240','10234','10119','10233','10098','10231','10229','10228','10230','10225','10198','10163','10188','10223','10213','10215','10190','10212','10211','10210','10209','10208','10206','10205','10150','10201','10202','10203','10147','10160','10185','10184','10125','10126','10195','10173','10017','10194','10191','10193','10174','10176','10189','10093','10186','10171','10169','10182','10166','10168','10111','10113','10175','10097','10091','10083','10021','10066','10123','10162','10161','10158','10157','10151','10149','10148','10139','10135','10134','10131','10129','10127','10120','10112','10109','10108','10105','10103','10102','10101','10100','10096','10095','10094','10085','10082','10081','10080','10073','10071','10069','10068','10065','10064','10063','10060','10053','10051','10046','10044','10043','10041','10010','10007','10005','10003' );
DescPoblacio = new Array('SENTERADA','TREMP','LLIMIANA','XERALLO','ARAMUNT','TREMP','TREMP','ISONA','TREMP','TREMP','TREMP','BELLPUIG','TREMP','TREMP','TREMP','PAULS','TREMP','TREMP','TREMP','ISONA','TREMP','TREMP','TREMP','TREMP','SANT SALVADOR DE TOLÓ','SUTERRANYA','TREMP','CERCS','TREMP','TERVEU ','SUTERRANYA','TREMP','ISONA','TALARN - SUSTERRIS DE DALT','PALAU DE NOGUERA','ISONA','AIGUABELLA ','AIGUABELLA','TREMP','VILAMITJANA','TREMP','TREMP','TREMP','TREMP','TREMP','ISONA','LLIMIANA','XERALLO','VILAMITJANA','TREMP','TREMP','TREMP','TREMP','TREMP','SUTERRANYA','TREMP','TREMP','PALAU DE NOGUERA','TALARN','TREMP','VILAMITJANA','TREMP','TALARN','CONQUES','TREMP','TREMP','TREMP','CONQUES','CONQUES','TALARN','LA POBLA DE SEGUR','TREMP','SENTERADA','VILAMITJANA','ARAMUNT','TREMP','ISONA','TREMP','SALÀS DEL PALLARS','TREMP','TREMP','TREMP','PUJOL','GUARDIA DE TREMP','TREMP','STA.ENGRACIA','SENTERADA','SANT SERNI','FIGUEROLA D\'ORCAU','TREMP','TREMP','ISONA','TREMP','TREMP','TREMP','ERDO','SENTERADA','ÀGER','MONT-ROS','TREMP','TREMP','TREMP','TREMP','GUARDIA DE TREMP','SANT SALVADOR DE TOLÓ','VILAMITJANA','TREMP','TREMP','TREMP','TREMP','TREMP','SENTERADA','TREMP','MATASOLANA','TREMP','TALARN','LLEIDA','TREMP','FÍGOLS DE TREMP','VILAMITJANA','TREMP','PALAU DE NOGUERA','ST ROMA D´ABELLA','SENTERADA','SUTERRANYA','ISONA','ST.MARTÍ DE CANALS','TREMP','ST.SALVADOR DE TOLÓ','ISONA','TREMP','TREMP','SENTERADA','TREMP','VILAMITJANA','ISONA','TREMP','BENAVENT DE LA CONCA','TREMP','TREMP','VIELHA','TREMP','PUIGCERCÓS','SENTERADA','TERVEU','ISONA','LA POBLA DE SEGUR','ISONA' ); 
Descripcion = new Array('SENTERADA - PISO','TREMP - SPA','LLIMIANA - CASA CON HUERTO','XERALLO - CASA','ARAMUNT- RESTAURANTE CON APARTAMENTO','TREMP - DUPLEX','TREMP-PISO NOGUERA PALLARESA','ISONA - CASA','TREMP-PISO','TREMP-PISO','TREMP-PISO','BELLPUIG-NAVES INDUSTRIALES','TREMP-PISO','TREMP-PISO','TREMP-PISO','PAULS - APARTAMENTO','TREMP - PISO','TREMP-PISO','TREMP - PISO','ISONA- PROMOCION  OBRA NUEVA','TREMP - PISO','TREMP - PISO','TREMP - PISO','TREMP - LOCAL COMERCIAL','SANT SALVADOR DEL TOLÓ-CASA','SUTERRANYA-LOCAL','TREMP-CASA','CERCS-MASIA RÚSTICA','TREMP-CASA','TERVEU-PAJAR','SUTERRANYA-ALMACEN','TREMP-FINCA ESQUINERA','ISONA - CASA','TALARN - TERRENO CON CASA','PALAU DE NOGUERA - CASA','ISONA - DUPLEX','AIGUABELLA - VALL FOSCA-APARTAMENTO','AIGUABELLA-VALL FOSCA-APARTAMENTO','TREMP - PISO','VILAMITJANA - CASA Y TERRENO','TREMP-CASA','TREMP-OFICINA','TREMP - PISO','TREMP - PISO','TREMP-PISO','ISONA - CASA','LLIMIANA-CASA','XERALLO - PISO','VILAMITJANA - CASA','TREMP - PISO CON PATIO Y DESVÁN','TREMP - PISO CON PATIO','TREMP - CASA','TREMP - PISO CENTRICO','TREMP-PISO','SUTERRAÑA - CASA CON TERRENO','TREMP - PISO','TREMP - PIS','PALAU DE NOGUERA - CASA','TALARN - TERRENOS CON VIVIENDA','TREMP - PISO OBRA NUEVA','VILAMITJANA - CASA','TREMP - PISO NOGUERA PALLARESA','TALARN - HUERTO','CONQUES - CASA','TREMP-PISO','TREMP - PISO','TREMP-PISO','CONQUES - CASA','CONQUES - CASA','TALARN - DUPLEX','LA POBLA DE SEGUR-CASA','TREMP-PISO','SENTERADA - DUPLEX','VILAMITJANA-CASA CON ERA Y JARDIN','ARAMUNT-CASA RURAL','TREMP-PISO','ISONA - CASA DE PUEBLO','TREMP-PISO-NOGUERA PALLARESA','SALÀS DEL PALLARS-CASA','TREMP - PISO','TREMP - PISO CAN FARGA','TREMP - PISO','PUJOL-CASA','GUARDIA DE TREMP-CASA-CENTRO','TREMP - PISO NOGUERA PALLARESA','SANTA ENGRACIA-CASA RURAL','SENTERADA - APARTAMENTO','SANT SERNI-CASA','FIGUEROLA D&#39ORCAU-ERA, PAJAR','TREMP-PISO NOGUERA PALLERESA','TREMP-PISO','ISONA-PISO','TREMP-PIS0','TREMP-DUPLEX','TREMP-PISO-NOGUERA PALLARESA','SARROCA DE BELLERA-ERDO-FINCA','SENTERADA-PISO','AGER-CASA','MONTROS-CASA','TREMP -CASA','TREMP-PISO','TREMP-PISO','TREMP-PISOS DE PROTECCIÓN OFICIAL','GUARDIA DE TREMP-CASA','SANT SALVADOR DE TOLÓ-OBRA NOVA','VILAMITJANA-PARCELA','TREMP-PISOS DE PROTECCIÓN OFICIAL','TREMP-PARCELA','TREMP-PARQUING','TREMP-CASA','TREMP-TERRENO RÚSTICO DE REGADIO','SENTERADA-PISO','TREMP-CASA','MATASOLANA-CASA','TREMP-PISO','TALARN-CASA','LLEIDA-PIS','TREMP-PARKING','FÍGOLS DE TREMP-CASA','VILAMITJANA-CASA','TREMP-PARCELAS URBANAS','PALAU DE NOGUERA-CASA','SANT ROMA D´ABELLA-FINCA URBANA','SENTERADA-DÚPLEX','SUTERRANYA-CASA','ISONA-PISO','SANT MARTÍ DE CANALS-CASA','TREMP-OBRA NUEVA','SANT SALVADOR DE TOLÓ-CASA','ISONA-CASA','TREMP-CASA','TREMP-SOLAR','SENTERADA-PISO OBRA NUEVA','TREMP-CASAS ALTO STANDING','VILAMITJANA-SOLAR CON ALMACEN','ISONA-CASA','TREMP-PISO (ZONA CENTRO)','BENAVENT DE LA CONCA-CASA','TREMP-PIS OBRA NUEVA (ZONA CENTRO)','TREMP-DUPLEX (CERCA CENTRO)','VIELHA-PISO','TREMP-CASA (CERCA ESTACIÓN)','PUIGCERCÓS-TERRENO EDIFICABLE','SENTERADA-CASA','TERVEU-BORDA','ISONA-ADOSADAS (OBRA NUEVA-3ºFASE)','POBLA DE SEGUR-PISO','ISONA-PISO' );
CodPoblacio=new Array('7C','85','72','88','66','85','85','6F','85','85','85','67','85','85','85','76','85','85','85','6F','85','85','85','85','7A','81','85','69','85','','81','85','6F','83','75','6F','','65','85','87','85','85','85','85','85','6F','72','88','87','85','85','85','85','85','81','85','85','75','82','85','87','85','82','6A','85','85','85','6A','6A','82','70','85','7C','87','66','85','6F','85','79','85','85','85','78','6E','85','80','7C','7B','6D','85','85','6F','85','85','85','6B','7C','64','74','85','85','85','85','6E','7A','87','85','85','85','85','85','7C','85','73','85','82','71','85','6C','87','85','75','7D','7C','81','6F','7E','85','7F','6F','85','85','7C','85','87','6F','85','68','85','85','86','85','77','7C','84','6F','70','6F' );
Import1= new Array(150000,0,145000,140000,199500,178500,106000,400,96000,157000,106000,700,122000,106000,126000,157500,400,106000,184000,0,400,126000,465,0,45000,300,0,0,0,0,250,0,157500,110250,315000,79000,147000,107300,189000,315000,600,500,126000,73500,69400,95000,126000,100000,189000,126000,400,90000,116000,131000,48000,400,205000,89250,147000,157000,102000,90000,7500,46000,112000,147000,66000,157500,126000,217350,200000,300000,136000,106000,400000,121000,190000,100000,114200,66000,165300,110000,120570,208000,96000,310000,120000,156000,76000,100000,113400,130000,210344.12,206000,126203,2625000,221000,60000,151456,270455.45,144000,115000,125705.84,72000,150254,166000,128458.25,43000,18000,94500,35000,249400,186000,257000,132222,105000,339000,12000,162000,186303.65,70000,42000,156000,133000,155220,180303.63,70000,151000,167000,104893.43,90151.81,120202.42,227550,216300,186303.63,278569.11,154500,126202.42,140000,0,298525.1,0,72121.45,156000,0,256000,150243,114218 );
ImageList=new Array('1025000','1024100','1023800','1023203','1022400','1021909','1018305','1025100','1014301','1012400','1012200','1007200','1007800','1008700','1007507','1019700','1023500','1017200','1021400','1011007','1022207','1024900','1024700','1020700','1017000','1015400','1014500','1014102','1013600','1011500','1010600','1009205','1020000','1022600','1020400','1019900','1017800','1017706','1024600','1024400','1024300','1014201','1024001','1023400','1011900','1023301','1009805','1023106','1022904','1022800','1023000','1022500','1019800','1016305','1018807','1022302','1021300','1021503','1019000','1021201','1021102','1021004','1020900','1020800','1020601','1020500','1015000','1020103','1020200','1020301','1014705','1016000','1018500','1018401','1012503','1012607','1019500','1017300','1001705','1019400','1019108','1019300','1017402','1017608','1018900','1009301','1018600','1017100','1016900','1018205','1016600','1016800','1011103','1011307','1017500','1009700','1009101','1008300','1002101','1006600','1012302','1016204','1016104','1015800','1015700','1015107','1014905','1014800','1013901','1013507','1013402','1013106','1012900','1012700','1012001','1011201','1010900','1010800','1010500','1010301','1010203','1010100','1010001','1009600','1009502','1009407','1008501','nopicture','1008105','1008006','1007300','1007100','1006901','1006800','1006503','1006406','1006301','1006004','1005308','1005104','1004607','1004401','1004300','1004100','1001002','1000700','1000505','1000300' );
TipoViviendaList=new Array('1','9','2','2','2','1','1','4','1','1','1','4','1','1','1','5','4','1','1','0','4','1','4','9','2','4','2','8','2','8','4','3','2','8','2','1','5','5','1','2','4','4','1','1','1','2','2','1','2','4','4','2','1','1','3','4','1','2','8','0','2','1','8','2','1','1','1','2','2','1','2','1','1','2','2','1','2','1','2','1','1','1','2','2','1','2','5','2','8','1','1','0','0','1','1','2','0','2','2','2','0','1','0','2','0','3','0','3','0','2','8','0','2','2','1','2','0','0','2','2','3','2','2','0','2','1','2','0','2','2','2','3','0','0','3','2','1','2','0','1','1','2','3','2','8','0','1','1' );
Superficie=new Array('99.60M2','135,55M2','76M2','70M2','251M2','127,29M2','71','236M2','85','112','73','420','100','55','73','75M2','90M2','68.90M2','99,60M2','VARIES','90M2','90,50M2','121.02M2','127,33M2','272','200','183,50','500','235','132','430','700','236M2','1411M2','362M2','62,17M2','55,10M2','46,05','121.02M2','226M2','183.50','80','114M2','76.30M2','74','248M2','190','84M2','343.52M2','582.38M2','118.86M2','160M2','87M2','90M2','120M2','85M2','134.40M2','45M2','88.607M2','103.50M2','198M2','75,23M2','300M2','185M2','90,90M2','118,57M2','55','148M2','246M2','113,44M2','140','220','83M2','96M2','750','90','173M2','96','150','66M2','113M2','97M2','252','235','80M2','600','61M2','348','91','81M2','90','70','100,03','135','75,80','5 HA','87','160','250','124','64','55','75-120','100','77','503','90','80','16,54','125','545','88','120','150','105','140','91,24','9,71','190','300','129','50','370','55','330','110','270','75','400-500','112','381','112','90,26','190','230','290','98','130','80','185,5','65','230','185,77','260','45','276','100','95' );

 
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>Segurfinca Pirineus SL</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;<a  style="vertical-align:bottom" href="indexES.html"><img src="flagcircleES.gif" border=0 alt="Castellano"></a>&nbsp;<a  style="vertical-align:bottom" href="indexCA.html"><img src="flagcircleCA.gif" border=0 alt="Català"></a>&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>Segurfinca Pirineus SL</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">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=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=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=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">Solares</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=5">Apartamentos</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('  </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('');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('64AA - 92BE - A8C-->');
document.writeln('<!--142D - 02E1 - 70C2');
document.writeln('    <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="/indexES.html">Rubí</a></td></tr>');
document.writeln('');
document.writeln('      <tr>');
document.writeln('        <td><img src="linea.gif" width=140 height=2></td></tr>');
document.writeln('142D - 02E1 - 70C2-->       <tr>');
document.writeln('        <td width=100%><a style="margin-left:8px" href="findES.html?poblacion=64">ÀGER</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">AIGUABELLA</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">ARAMUNT</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">BELLPUIG</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">BENAVENT DE LA CONCA</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">CERCS</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">CONQUES</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">ERDO</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">FÍGOLS DE TREMP</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">FIGUEROLA D\'ORCAU</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">GUARDIA DE TREMP</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">ISONA</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=70">LA POBLA DE SEGUR</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=71">LLEIDA</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=72">LLIMIANA</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=73">MATASOLANA</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=74">MONT-ROS</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=75">PALAU DE NOGUERA</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=76">PAULS</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=77">PUIGCERCÓS</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=78">PUJOL</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=79">SALÀS DEL PALLARS</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=7A">SANT SALVADOR DE TOLÓ</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=7B">SANT SERNI</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=7C">SENTERADA</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=7D">ST ROMA D´ABELLA</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=7E">ST.MARTÍ DE CANALS</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=7F">ST.SALVADOR DE TOLÓ</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=80">STA.ENGRACIA</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=81">SUTERRANYA</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=82">TALARN</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=83">TALARN - SUSTERRIS DE DALT</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=84">TERVEU</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=85">TREMP</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=86">VIELHA</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=87">VILAMITJANA</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=88">XERALLO</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">ÀGER<OPTION VALUE="65">AIGUABELLA<OPTION VALUE="66">ARAMUNT<OPTION VALUE="67">BELLPUIG<OPTION VALUE="68">BENAVENT DE LA CONCA<OPTION VALUE="69">CERCS<OPTION VALUE="6A">CONQUES<OPTION VALUE="6B">ERDO<OPTION VALUE="6C">FÍGOLS DE TREMP<OPTION VALUE="6D">FIGUEROLA D\'ORCAU<OPTION VALUE="6E">GUARDIA DE TREMP<OPTION VALUE="6F">ISONA<OPTION VALUE="70">LA POBLA DE SEGUR<OPTION VALUE="71">LLEIDA<OPTION VALUE="72">LLIMIANA<OPTION VALUE="73">MATASOLANA<OPTION VALUE="74">MONT-ROS<OPTION VALUE="75">PALAU DE NOGUERA<OPTION VALUE="76">PAULS<OPTION VALUE="77">PUIGCERCÓS<OPTION VALUE="78">PUJOL<OPTION VALUE="79">SALÀS DEL PALLARS<OPTION VALUE="7A">SANT SALVADOR DE TOLÓ<OPTION VALUE="7B">SANT SERNI<OPTION VALUE="7C">SENTERADA<OPTION VALUE="7D">ST ROMA D´ABELLA<OPTION VALUE="7E">ST.MARTÍ DE CANALS<OPTION VALUE="7F">ST.SALVADOR DE TOLÓ<OPTION VALUE="80">STA.ENGRACIA<OPTION VALUE="81">SUTERRANYA<OPTION VALUE="82">TALARN<OPTION VALUE="83">TALARN - SUSTERRIS DE DALT<OPTION VALUE="84">TERVEU<OPTION VALUE="85">TREMP<OPTION VALUE="86">VIELHA<OPTION VALUE="87">VILAMITJANA<OPTION VALUE="88">XERALLO</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">Pisos<OPTION VALUE="0">Obra nueva<OPTION VALUE="8">Fincas rústicas<OPTION VALUE="2">Casas<OPTION VALUE="3">Solares<OPTION VALUE="4">Alquiler<OPTION VALUE="5">Apartamentos<OPTION VALUE="9">Locales</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>Segurfinca Pirineus SL</b> ')
document.writeln('C/ Soldevila, 17');

document.writeln(' - Tremp<br>');
document.writeln('             Tel: 973 650 810 - <a href="mailto:info@segurfincapirineus.com">info@segurfincapirineus.com</a>');
document.writeln('   </td>');

document.writeln('  </tr>');
document.writeln(' </table>');
document.writeln('</CENTER>');
document.writeln('</body>');
document.writeln('</HTML>');









}// -
