//Apparitions/disparitions d'objets
function aff(id) { document.getElementById(id).style.display='inline';}
function off(id) { document.getElementById(id).style.display='none';}

document.onmousedown = effacePop;document.onclick=effacePop;document.onkeydown = effacePop;
function pop(img,offset) {if(typeof(offset)=='undefined') offset=0;var thisPop=document.getElementById('pop');thisPop.style.top=Mouse_Y-offset+'px';thisPop.style.visibility='visible';thisPop.src=img;}
function effacePop()
 {thisPop=document.getElementById('pop');if(thisPop) {thisPop.style.visibility='hidden';thisPop.src='../../skins/img/sand.gif';}}


