<!-- hide

   function preload(name, first, second, clic) {  
  // preload images and place them in an array

    if (browserOK) {     
	if ( pics[name] == null) {
             pics[name] = new Array(3);
	     pics[name][0] = new Image();pics[name][0].src = first;
	     pics[name][1] = new Image();pics[name][1].src = second;
	     pics[name][2] = new Image();pics[name][2].src = clic;
        }
      }
   }
   function on(name,fraref,tyx){
     if (browserOK) {
        if ( objref != name) {
	  fraref.document.images[name].src = pics[name][tyx].src;
        }
     }
   }
   function up(name,fraref){
     if (browserOK) {
	if (ofraref != null) {
           if (objref != "") {
              if (ofraref.document.images[objref] != null) {
		  ofraref.document.images[objref].src = pics[objref][0].src;
              }
           }
        }
        objref=name;ofraref=fraref;
        if (fraref.document.images[objref] != null) {
          // show the second image because cursor moves across this image
	  fraref.document.images[objref].src = pics[objref][2].src;
        }
      }
    }
    function setobjref(obj,fraref){
            objref=obj;
            ofraref=fraref;
    }
    function view(url,width,height) {
       windowC=window.open(url,"window2","toolbar=no,scrollbars=yes,width=" + width + ",height=" + height);
       windowC.focus();
    }

    function xcXC(s,d) {
       e = top.document.getElementById(s);
       e.style.display = d;
       return 0;
    }
   function checkInput(input) {
	       if (input.selectedIndex != null) {
                if (input.value == "A VENDRE") {
                   xcXC('Location','none');javascript:top.xcXC('Vente','block'); 
		   xcXC('LocationX','none');javascript:top.xcXC('VenteX','block');
	        } else {
	           xcXC('Vente','none');javascript:top.xcXC('Location','block');
                   xcXC('VenteX','none');javascript:top.xcXC('LocationX','block');
                }
               }
               return true;
	   }
// -->
