if((window.ScriptLoader)&&((!window.ScriptLoader.Signature)||(window.ScriptLoader.Signature!="ABA tools - script loader module")||(parseFloat(window.ScriptLoader.Version.split(".")[0]+"."+window.ScriptLoader.Version.split(".")[1])>=1.2))){if(true){throw("'ABA script loader 1.2.6' not loaded");}}else{if(!window.ScriptLoader){window.ScriptLoader={Signature:"ABA tools - script loader module",Version:"1.2.6",ErrStream:"console",LogStream:"console",Verbose:2,InfoEltId:"",InfoEltMsg:"",InfoEltErrMsg:"ERROR: The maximum loading time is over.",InfoEltErrMsgLaunchClick:"Click to try to launch the function anyway...",InfoEltErrMsgLaunchClickError:"Try to refresh the page.",scriptLoaded:function(_1){if(!window.ScriptLoader._srcScriptToLoad[_1]){return;}if(window.ScriptLoader._nbScriptToLoad<=0){return;}window.ScriptLoader._nbScriptToLoad--;window.ScriptLoader._log("  \""+_1+"\" ("+window.ScriptLoader._srcScriptToLoad[_1]+") loaded (still "+window.ScriptLoader._nbScriptToLoad+" scripts to load)",3);delete window.ScriptLoader._srcScriptToLoad[_1];if(window.ScriptLoader.InfoEltId){var _2=document.getElementById(window.ScriptLoader.InfoEltId);if(_2){var _3=Math.pow(10,window.ScriptLoader._precision);var _4=((window.ScriptLoader._maxNbScriptToLoad-window.ScriptLoader._nbScriptToLoad)*100*_3/window.ScriptLoader._maxNbScriptToLoad).toFixed()/_3;_2.innerHTML=window.ScriptLoader.InfoEltMsg+_4+"%";}}},launchWhenAllLoaded:function(_5,_6){if(window.ScriptLoader._locked){setTimeout("window.ScriptLoader.launchWhenAllLoaded("+_5+","+_6+")",100);}else{window.ScriptLoader._launchWhenAllLoaded(_5,(_6)?_6:300);}},loadScript:function(_7,_8,_9){var _a=document.createElement("script");_a.type="text/javascript";if(_8){_a.charset=_8;}_a.src=_7;if(_9){_a.id="ScriptLoaderRuntimeLoaded-"+window.ScriptLoader._lastLoadingIndex;var _b=window.ScriptLoader._lastLoadingIndex++;var _c="";if(window.ScriptLoader.loadScript.arguments.length>3){_c=window.ScriptLoader._parameterToString(window.ScriptLoader.loadScript.arguments[3]);for(var ip=4;ip<window.ScriptLoader.loadScript.arguments.length;ip++){_c+=","+window.ScriptLoader._parameterToString(window.ScriptLoader.loadScript.arguments[ip]);}}window.ScriptLoader._functionToLoad[_b]=function(){window.eval("loadedFunc("+_c+");");};_a.onload=function(){window.ScriptLoader._launchWhenScriptLoaded(_b);};_a.onreadystatechange=function(){window.ScriptLoader._launchWhenScriptLoaded(_b);};window.ScriptLoader._log("  call of the loading of \""+_7+"\" and waiting to launch the associated function...",3);}else{window.ScriptLoader._log("  call of the loading of \""+_7+"\"",3);}var _e=document.getElementsByTagName("head")[0];_e.appendChild(_a);},loadImage:function(_f,_10){var _11=new Image();if(typeof(_10)=="undefined"){_11.id="ScriptLoaderRuntimeLoaded-"+window.ScriptLoader._lastLoadingIndex;var _12=window.ScriptLoader._lastLoadingIndex++;var _13="";if(window.ScriptLoader.loadImage.arguments.length>2){for(var ip=2;ip<window.ScriptLoader.loadImage.arguments.length;ip++){_13+=","+window.ScriptLoader._parameterToString(window.ScriptLoader.loadImage.arguments[ip]);}}window.ScriptLoader._functionToLoad[_12]=function(){window.eval("loadedFunc(image"+_13+");");};_11.onload=function(){window.ScriptLoader._launchWhenImageLoaded(_12,this);};_11.onreadystatechange=function(){window.ScriptLoader._launchWhenImageLoaded(_12,this);};}else{window.ScriptLoader._log("  call of the loading of \""+_f+"\"",3);}_11.src=_f;},loadSrcElement:function(_15,_16){},_nbScriptToLoad:-1,_maxNbScriptToLoad:0,_srcScriptToLoad:new Array(),_onCompleted:new Array(),_functionToLoad:new Array(),_locked:true,_precision:0,_lastRequireIndex:0,_lastLoadingIndex:0,_launchWhenScriptLoaded:function(_17){if(!window.ScriptLoader._functionToLoad[_17]){return;}var _18=document.getElementById("ScriptLoaderRuntimeLoaded-"+_17);if(_18){delete _18.onload;delete _18.onreadystatechange;window.ScriptLoader._log("  \""+_18.src+"\" loaded, launching of the associated function...",3);window.ScriptLoader._functionToLoad[_17]();delete window.ScriptLoader._functionToLoad[_17];}},_launchWhenImageLoaded:function(_19,_1a){if(!window.ScriptLoader._functionToLoad[_19]){return;}if(typeof(_1a)!=null){window.ScriptLoader._log("  \""+_1a.src+"\" loaded, launching of the associated function...",3);window.ScriptLoader._functionToLoad[_19]();delete window.ScriptLoader._functionToLoad[_19];}},_parameterToString:function(_1b){if(typeof(_1b)==="string"){return"'"+_1b+"'";}else{if(typeof(_1b)==="function"){return _1b;}else{if(typeof(_1b)==="object"){if((typeof(_1b.length)==="number")&&(!_1b.propertyIsEnumerable("length"))){return _1b;}else{return _1b;}}else{return _1b;}}}},_require:function(_1c,_1d){window.ScriptLoader._log("  call of the loading of \""+_1c+"\" ("+_1d+")",3);window.ScriptLoader._srcScriptToLoad[_1c]=_1d;var _1e="window.ScriptLoader.scriptLoaded('"+_1c+"');";var _1f="ScriptLoaderLoadedScript-"+window.ScriptLoader._lastRequireIndex;window.ScriptLoader._onCompleted[_1f]=function(_20,_21){var _22=document.getElementById(_20);if(_22&&_22.readyState=="complete"){window.ScriptLoader.scriptLoaded(_21);delete window.ScriptLoader._onCompleted[_20];}};document.write("\n<script type=\"text/javascript\" id=\""+_1f+"\" src=\""+_1c+"\""+((_1d)?" charset=\""+_1d+"\"":"")+" onload=\"javascript:"+_1e+"\" onreadystatechange=\"javascript:window.ScriptLoader._onCompleted['"+_1f+"']('"+_1f+"','"+_1c+"')\"></script>");window.ScriptLoader._lastRequireIndex++;},_waitThenloadAllRequestedScripts:function(){var _23=document.getElementsByTagName("script");var _24=false;for(var is=0;(!_24)&&(is<_23.length);is++){if(_23[is].id&&(_23[is].id=="scriptloaderScriptLoader")){_24=true;}}if(_24&&window.ScriptLoader._loadAllRequestedScripts&&window.ScriptLoader._require){window.ScriptLoader._loadAllRequestedScripts();}else{window.ScriptLoader._log("waiting for complete loading of the head to begin",2);setTimeout("window.ScriptLoader._waitThenloadAllRequestedScripts()",100);}},_loadAllRequestedScripts:function(){window.ScriptLoader._log("Loading... ("+window.ScriptLoader.Signature+", version "+window.ScriptLoader.Version+", verbose = "+window.ScriptLoader.Verbose+"/3)",1);var _26=document.getElementsByTagName("script");var _27=new Array();var nss=0;for(var is=0;is<_26.length;is++){if(_26[is].id&&_26[is].id.match(/scriptloadercall\.js(\?.*)?$/)){var _2a=_26[is].id.replace(/scriptloadercall\.js(\?.*)?$/,"");var _2b=_26[is].id.match(/\?.*prefix=([a-zA-Z0-9-_\.]*)/);var _2c=_26[is].id.match(/\?.*load=([a-zA-Z0-9-_\.,]*)/);var _2d=_26[is].id.match(/\?.*ext=([a-zA-Z0-9-_\.]*)/);var _2e=_26[is].id.match(/\?.*charset=([a-zA-Z0-9-_\.]*)/);if(!_2c){continue;}else{_2c=_2c[1];}_2b=(_2b)?_2b[1]:"";_2d=(_2d)?_2d[1]:"js";_2e=(_2e)?_2e[1]:null;var tab=_2c.split(",");for(var it=0;it<tab.length;it++){_27[nss++]={src:_2a+_2b+tab[it]+"."+_2d,charset:_2e};}}}_27=window.ScriptLoader._noDoubleSrc(_27);if((_27.length>0)&&(window.ScriptLoader._nbScriptToLoad<0)){window.ScriptLoader._nbScriptToLoad=0;}window.ScriptLoader._nbScriptToLoad+=_27.length;window.ScriptLoader._maxNbScriptToLoad+=_27.length;for(var isd=0;isd<_27.length;isd++){window.ScriptLoader._require(_27[isd].src,_27[isd].charset);}window.ScriptLoader._log("  "+window.ScriptLoader._nbScriptToLoad+" scripts to load...",1);window.ScriptLoader._locked=false;},_launchWhenAllLoaded:function(_32,_33){if(window.ScriptLoader._nbScriptToLoad==0){window.ScriptLoader._log("Launching...",1);window.ScriptLoader._nbScriptToLoad==-1;_32();}else{if(_33>0){window.ScriptLoader._log("  waiting for complete loading before launching... (still "+window.ScriptLoader._nbScriptToLoad+" scripts and "+(_33-1)+" tries)",2);setTimeout("window.ScriptLoader._launchWhenAllLoaded("+_32+","+(_33-1)+")",100);}else{window.ScriptLoader._nbScriptToLoad==-1;window.ScriptLoader._log("ERROR : maximum number of tries reached",0);for(var _34 in window.ScriptLoader._srcScriptToLoad){if(typeof(window.ScriptLoader._srcScriptToLoad[_34])!=="function"){window.ScriptLoader._log("  "+_34+" not loaded",0);}}if(window.ScriptLoader.InfoEltId&&window.ScriptLoader.InfoEltErrMsg){var elt=document.getElementById(window.ScriptLoader.InfoEltId);if(elt){elt.innerHTML=elt.innerHTML+"<br />"+window.ScriptLoader.InfoEltErrMsg+"<br />"+window.ScriptLoader.InfoEltErrMsgLaunchClick+"<br />"+window.ScriptLoader.InfoEltErrMsgLaunchClickError;}}window.ScriptLoader._log("Try to launch anyway...",1);_32();}}},_noDoubleSrc:function(tab){var _37=new Array();var nd=0;for(var it=0;it<tab.length;it++){var _3a=false;for(var ind=0;(!_3a)&&(ind<nd);ind++){if(_37[ind].src==tab[it].src){_3a=true;}}if(!_3a){_37[nd++]=tab[it];}}return _37;},_log:function(msg,_3d){if(!_3d){_3d=window.ScriptLoader.Verbose;}if(window.ScriptLoader.LogStream){if(window.ScriptLoader.LogStream=="console"){if((_3d<=window.ScriptLoader.Verbose)&&(typeof(console)!="undefined")&&console.log){console.log("ScriptLoader: "+msg);}}else{if(_3d<=window.ScriptLoader.Verbose){alert("ScriptLoader: "+msg);}}}},_error:function(msg){if(window.ScriptLoader.ErrStream){if(window.ScriptLoader.ErrStream=="console"){if((typeof(console)!="undefined")&&console.warn){console.warn("ScriptLoader: "+msg);}}else{alert("ScriptLoader: "+msg);}}}};}}