function addLoadEvent(_1){var _2=window.onload;if(typeof window.onload!="function"){window.onload=_1;}else{window.onload=function(){_2();_1();};}}Ajax.Responders.register({onCreate:function(){if($("notification")&&Ajax.activeRequestCount>0){Effect.Appear("notification",{duration:0.01,queue:"end"});}},onComplete:function(){if($("notification")&&Ajax.activeRequestCount==0){Effect.Fade("notification",{duration:0.01,queue:"end"});}document.getElementById("notification").style.display="none";}});TestClass=Class.create();TestClass.prototype={initialize:function(){},listeRequest:function(_3){document.getElementById("notification").style.display="block";var _4=new Ajax.Request(_3,{method:"post",onComplete:this.handleRequest});},handleRequest:function(_5){document.getElementById("listeChateaux").innerHTML=_5.responseText;if(liste.totalPage>0){for(j=0;j<document.getElementById("nb_etoiles").value;j++){enablePngImages("puce_etoile"+j,1,liste.http);}}liste.navigation();document.getElementById("notification").style.display="none";}};Classement=Class.create();Classement.prototype={initialize:function(){},listeRequest:function(_6){document.getElementById("notification").style.display="block";var _7=new Ajax.Request(_6,{method:"post",onComplete:this.handleRequest});},handleRequest:function(_8){document.getElementById("classementAppellationTable").innerHTML=_8.responseText;if(liste.totalPage>0){for(j=0;j<document.getElementById("nb_etoiles").value;j++){enablePngImages("puce_etoile"+j,1,liste.http);}}document.getElementById("notification").style.display="none";}};