//---------------------N--O--T--E--S----------------------------------- // При использовании этого scriptlib нельзя в скриптах использовать window.onload, тк скрипт уже устанавливает свой обработчик этого события // Используйте browser.onload //---------------------CONFIGURED VARS--------------------------------/ var scriptlibPath="file:///E|/data/http/lib/js/scriptlib/"; //---------------------PRIVATE VARS------------------------------------/ var imagePreloaderCount=0; var imagePreloaderArray=new Array(); //-----------------------------OBJECTS---------------------------------/ var browser=new browserObj(); function browserObj(){ this.loadedLibs=new Array(); this.isALL=(document.all)?true:false; this.isDOM=(document.getElementById)?true:false; this.IE4=((_shortName()=="IExplorer")&&(type(1)==4)); this.IE5=((_shortName()=="IExplorer")&&(type(1)==5)); this.IE6=((_shortName()=="IExplorer")&&(type(1)==6)); this.IE=this.IE4 || this.IE5; this.NS4=(document.layers)?true:false; this.NS6=this.isDOM && !this.isALL; this.isJava=navigator.javaEnabled(); this.isLoaded=false; this.shortName=_shortName(); this.styleSwitch=this.NS4 ? "" : ".style"; this.version=type; this.isCookie=_testCookie(this); this.preload=_browserPreload; this.pause= _browserPause; this.getDocumentWidth=_browserWidth; this.getDocumentHeight=_browserHeight; } //-----------------------------PUBLIC FUNC---------------------------------/ function require(name){ var ret=false; for(var i=0;i