decal_x = -181;
decal_y = -181;
document.onmousemove = suivre_souris0;
function fermer()
{ plan.close();
}

function suivre_souris0(e)
{
if (navigator.appName=="Microsoft Internet Explorer")
{
var x = event.x + document.body.scrollLeft;	
var y = event.y + document.body.scrollTop;
}
else
{
var x =  e.pageX;
var y =  e.pageY;
}
document.getElementById("zone_e").style.left = x + decal_x;
document.getElementById("zone_e").style.top  = y + decal_y;
}

function on_off(calq,tout,val,subj)
{ if (subj=='d')
     { document.getElementById('imagee').innerHTML='<img src="images/ee180.png">';
     }
  if (subj=='g')
     { document.getElementById('imagee').innerHTML='<img src="images/gas180.png">';
     }

  if (document.layers)
     {	if (tout=='off')
           { document.layers['zone_e'].visibility='hide';
           }
        else
           { document.layers['fleche_e'].top=calq;
             document.layers['fleche_e2'].top=calq;
             document.getElementById('val').innerHTML='<font color="white" size="-1"><b>'+val+'</b></font>';
             document.layers['zone_e'].visibility='show';
           }
     }
  else
     {  if (tout=='off')
           { document.all['zone_e'].style.visibility='hidden';
           }
        else
           { document.all['fleche_e'].style.top=calq;
             document.all['fleche_e2'].style.top=calq;
             document.getElementById('val').innerHTML='<font color="white" size="-1"><b>'+val+'</b></font>';
             document.all['zone_e'].style.visibility='visible';
           }
     }
}

function move()
{
var widt=screen.availWidth;
window.location.href='immobilier_rhonealpes.php';
}
