/******************************************************************************************** * BlueShoes Framework; This file is part of the php application framework. * NOTE: This code is stripped (obfuscated). To get the clean documented code goto * www.blueshoes.org and register for the free open source *DEVELOPER* version or * buy the commercial version. * * In case you've already got the developer version, then this is one of the few * packages/classes that is only available to *PAYING* customers. * To get it go to www.blueshoes.org and buy a commercial version. * * @copyright www.blueshoes.org * @author Samuel Blume * @author Andrej Arn */ LCB_version = 2.8;_mac=navigator.userAgent.indexOf('Mac')!=-1;_ie512=navigator.userAgent.indexOf('MSIE 5.12')!=-1;_dom = document.all?(document.getElementById?2:1) :(document.getElementById?4:(document.layers?3:0));_createLayerNo = 0;function initCrossBrowserLib(){ _mac=navigator.userAgent.indexOf('Mac')!=-1;_ie512=navigator.userAgent.indexOf('MSIE 5.12')!=-1;_dom=document.all?(document.getElementById?2:1) :(document.getElementById?4:(document.layers?3:0));_createLayerNo=0;} initCrossBrowserLib();function getWindowWidth (){ if(_dom==4 || _dom==3) return window.innerWidth;if(_dom==2 || _dom==1) return document.body.clientWidth;return 0;} function getWindowHeight(){ if(_dom==4 || _dom==3) return window.innerHeight;if(_dom==2 || _dom==1) return document.body.clientHeight;return 0;} function getWinXOffset(){ if(_dom==4) return window.scrollX;if(_dom==2 || _dom==1) return document.body.scrollLeft;if(_dom==3) return window.pageXOffset;return 0;} function getWinYOffset(){ if(_dom==4) return window.scrollY;if(_dom==2 || _dom==1) return document.body.scrollTop;if(_dom==3) return window.pageYOffset;return 0;} function getDivFromName(nm){ if(_dom==4 || _dom==2) return document.getElementById(nm);if(_dom==1) return document.all(nm);if(_dom==3){ var s='';for(var i=1; i5){ for(var i=5; i0?(';width:' +width ):'') +(height>0?(';height:'+height):'') +';visibility:hidden');var range=document.createRange();range.selectNodeContents(div);range.collapse(true);var cf=range.createContextualFragment(s);div.appendChild(cf);pDiv.appendChild(div);return div;} if(_dom==2 || _dom==1){ var adj =(_mac&&!_ie512)?' ':'';var divName= '_js_layer_'+_createLayerNo; _createLayerNo++;var ha =(height>0)?(';height:'+height):'';var pDiv =parentDiv?parentDiv:document.body;pDiv.insertAdjacentHTML('BeforeEnd', '