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;i<arguments.length;i++){s+="document.layers."+arguments[i]+"."}return eval(s+"document.layers."+nm)}return null}function getDivName(A){if(_dom==4||_dom==2||_dom==1){return A.id}if(_dom==3){return A.name}return""}function createLayer(E,K,D,M,A){var N="";if(arguments.length>5){for(var F=5;F<arguments.length;F++){N+=arguments[F]}}if(_dom==4){var H="_js_layer_"+_createLayerNo;_createLayerNo++;var L=A?A:document.body;var B=document.createElement("DIV");B.id=H;B.setAttribute("style","position:absolute;left:"+E+";top:"+K+(D>0?(";width:"+D):"")+(M>0?(";height:"+M):"")+";visibility:hidden");var G=document.createRange();G.selectNodeContents(B);G.collapse(true);var C=G.createContextualFragment(N);B.appendChild(C);L.appendChild(B);return B}if(_dom==2||_dom==1){var J=(_mac&&!_ie512)?" ":"";var H="_js_layer_"+_createLayerNo;_createLayerNo++;var I=(M>0)?(";height:"+M):"";var L=A?A:document.body;L.insertAdjacentHTML("BeforeEnd",'<div id="'+H+'" style="position:absolute;left:'+E+";top:"+K+(D>0?(";width:"+D):";width:1")+(M>0?(";height:"+M):"")+';visibility:hidden;">'+N+"</div>"+J);return document.all(H)}if(_dom==3){var B=A?(new Layer(D,A)):(new Layer(D));if(M>0){B.resizeTo(D,M)}B.moveTo(E,K);if(N!=""){B.document.open("text/html","replace");B.document.write(N);B.document.close()}return B}return null}function createExLayer(C,E,J,D,K,A){if(_dom==4){var G="_js_layer_"+_createLayerNo;_createLayerNo++;var L=A?A:document.body;var B=document.createElement("IFRAME");B.id=G;B.name=G;B.setAttribute("style","position:absolute;left:"+E+";top:"+J+";width:"+D+(K>0?(";height:"+K):"")+";visibility:hidden");B.setAttribute("src",C);B.setAttribute("frameborder",0);B.setAttribute("scrolling","no");L.appendChild(B);return B}if(_dom==2||_dom==1){var I=(_mac&&_ie512)?" ":"";var F,G="_js_layer_"+_createLayerNo;_createLayerNo++;var H=(K>0)?(";height:"+K):"";if(arguments.length>5&&A){F=A}else{F=document.body}F.insertAdjacentHTML("BeforeEnd",'<div id="'+G+'" style="position:absolute;left:'+E+";top:"+J+";width:"+D+H+';visibility:hidden;"><iframe src="'+C+'" name="'+G+'_if" width='+D+" height="+K+'marginwidth=0 marginheight=0 scrolling="no" frameborder="no"></iframe></div>'+I);return document.all(G)}if(_dom==3){var B=A?(new Layer(D,A)):(new Layer(D));if(K>0){B.resizeTo(D,K)}B.moveTo(E,J);B.load(C,D);return B}return null}function getDivImage(B,A){if(_dom==4){return document.images[A]}if(_dom==2||_dom==1){return document.images(A)}if(_dom==3){return B.document.images[A]}return null}function getDivForm(B,A){if(_dom==4){return document.forms[A]}if(_dom==2||_dom==1){return document.forms(A)}if(_dom==3){return B.document.forms[A]}return null}function initDivPos(A){if(_dom==4){A.style.left=A.offsetLeft+"px";A.style.top=A.offsetTop+"px"}else{if(_dom==2||_dom==1){A.style.pixelLeft=A.offsetLeft;A.style.pixelTop=A.offsetTop}}return A}function getDivLeft(A){if(_dom==4||_dom==2){return A.offsetLeft}if(_dom==1){return A.style.pixelLeft}if(_dom==3){return A.left}return 0}function getDivTop(A){if(_dom==4||_dom==2){return A.offsetTop}if(_dom==1){return A.style.pixelTop}if(_dom==3){return A.top}return 0}function moveDivTo(C,B,A){if(_dom==4){C.style.left=B+"px";C.style.top=A+"px";return}if(_dom==2||_dom==1){C.style.pixelLeft=B;C.style.pixelTop=A;return}if(_dom==3){C.moveTo(B,A);return}}function moveDivBy(C,B,A){if(_dom==4){C.style.left=C.offsetLeft+B;C.style.top=C.offsetTop+A;return}if(_dom==2){C.style.pixelLeft=C.offsetLeft+B;C.style.pixelTop=C.offsetTop+A;return}if(_dom==1){C.style.pixelLeft+=B;C.style.pixelTop+=A;return}if(_dom==3){C.moveBy(B,A);return}}function scrollExlHItTo(C,A){if(_dom==4){frames[C.id].scrollTo(A,frames[C.id].scrollY);return}if(_dom==2||_dom==1){frames(C.id+"_if").scrollTo(A,frames(C.id+"_if").document.body.scrollTop);return}if(_dom==3){var B=A-C.clip.left,D=C.clip.width;C.left-=B;C.clip.left=A;C.clip.width=D;return}return}function scrollExlVItTo(B,D){if(_dom==4){frames[B.id].scrollTo(frames[B.id].scrollX,D);return}if(_dom==2||_dom==1){frames(B.id+"_if").scrollTo(frames(B.id+"_if").document.body.scrollLeft,D);return}if(_dom==3){var A=D-B.clip.top,C=B.clip.height;B.top-=A;B.clip.top=D;B.clip.height=C;return}return}function initDivSize(A){if(_dom==4){A.style.width=A.offsetWidth+"px";A.style.height=A.offsetHeight+"px"}else{if(_dom==2||_dom==1){A.style.pixelWidth=A.offsetWidth;A.style.pixelHeight=A.offsetHeight}}return A}function getDivWidth(A){if(_dom==4||_dom==2){return A.offsetWidth}if(_dom==1){return A.style.pixelWidth}if(_dom==3){return A.clip.width}return 0}function getDivHeight(A){if(_dom==4||_dom==2){return A.offsetHeight}if(_dom==1){return A.style.pixelHeight}if(_dom==3){return A.clip.height}return 0}function resizeDivTo(C,B,A){if(_dom==4){C.style.width=B+"px";C.style.height=A+"px";return}if(_dom==2||_dom==1){C.style.pixelWidth=B;C.style.pixelHeight=A;return}if(_dom==3){C.resizeTo(B,A);return}}function resizeDivBy(C,B,A){if(_dom==4){C.style.width=(C.offsetWidth+B)+"px";C.style.height=(C.offsetHeight+A)+"px";return}if(_dom==2){C.style.pixelWidth=C.offsetWidth+B;C.style.pixelHeight=C.offsetHeight+A;return}if(_dom==1){C.style.pixelWidth+=B;C.style.pixelHeight+=A;return}if(_dom==3){C.resizeBy(B,A);return}}function getExlWidth(A){if(_dom==4){return A.contentDocument.body.offsetWidth}if(_dom==2||_dom==1){return _mac?frames(A.id+"_if").document.body.offsetWidth:frames(A.id+"_if").document.body.scrollWidth}if(_dom==3){return A.document.width}return 0}function getExlHeight(A){if(_dom==4){return A.contentDocument.body.offsetHeight}if(_dom==2||_dom==1){return _mac?frames(A.id+"_if").document.body.offsetHeight:frames(A.id+"_if").document.body.scrollHeight}if(_dom==3){return A.document.height}return 0}function setDivVisibility(B,A){if(_dom==4||_dom==2||_dom==1){B.style.visibility=(A)?"inherit":"hidden";return}if(_dom==3){B.visibility=(A)?"inherit":"hide";return}}function setDivVisibilities(B,C){if(_dom==4||_dom==2||_dom==1){for(var A=0;A<B.length;A++){B[A].style.visibility=(C)?"inherit":"hidden"}}if(_dom==3){for(var A=0;A<B.length;A++){B[A].visibility=(C)?"inherit":"hide"}}return B}function setDivClip(E,D,B,A,C){if(_dom==4||_dom==2||_dom==1){E.style.clip="rect("+D+"px "+B+"px "+A+"px "+C+"px)";return}if(_dom==3){E.clip.top=D;E.clip.right=B;E.clip.bottom=A;E.clip.left=C;return}}function writeDivHTML(G,F,A){var D="";for(var C=3;C<arguments.length;C++){D+=arguments[C]}if(_dom==4){if(F){while(G.hasChildNodes()){G.removeChild(G.lastChild)}}var B=document.createRange();B.selectNodeContents(G);B.collapse(true);var E=B.createContextualFragment(D);G.appendChild(E);return}if(_dom==2||_dom==1){if(F){G.innerHTML=""}if(_mac&&!_ie512){G.innerHTML+=D}else{G.insertAdjacentHTML("BeforeEnd",D)}return}if(_dom==3){if(F){G.document.open("text/html","replace")}G.document.write(D);if(A){G.document.close()}return}}function setDivBackgroundColor(B,A){if(A==null){A="transparent"}if(_dom==3){B.bgColor=A}else{B.style.backgroundColor=A}}function setDivBackgroundImage(B,A){if(_dom==3){B.background.src=A?A:null}else{B.style.backgroundImage=A?("url("+A+")"):"none"}}function setDivZIndex(B,A){if(_dom==4||_dom==2||_dom==1){B.style.zIndex=A;return}if(_dom==3){B.zIndex=A;return}}function setDivStyleAttribute(div,nm,value){if(_dom!=0&&_dom!=3){eval("div.style."+nm+"=value")}return div}function changeExlURL(B,A){if(_dom==4){B.setAttribute("src",A);return}if(_dom==2||_dom==1){frames(B.id+"_if").location.replace(A);return}if(_dom==3){B.load(A,B.clip.width);return}return}function getLeftFromEvent(A){if(_dom==4){return A.clientX+window.scrollX}if(_dom==2||_dom==1){return document.body.scrollLeft+window.event.clientX}if(_dom==3){return A.pageX}return 0}function getTopFromEvent(A){if(_dom==4){return A.clientY+window.scrollY}if(_dom==2||_dom==1){return document.body.scrollTop+window.event.clientY}if(_dom==3){return A.pageY}return 0};
