<!-- Web Generada con iCatalog Inmobiliarias http://www.innova22.com/icatalog. (Licencia 1471 - 21B3 - 50CB)--> 



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('10050','10049','10048','10044','10014','10037','10045','10043','10041','10042' );
Reg = new Array('10050','10049','10048','10044','10014','10037','10045','10043','10041','10042' );
DescPoblacio = new Array('RUPIT','ARGELAGUER','OLOT','ARGELAGUER','LA VALL DE BIANYA','OLOT','OLOT','OLOT','AGULLANA','DOSQUERS' ); 
Descripcion = new Array('','','','','','','','','','' );
CodPoblacio=new Array('69','65','68','65','67','68','68','68','64','66' );
Import1= new Array(1100000,150000,0,400000,3000000,0,956000,520000,599000,820000 );
ImageList=new Array('1005003','nopicture','1004800','1004400','1001401','1003700','nopicture','1004301','1004100','1004200' );
TipoViviendaList=new Array('8','3','0','2','8','9','3','3','0','8' );
Superficie=new Array('87HAS','450M2','1300M2','219','30has','1700M2','2500M2','900M2','475M2','13HAS' );

 
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] +"DE.html";
}              
               url = "<a href='" + CodReg[ind] + "DE.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] +"DE.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] +"DE.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>Wohnflaeche:</b></TD><TD class='smalltext'>"+ Superficie[ind] +"</a></TD></TR>";
           html=html+"<TR><TD Class='smalltext'><b>Preis (€):</b></TD><TD class='smalltext'>" + currency(Import1[ind]) + "</a></TD></TR>";
          html=html+" <tr><td colspan=2 align=right><a href='"+ CodReg[ind] +"DE.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='findDE.html?poblacion=" + CodPoblacioB +"&tipovivienda=" + TipoViviendaB + "&importe1=" + Importe1B + "&importe2=" + Importe2B + "&page=" + PageNext + "'>Vorwärts >></a>";
anterior="<a href='findDE.html?poblacion=" + CodPoblacioB +"&tipovivienda=" + TipoViviendaB + "&importe1=" + Importe1B + "&importe2=" + Importe2B + "&page=" + PageLater + "'><< Zurück</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%> Resultate ungefähr <b>" + c + "</b>.. Seite " + PageB + " - " + 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>XARXA IMMOBILIARIA</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="findDE.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="icatalogflashDE.swf">');
document.writeln('	 		<param name="quality" value="high">');
document.writeln('			<param name="bgcolor" value="#000080">');
document.writeln('			<embed name="Movie1" src="icatalogflashDE.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="Spanisch"></a>&nbsp;<a  style="vertical-align:bottom" href="indexCA.html"><img src="flagcircleCA.gif" border=0 alt="Catalan"></a>&nbsp;<a  style="vertical-align:bottom" href="indexEN.html"><img src="flagcircleEN.gif" border=0 alt="Englisch"></a>&nbsp;<a  style="vertical-align:bottom" href="indexDE.html"><img src="flagcircleDE.gif" border=0 alt="Deutsche"></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>XARXA IMMOBILIARIA</font></b></p></td></tr>');
document.writeln('      <tr>');
document.writeln('        <td width=100%>&nbsp;&nbsp;<font color=#800000><a ');
document.writeln('          href="indexDE.html">Objekt</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="aboutusDE.html">Über uns</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="findusDE.html">Wo wir sind</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="formsubmitDE.html">Mein Haus zu verkaufen</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="refinanDE.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_DE.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_DE.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>Typ</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="findDE.html?tipovivienda=8">Laendlicher-Standort</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="findDE.html?tipovivienda=9">Kommerzielle Obiekte</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="findDE.html?tipovivienda=0">Neu-Bau</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="findDE.html?tipovivienda=3">Grundstuecke</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="findDE.html?tipovivienda=2">Häuser</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>Standort...</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/indexDE.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="/indexDE.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="findDE.html?poblacion=64">AGULLANA</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="findDE.html?poblacion=65">ARGELAGUER</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="findDE.html?poblacion=66">DOSQUERS</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="findDE.html?poblacion=67">LA VALL DE BIANYA</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="findDE.html?poblacion=68">OLOT</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="findDE.html?poblacion=69">RUPIT</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>Stadt</b></font></td>');
document.writeln('              <td bgcolor=#000080 align=center><font color=#FFFFFF size=1><b>Typ</b></font></td>');
document.writeln('              <td bgcolor=#000080 align=center><font color=#FFFFFF size=1><b>Minimaler Preis</b></font></td>');
document.writeln('              <td bgcolor="#000080" align=center><font color=#FFFFFF size=1><b>Maximaler Preis</b></font></td>');
document.writeln('          </tr>');
document.writeln('          <tr>');
document.writeln('            <td bgcolor=#D6DBE7 align=center>');
document.writeln(' <form action="findDE.html" method=get>	        ');
document.writeln('<SELECT NAME=poblacion class=caja style="width:110px">');
document.writeln('<OPTION VALUE="" SELECTED>All<OPTION VALUE="64">AGULLANA<OPTION VALUE="65">ARGELAGUER<OPTION VALUE="66">DOSQUERS<OPTION VALUE="67">LA VALL DE BIANYA<OPTION VALUE="68">OLOT<OPTION VALUE="69">RUPIT</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>All<OPTION VALUE="8">Laendlicher-Standort<OPTION VALUE="9">Kommerzielle Obiekte<OPTION VALUE="0">Neu-Bau<OPTION VALUE="3">Grundstuecke<OPTION VALUE="2">Häuser</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>Indiferent');
document.writeln('                                    <OPTION VALUE=0>Weniger als 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>Indiferent');
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>Mehr als 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="Objekt" 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>XARXA IMMOBILIARIA</b> ')

document.writeln(' - OLOT<br>');
document.writeln('             Tel: 609.65.35.55 - <a href="mailto:info@xarxaimmobiliaria.com">info@xarxaimmobiliaria.com</a>');
document.writeln('   </td>');

document.writeln('  </tr>');
document.writeln(' </table>');
document.writeln('</CENTER>');
document.writeln('</body>');
document.writeln('</HTML>');
};// I
