var xOffset=6
var yOffset=5
var affiche=false;var w3c=document.getElementById&&!document.all;var ie=document.all;if(ie||w3c){var laBulle}
function ietruebody(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}
function deplacer(e){if(affiche){var curX=(w3c)?e.pageX:event.x+ ietruebody().scrollLeft;var curY=(w3c)?e.pageY:event.y+ ietruebody().scrollTop;var winwidth=ie&&!window.opera?ietruebody().clientWidth:window.innerWidth- 20;var winheight=ie&&!window.opera?ietruebody().clientHeight:window.innerHeight- 20;var rightedge=ie&&!window.opera?winwidth- event.clientX- xOffset:winwidth- e.clientX- xOffset;var bottomedge=ie&&!window.opera?winheight- event.clientY- yOffset:winheight- e.clientY- yOffset;var leftedge=(xOffset<0)?xOffset*(-1):-1000
if(laBulle.offsetWidth>winwidth/3){laBulle.style.width=winwidth/3}
if(rightedge<laBulle.offsetWidth){laBulle.style.left=curX- laBulle.offsetWidth+"px"}else{if(curX<leftedge){laBulle.style.left="5px"}else{laBulle.style.left=curX+ xOffset+"px"}}
if(bottomedge<laBulle.offsetHeight){laBulle.style.top=curY- laBulle.offsetHeight- yOffset+"px"}else{laBulle.style.top=curY+ yOffset+"px"}}}
function montre(text){if(w3c||ie){laBulle=document.all?document.all["bulle"]:document.getElementById?document.getElementById("bulle"):""
laBulle.innerHTML=text;laBulle.style.visibility="visible";affiche=true;}}
function cache(){if(w3c||ie){affiche=false
laBulle.style.visibility="hidden"
laBulle.style.top='-1000px'
laBulle.style.backgroundColor=''
laBulle.style.width=''}}
document.onmousemove=deplacer;jQuery(document).ready(function($){$('.open_supp').mouseover(function(){var id=$(this).attr('id');$("#infos_"+id).show();});$('.open_supp').mouseout(function(){var id=$(this).attr('id');$("#infos_"+id).hide();});$('#selectville').change(function(){$("select option:selected").each(function(){window.location.href=$(this).attr('value');});})});
