var ouverture;
var VitesseOuverture = 20;
var Incrementation = 30;
var leLien = 'chercher';
var NomDiv = 'DivCachee';
var PropRight = 360;
var PropBottom = 160;

function VideVar() { document.formulaire.longueur.value=''; document.formulaire.largeur.value=''; document.formulaire.tarif.value='';}  
function VideVarO() { document.formulaire.tarif.value='';}  
function ouvrir(passtp) { VideVarO(); tp=passtp;  window.document.getElementById(NomDiv).style.clip="rect(auto, 0px, 0px, auto)"; window.document.getElementById(NomDiv).style.display='block'; ouverture = window.setInterval("aggrandissement()",VitesseOuverture);}
function aggrandissement() { clipProp = (window.document.getElementById(NomDiv).style.clip).split(" "); pixel = "px"; if(!document.all)	pixel+=","; theRight = new Number(clipProp[1].replace(new RegExp(pixel), '')); theBottom = new Number(clipProp[2].replace(new RegExp(pixel), '')); if(theBottom<PropBottom) /* Script par SirJojO */ theBottom = theBottom+Incrementation; if(theRight<PropRight) /* Forums http://www.editeurjavascript.com/ */ theRight = theRight+Incrementation; else {	window.clearInterval(ouverture); window.document.getElementById(leLien).onclick=cacheBloc;} window.document.getElementById(NomDiv).style.clip="rect(auto, "+theRight+"px, "+theBottom+"px, auto)";}
function cacheBloc() { window.document.getElementById(NomDiv).style.display='none'; VideVar();}

