var isMinNS4=document.layers;var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1;var dom=document.getElementById&&!ie&&navigator.userAgent.indexOf("Opera")==-1;function hideLayer(_1){if(isMinNS4){_1.visibility="hide";}if(ie||dom){_1.style.visibility="hidden";}}function showLayer(_2){if(isMinNS4){_2.visibility="show";}if(ie||dom){_2.style.visibility="visible";}}function inheritLayer(_3){if(isMinNS4){_3.visibility="inherit";}if(ie||dom){_3.style.visibility="inherit";}}function getVisibility(_4){if(isMinNS4){if(_4.visibility=="show"){return "visible";}if(_4.visibility=="hide"){return "hidden";}return _4.visibility;}if(ie||dom){return _4.style.visibility;}return "";}function isVisible(_5){if(isMinNS4&&_5.visibility=="show"){return (true);}if(ie||dom&&_5.style.visibility=="visible"){return (true);}return (false);}function moveLayerTo(_6,x,y){if(isMinNS4){_6.moveTo(x,y);}if(ie||dom){_6.style.left=x;_6.style.top=y;}}function moveLayerBy(_9,dx,dy){if(isMinNS4){_9.moveBy(dx,dy);}if(ie||dom){_9.style.left=parseInt(_9.style.left)+dx;_9.style.top=parseInt(_9.style.top)+dy;}}function getLeft(_c){if(isMinNS4){return (_c.left);}if(ie||dom){return (parseInt(_c.style.left));}return (-1);}function getTop(_d){if(isMinNS4){return (_d.top);}if(ie||dom){return (parseInt(_d.style.top));}return (-1);}function getRight(_e){if(isMinNS4){return (_e.left+getWidth(_e));}if(ie||dom){return (parseInt(_e.style.left)+getWidth(_e));}return (-1);}function getBottom(_f){if(isMinNS4){return (_f.top+getHeight(_f));}else{if(ie||dom){return (parseInt(_f.style.top)+getHeight(_f));}}return (-1);}function getPageLeft(_10){if(isMinNS4){return (_10.pageX);}if(ie||dom){return (_10.offsetLeft);}return (-1);}function getPageTop(_11){if(isMinNS4){return (_11.pageY);}if(ie||dom){return (_11.offsetTop);}return (-1);}function getWidth(_12){if(isMinNS4){if(_12.document.width){return (_12.document.width);}else{return (_12.clip.right-_12.clip.left);}}if(ie||dom){if(_12.style.width){return (_12.style.width);}else{return (_12.offsetWidth);}}return (-1);}function getHeight(_13){if(isMinNS4){if(_13.document.height){return (_13.document.height);}else{return (_13.clip.bottom-_13.clip.top);}}if(ie||dom){if(false&&_13.style.height){return (_13.style.height);}else{return (_13.offsetHeight);}}return (-1);}function getzIndex(_14){if(isMinNS4){return (_14.zIndex);}if(ie||dom){return (_14.style.zIndex);}return (-1);}function setzIndex(_15,z){if(isMinNS4){_15.zIndex=z;}if(ie||dom){_15.style.zIndex=z;}}function clipLayer(_17,_18,_19,_1a,_1b){if(isMinNS4){_17.clip.left=_18;_17.clip.top=_19;_17.clip.right=_1a;_17.clip.bottom=_1b;}if(ie||dom){_17.style.clip="rect("+_19+" "+_1a+" "+_1b+" "+_18+")";}}function getClipLeft(_1c){if(isMinNS4){return (_1c.clip.left);}if(ie||dom){var str=_1c.style.clip;if(!str){return (0);}var _1e=getIEClipValues(_1c.style.clip);return (_1e[3]);}return (-1);}function getClipTop(_1f){if(isMinNS4){return (_1f.clip.top);}if(ie||dom){var str=_1f.style.clip;if(!str){return (0);}var _21=getIEClipValues(_1f.style.clip);return (_21[0]);}return (-1);}function getClipRight(_22){if(isMinNS4){return (_22.clip.right);}if(ie||dom){var str=_22.style.clip;if(!str){return (_22.style.width);}var _24=getIEClipValues(_22.style.clip);return (_24[1]);}return (-1);}function getClipBottom(_25){if(isMinNS4){return (_25.clip.bottom);}if(ie||dom){var str=_25.style.clip;if(!str){return (_25.style.height);}var _27=getIEClipValues(_25.style.clip);return (_27[2]);}return (-1);}function getClipWidth(_28){if(isMinNS4){return (_28.clip.width);}if(ie||dom){var str=_28.style.clip;if(!str){return (_28.style.width);}var _2a=getIEClipValues(_28.style.clip);return (_2a[1]-_2a[3]);}return (-1);}function getClipHeight(_2b){if(isMinNS4){return (_2b.clip.height);}if(ie||dom){var str=_2b.style.clip;if(!str){return (_2b.style.height);}var _2d=getIEClipValues(_2b.style.clip);return (_2d[2]-_2d[0]);}return (-1);}function getIEClipValues(str){var _2f=new Array();var i;i=str.indexOf("(");_2f[0]=parseInt(str.substring(i+1,str.length),10);i=str.indexOf(" ",i+1);_2f[1]=parseInt(str.substring(i+1,str.length),10);i=str.indexOf(" ",i+1);_2f[2]=parseInt(str.substring(i+1,str.length),10);i=str.indexOf(" ",i+1);_2f[3]=parseInt(str.substring(i+1,str.length),10);return (_2f);}function scrollLayerTo(_31,x,y,_34){var dx=getClipLeft(_31)-x;var dy=getClipTop(_31)-y;scrollLayerBy(_31,-dx,-dy,_34);}function scrollLayerBy(_37,dx,dy,_3a){var cl=getClipLeft(_37);var ct=getClipTop(_37);var cr=getClipRight(_37);var cb=getClipBottom(_37);if(_3a){if(cl+dx<0){dx=-cl;}else{if(cr+dx>getWidth(_37)){dx=getWidth(_37)-cr;}}if(ct+dy<0){dy=-ct;}else{if(cb+dy>getHeight(_37)){dy=getHeight(_37)-cb;}}}clipLayer(_37,cl+dx,ct+dy,cr+dx,cb+dy);moveLayerBy(_37,-dx,-dy);}function setBgColor(_3f,_40){if(isMinNS4){_3f.bgColor=_40;}if(ie||dom){_3f.style.backgroundColor=_40;}}function setBgImage(_41,src){if(isMinNS4){_41.background.src=src;}if(ie||dom){_41.style.backgroundImage="url("+src+")";}}function getLayer(_43){if(isMinNS4){return findLayer(_43,document);}if(ie){return eval("document.all."+_43);}if(dom){return document.getElementById(_43);}return null;}function findLayer(_44,doc){var i,layer;for(i=0;i<doc.layers.length;i++){layer=doc.layers[i];if(layer.name==_44){return layer;}if(layer.document.layers.length>0){layer=findLayer(_44,layer.document);if(layer!=null){return layer;}}}return null;}function getWindowWidth(){if(isMinNS4||dom){return (window.innerWidth);}if(ie){return (document.body.clientWidth);}return (-1);}function getWindowHeight(){if(isMinNS4||dom){return (window.innerHeight);}if(ie){return (document.body.clientHeight);}return (-1);}function getPageWidth(){if(isMinNS4||dom){return (document.width);}if(ie){return (document.body.scrollWidth);}return (-1);}function getPageHeight(){if(isMinNS4||dom){return (document.height);}if(ie){return (document.body.scrollHeight);}return (-1);}function getPageScrollX(){if(isMinNS4||dom){return (window.pageXOffset);}if(ie){return (document.body.scrollLeft);}return (-1);}function getPageScrollY(){if(isMinNS4||dom){return (window.pageYOffset);}if(ie){return (document.body.scrollTop);}return (-1);}