// Copyright by Kruglov S. A. (kruglov.ru) 2003 function initKLayers(){ isDOM=document.getElementById?true:false isOpera=isOpera5=window.opera && isDOM isOpera6=isOpera && window.print isOpera7=isOpera && document.readyState isMSIE=isIE=document.all && document.all.item && !isOpera isStrict=document.compatMode=='CSS1Compat' isNN=isNC=navigator.appName=="Netscape" isNN4=isNC4=isNN && !isDOM isMozilla=isNN6=isNN && isDOM if(!isDOM && !isNC && !isMSIE && !isOpera){ KLayers=false return false } pageLeft=0 pageTop=0 KL_imgCount=0 KL_imgArray=new Array() KL_imageRef="document.images[\"" KL_imagePostfix="\"]" KL_styleSwitch=".style" KL_layerPostfix="\"]" if(isNN4){ KL_layerRef="document.layers[\"" KL_styleSwitch="" } if(isMSIE){ KL_layerRef="document.all[\"" } if(isDOM){ KL_layerRef="document.getElementById(\"" KL_layerPostfix="\")" } KLayers=true return true } initKLayers() // document and window functions: function KL_getBody(w){ if(!w) w=window if(isStrict){ return w.document.documentElement }else{ return w.document.body } } var KL_LAYER=0 function KL_findObject(what,where,type){ var i,j,l,s var len=eval(where+".length") for(j=0;j