﻿function Flyout2(_O,_o,_Y,_y,_I,_i,_A,_a,_E,_e,_U,_u,_Z,_z,_X,_x,_W){ this._O=_O; this._w=document.getElementById(_y+"box"); if (_o==""){ this._V=document.createElement("a"); this._V.style.display="none"; this._w.appendChild(this._V); }else { this._V=document.getElementById(_o); }if (this._V==null){alert("["+_o+"]:Object not found"); return; }if (this._V.nodeName.toLowerCase()=="area")this._V._v=document.getElementById(_Y); this._V._T=this ; this._y=_y; this._E=_E; this._e=_e; this._U=_U; this._u=_u; this._t=this._u; this._I=_I; this._i=_i; this._Z=_Z; this._z=_z; this._X=_X; this._S=this._V; this._A=_A; this._a=_a; this._x=_x; this._s= false; this._R= false; this._r=null; this._Q=null; this._q=null; this._W=_W; Flyout2.prototype.OnOpen= function (){} ; Flyout2.prototype.OnClose= function (){} ; Flyout2.prototype.OnInit= function (){} ; this._P="close"; this._p=new _N(this,this._w,_y,this._x); this._n=new _M(this,this._V,this._p._m); this._p._L( false); Flyout2.prototype.AttachTo= function (_l){var _K=document.getElementById(_l); if (_K!=null){ this._V._k="a"; if (_K._k==null){ this._V._k=null; this._P="close"; this._n._J(this._V); this._S=_K; this._V=_K; this._p._L( false); this.setPosition(this._I,this._i); this._n._j(this._V); if (this._H)clearTimeout(this._H); for (var i=0; i<this._r.length; i++)this._r[i]._h(); for (var i=0; i<this._Q.length; i++)this._Q[i]._h(); this._P="close"; } this._V._k=null; }} ; Flyout2.prototype.setzIndex= function (_G){ this._x=_G; this._p.setzIndex(this._x); } ; Flyout2.prototype.setOpenTime= function (_g){ this._E=_g; } ; Flyout2.prototype.setCloseTime= function (_F){ this._e=_F; } ; Flyout2.prototype.setDelayTime= function (_f){ this._U=_f; } ; Flyout2.prototype.setResolution= function (_D){ this._u=_D; } ; Flyout2.prototype.setOpacity= function (_d){ this._X=_d; } ; Flyout2.prototype.setOpenEvent= function (_C){ this._A=_C; } ; Flyout2.prototype.setCloseEvent= function (_c){ this._a=_c; } ; Flyout2.prototype._B= function (){var _b=document.getElementsByTagName("select"); for (var i=0; i<_b.length; i++){_b[i].blur(); }} ; Flyout2.prototype.rDP= function (_o0,_O0,_l0,_i0){var _K=_I0._o1(_o0,this._p._m); if (_K!=null){_K.id=_O0; var _O1=new _l1(this,_O0,_l0,_i0); if (!this._q)this._q=new Array(); this._q.push(_O1); }} ; Flyout2.prototype.removeOCB= function (){document.getElementById(this._y).parentNode.removeChild(document.getElementById(this._y)); } ; Flyout2.prototype.setRelativePosition= function (_i1,_I1){ this._Z=_i1; this._z=_I1; var _o2=_I0._O2(this._S); this._p.setPosition(_o2.left+this._Z,_o2.top+this._z); } ; Flyout2.prototype._l2= function (_i1,_I1){var _o2=_I0._O2(this._S); this._Z=_i1-_o2.left; this._z=_I1-_o2.top; this._p.setPosition(_o2.left+this._Z,_o2.top+this._z); } ; Flyout2.prototype.setPosition= function (_I,_i){ this._I=_I; this._i=_i; var _o2=_I0._O2(this._S); var _i2=_o2.width; var _I2=_o2.height; var _o3=this._p._O3(); var _i1=0; var _I1=0; switch (this._I){case "ABSOLUTE":return; break; case "TOP_LEFT":_i1=-_o3.width; _I1=-_o3.height; break; case "TOP_CENTER":switch (_i){case "LEFT":_i1=0; _I1=-_o3.height; break; case "RIGHT":_i1=_i2-_o3.width; _I1=-_o3.height; break; case "MIDDLE":case "TOP":case "BOTTOM":default:_i1=(_i2-_o3.width)/2; _I1=-_o3.height; break; }break; case "TOP_RIGHT":_i1=_i2; _I1=-_o3.height; break; case "MIDDLE_LEFT":switch (_i){case "TOP":_i1=-_o3.width; _I1=0; break; case "BOTTOM":_i1=-_o3.width; _I1=_I2-_o3.height; break; case "LEFT":case "RIGHT":case "MIDDLE":default:_i1=-_o3.width; _I1=(_I2-_o3.height)/2; break; }break; case "MIDDLE_CENTER":switch (_i){case "LEFT":_i1=0; _I1=(_I2-_o3.height)/2; break; case "RIGHT":_i1=_i2-_o3.width; _I1=(_I2-_o3.height)/2; break; case "TOP":_i1=(_i2-_o3.width)/2; _I1=0; break; case "BOTTOM":_i1=(_i2-_o3.width)/2; _I1=_I2-_o3.height; break; case "MIDDLE":default:_i1=(_i2-_o3.width)/2; _I1=(_I2-_o3.height)/2; break; }break; case "MIDDLE_RIGHT":switch (_i){case "TOP":_i1=_i2; _I1=0; break; case "BOTTOM":_i1=_i2; _I1=_I2-_o3.height; break; case "LEFT":case "RIGHT":case "MIDDLE":default:_i1=_i2; _I1=(_I2-_o3.height)/2; break; }break; case "BOTTOM_LEFT":_i1=-_o3.width; _I1=_I2; break; case "BOTTOM_CENTER":switch (_i){case "LEFT":_i1=0; _I1=_I2; break; case "RIGHT":_i1=_i2-_o3.width; _I1=_I2; break; case "MIDDLE":case "TOP":case "BOTTOM":default:_i1=(_i2-_o3.width)/2; _I1=_I2; break; }break; case "BOTTOM_RIGHT":_i1=_i2; _I1=_I2; break; } this.setRelativePosition(_i1,_I1); } ; Flyout2.prototype._l3= function (_i3){ this._S=_i3; } ; Flyout2.prototype.registerOpenEffect= function (_I3){if (this._r==null)this._r=new Array(); _I3._o4=this ; this._r.push(_I3); } ; Flyout2.prototype.registerCloseEffect= function (_I3){if (this._Q==null)this._Q=new Array(); _I3._o4=this ; this._Q.push(_I3); } ; Flyout2.prototype.removeAllEffects= function (){ this._r=new Array(); this._Q=new Array(); } ; Flyout2.prototype.render= function (_O4){switch (this._P){case "opening":if (_O4>=this._u){ this._P="open"; this._p._L( true); this.setRelativePosition(this._Z,this._z); this._p.setOpacity(this._X); this.HandleEvent("updateAction"); if (this.OnOpen!=null)this.OnOpen(); return; }_l4=1; if (this._r!=null)for (var i=0; i<this._r.length; i++)this._r[i]._i4(_O4); this._H=setTimeout(this._O+".render("+(_O4+_l4)+")",this._E/this._u); break; case "closing":if (_O4<=0){ this._P="close"; this._p._L( false); this.HandleEvent("updateAction"); if (this.OnClose!=null)this.OnClose(); return; }_l4=-1; if (this._Q!=null)for (var i=0; i<this._Q.length; i++)this._Q[i]._i4(_O4); this._H=setTimeout(this._O+".render("+(_O4+_l4)+")",this._e/this._u); break; }} ; Flyout2.prototype.Open= function (){switch (this._P){case "close": this._p._L( true); this._p.setOpacity(0); if (this._I=="ABSOLUTE")this.setRelativePosition(this._Z,this._z); else this.setPosition(this._I,this._i); this._p.setOpacity(this._X); this._p._L( false); this._B(); this._P="opening"; this.render(0); break; case "closing":break; }} ; Flyout2.prototype.Close= function (){switch (this._P){case "open": this._P="closing"; this.render(this._u); break; case "opening":break; }} ; Flyout2.prototype.HandleEvent= function (_I4){switch (_I4){case "updateAction":case "target.mouseover":case "target.mouseout":case "contentlayer.mouseover":case "contentlayer.mouseout":if (this._A.toLowerCase()=="onmouseover"){if (this._s){ this.Open(); }}if (this._a.toLowerCase()=="onmouseout"){if (this._s== false && this._R== false){ this.Close(); }}break; case "target.leftclick":if (this._A.toLowerCase()=="onclick")this.Open(); break; case "target.rightclick":if (this._A.toLowerCase()=="onrightclick")this.Open(); break; case "target.focus":if (this._A.toLowerCase()=="onfocus")this.Open(); break; case "target.focusout":if (this._a.toLowerCase()=="onfocusout")this.Close(); break; }} ; this.setPosition(this._I,this._i); setTimeout(this._O+".OnInit()",500); }function _M(_o4,_V,_m){ this._o4=_o4; _M.prototype._o5= function (_I4){switch (_I4){case "target.mouseover": this._o4._s= true; break; case "target.mouseout": this._o4._s= false; break; case "contentlayer.mouseover": this._o4._R= true; break; case "contentlayer.mouseout": this._o4._R= false; break; }setTimeout(this._o4._O+".HandleEvent('"+_I4+"')",this._o4._U); } ; _M.prototype._j= function (_V){_V._n=this ; _O5= function (_l5){ this._n._o5("target.mouseover"); } ; _i5= function (_l5){ this._n._o5("target.mouseout"); } ; _I5= function (_l5){ this._n._o5("target.focus"); } ; _o6= function (_l5){ this._n._o5("target.focusout"); } ; _O6= function (_l5){switch (_l5.button){case 0:case 1: this._n._o5("target.leftclick"); break; case 2: this._n._o5("target.rightclick"); break; }} ; _I0._l6(_V,"mouseover",_O5, false); _I0._l6(_V,"mouseout",_i5, false); _I0._l6(_V,"focus",_I5, false); _I0._l6(_V,"blur",_o6, false); _I0._l6(_V,"mousedown",_O6, false); } ; _M.prototype._J= function (_V){if (_V._n!=null){_I0._i6(_V,"mouseover",_O5, false); _I0._i6(_V,"mouseout",_i5, false); _I0._i6(_V,"focus",_I5, false); _I0._i6(_V,"mousedown",_O6, false); _V._n=null; }} ; _M.prototype._I6= function (_m){_m._n=this ; _o7= function (_l5){ this._n._o5("contentlayer.mouseover"); } ; _O7= function (_l5){ this._n._o5("contentlayer.mouseout"); } ; _l7= function (_l5){ this._n._o5("contentlayer.focus"); } ; _i7= function (_l5){ this._n._o5("contentlayer.focusout"); } ; _I7= function (_l5){switch (_l5.button){case 0:case 1: this._n._o5("contentlayer.leftclick"); break; case 2: this._n._o5("contentlayer.rightclick"); break; }} ; _I0._l6(_m,"mouseover",_o7, false); _I0._l6(_m,"mouseout",_O7, false); _I0._l6(_m,"focus",_l7, false); _I0._l6(_m,"blur",_i7, false); _I0._l6(_m,"mousedown",_I7, false); } ; _M.prototype._o8= function (_m){if (_m._n!=null){_I0._i6(_m,"mouseover",_o7, false); _I0._i6(_m,"mouseout",_O7, false); _I0._i6(_m,"focus",_l7, false); _I0._i6(_m,"mousedown",_I7, false); _O8._n=null; }} ; this._I6(_m); this._j(_V); }function _N(_o4,_l8,_y,_x){ this._y=_y; this._o4=_o4; _N.prototype._i8= function (){ this._I8=document.createElement("iframe"); this._I8.style.cssText="position:absolute;background-color:white;overflow:hidden;filter:alpha(opacity=0);-moz-opacity:0.0;opacity:0.0;"; this._I8.setAttribute("frameborder","0"); this._I8.setAttribute("scrolling","no"); this._I8.setAttribute("src","javascript:'<html></html>'"); this._o9=document.createElement("div"); this._o9.style.cssText="position:absolute;background-color:transparent;"; this._O9=document.createElement("div"); this._O9.style.cssText="background-color:transparent;"; if (this._o4._W)this._m=document.getElementById(this._y); else this._m=document.getElementById(this._y).cloneNode( true); this._m.style.cssText="width:"+this._m.style.width+";height:"+this._m.style.height+";"; this._O9.appendChild(this._m); this._o9.appendChild(this._O9); this._m.id=this._o4._O+"_ct"; this._O9.id=this._o4._O+"_e"; this._o9.id=this._o4._O+"_pv"; this._I8.id=this._o4._O+"_if"; } ; _N.prototype._l9= function (_i9){if (_i9.nodeName.toLowerCase()=="map")_i9=_i9.parentNode; _i9.appendChild((this._I8.parentNode==null)?this._I8: this._I8.parentNode.removeChild(this._I8)); _i9.appendChild((this._o9.parentNode==null)?this._o9: this._o9.parentNode.removeChild(this._o9)); } ; _N.prototype._I9= function (){ this._O9.style.width=this._O9.offsetWidth+"px"; this._O9.style.height=this._O9.offsetHeight+"px"; this._o9.style.width=this._o9.offsetWidth+"px"; this._o9.style.height=this._o9.offsetHeight+"px"; this._I8.style.width=this._o9.style.width; this._I8.style.height=this._o9.style.height; } ; _N.prototype.setPosition= function (_oa,_Oa){_oa=_I0._la(this._o9,_oa); _Oa=_I0._ia(this._o9,_Oa); this._o9.style.top=_Oa+"px"; this._o9.style.left=_oa+"px"; this._I8.style.top=_Oa+"px"; this._I8.style.left=_oa+"px"; } ; _N.prototype._L= function (_Ia){if (_Ia== true){ this._o9.style.display="block"; this._I8.style.display="none"; }else { this._I8.style.display="none"; this._o9.style.display="none"; }} ; _N.prototype._ob= function (){if (this._o9.style.display=="block")return true; if (this._o9.style.display=="none")return false; } ; _N.prototype._O3= function (){var left=0; var top=0; var width=0; var height=0; if (this._o9.style){left=parseInt(this._o9.style.left.substring(0,this._o9.style.left.indexOf("px"))); top=parseInt(this._o9.style.top.substring(0,this._o9.style.top.indexOf("px"))); width=parseInt(this._o9.style.width.substring(0,this._o9.style.width.indexOf("px"))); height=parseInt(this._o9.style.height.substring(0,this._o9.style.height.indexOf("px"))); }return {left:left,top:top,width:width,height:height } ; } ; _N.prototype._Ob= function (){var width=0; var height=0; width=parseInt(this._m.style.width.substring(0,this._m.style.width.indexOf("px"))); height=parseInt(this._m.style.height.substring(0,this._m.style.height.indexOf("px"))); return {width:width,height:height } ; } ; _N.prototype._lb= function (_ib,_Ib){ this._m.style.width=_ib+"px"; this._m.style.height=_Ib+"px"; } ; _N.prototype.setOpacity= function (_oc){if (_oc>100)_oc=100; if (_oc<0)_oc=0; _oc=Math.round(_oc); this._O9.style.filter="alpha(opacity="+_oc+")"; this._O9.style.opacity=(_oc/100); this._O9.style.MozOpacity=(_oc/100); } ; _N.prototype.setzIndex= function (_G){ this._I8.style.zIndex=_G; this._o9.style.zIndex=_G+1; } ; _N.prototype._Oc= function (_K){if (_K.hasChildNodes())for (var i=0; i<_K.childNodes.length; i++){if (_K.childNodes[i].nodeName)if (_K.childNodes[i].nodeName.toLowerCase()=="img"){var img=_K.childNodes[i]; var _lc=img.src.toUpperCase(); if (_lc.substring(_lc.length-3,_lc.length)=="PNG"){var _ic=(img.id)?"id='"+img.id+"' ": ""; var _Ic=(img.className)?"class='"+img.className+"' ": ""; var _od=(img.title)?"title='"+img.title+"' ": "title='"+img.alt+"' "; var _Od="display:block;"+img.style.cssText; if (img.align=="left")_Od="float:left;"+_Od; if (img.align=="right")_Od="float:right;"+_Od; if (img.parentElement.href)_Od="cursor:hand;"+_Od; var _ld="<span "+_ic+_Ic+_od+" style=\""+"width:"+img.width+"px;height:"+img.height+"px;"+_Od+";"+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"+"(src='"+img.src+"\', sizingMethod=\'scale\');\">\x3c/span>"; img.outerHTML=_ld; }}if (_K.childNodes[i].style)if (_K.childNodes[i].style.backgroundImage){var _id=_K.childNodes[i].style.backgroundImage.toLowerCase(); if (_id.indexOf("url")>=0 && _id.indexOf("png")>=0){var _Id=_id.indexOf("("); var _oe=_id.indexOf(")"); var _Oe=_id.substring(_Id+1,_oe); _K.childNodes[i].style.backgroundImage=""; _K.childNodes[i].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='"+_Oe+"')"; }} this._Oc(_K.childNodes[i]); }} ; _N.prototype._le= function (_K){if (_K.nodeName.toLowerCase()=="select"){_K._o4=this ; _I0._l6(_K,"click", function (_l5){ this._o4._o4.setCloseEvent("NONE"); } , false); _I0._l6(_K,"focus", function (_l5){ this._o4._o4.setCloseEvent("NONE"); } , false); _I0._l6(_K,"change", function (_l5){ this._o4._o4.setCloseEvent("ONMOUSEOUT"); } , false); _I0._l6(_K,"blur", function (_l5){ this._o4._o4.setCloseEvent("ONMOUSEOUT"); } , false); }if (_K.hasChildNodes())for (var i=0; i<_K.childNodes.length; i++)this._le(_K.childNodes[i]); } ; this._i8(); this._l9(_l8); this._I9(); this.setzIndex(_x); if (_I0._ie){ this._Oc(this._m); }if ((_I0._ie || _I0._Ie) && (this._o4._a=="ONMOUSEOUT")){ this._le(this._m); }}function _of(){var _Of=navigator.userAgent.toLowerCase(); this._If=(_Of.indexOf("firefox")!=-1); this._og=(_Of.indexOf("safari")!=-1); this._ie=((_Of.indexOf("msie")!=-1) && (_Of.indexOf("opera")==-1)); this._Ie=(_Of.indexOf("opera")!=-1); this._Og=this._lg(document.body,"margin-top"); this._ig=this._lg(document.body,"margin-left"); }_of.prototype._Ig= function (_l5){if (_l5.pageX){return _l5.pageX; }else if (_l5.clientX){return _l5.clientX;}else {return null; }};_of.prototype._oh= function (_l5){if (_l5.pageY){return _l5.pageY; }else if (_l5.clientY){return _l5.clientY;}else {return null; }};_of.prototype._l6= function (_K,_Oh,_lh,_ih){if (_K.addEventListener){_K.addEventListener(_Oh,_lh,_ih); return true; }else if (_K.attachEvent){if (_ih){alert("IE does not support event capturing!"); return false; }else {var _Ih= function (){_lh.apply(_K,[window.event]); };if (!_K["ref"+_Oh])_K["ref"+_Oh]=[]; else {for (var ref in _K["ref"+_Oh]){if (_K["ref"+_Oh][ref]._lh === _lh)return false; }}var _oi=_K.attachEvent("on"+_Oh,_Ih); if (_oi)_K["ref"+_Oh].push( {_lh:_lh,_Ih:_Ih } ); return _oi; }}else {alert("Handler could not be attached"); return false; }} ; _of.prototype._i6= function (_K,_Oh,_lh,_ih){if (_K.removeEventListener){_K.removeEventListener(_Oh,_lh,_ih); return true; }else if (_K.detachEvent){if (_K["ref"+_Oh]){for (var ref in _K["ref"+_Oh]){if (_K["ref"+_Oh][ref]._lh === _lh){_K.detachEvent("on"+_Oh,_K["ref"+_Oh][ref]._Ih); _K["ref"+_Oh][ref]._lh=null; _K["ref"+_Oh][ref]._Ih=null; delete _K["ref"+_Oh][ref]; return true; }}}return false; }else {alert("Handler could not be removed"); return false; }} ; _of.prototype._la= function (_K,_oa){_Oi=_K; if (this._ie && _K.offsetParent!=null)if (_K.offsetParent.nodeName!="BODY" && _K.offsetParent.nodeName!="HTML")if (document.documentElement && document.documentElement.clientWidth)if (document.body.leftMargin)_oa-=parseInt((this._ig!="")?this._ig:document.body.leftMargin); if (this._og)_oa+=document.body.offsetLeft; var _li=0; var _ii=new Array(); while (_K.offsetParent){_li+=_K.offsetParent.offsetLeft-((this._Ie)?0:_K.offsetParent.scrollLeft); _ii.push(_K.offsetParent); _K=_K.offsetParent; }if (this._If)_li+=document.body.scrollLeft; if (this._ie){_li+=document.body.scrollLeft; if (document.documentElement)_li+=document.documentElement.scrollLeft; }_oa-=_li; var _Ii=0; if ((this._Ie) && _ii.length>0){_K=_Oi; while (_K.offsetParent){var _oj= false; if (_K.parentNode.nodeName.toLowerCase()=="div" && _K.parentNode.style.position!="absolute" && _K.parentNode.style.position!="relative" && _K.parentNode.style.position!="fixed"){for (var _Oj=0; _Oj<_ii.length; _Oj++){if (_ii[_Oj]==_K.parentNode){_oj= true; break; }}if (_oj== false){_Ii+=_K.parentNode.scrollLeft; }}_K=_K.parentNode; }}_oa+=_Ii; return _oa; };_of.prototype._ia= function (_K,_Oa){_Oi=_K; if (this._ie && _K.offsetParent!=null)if (_K.offsetParent.nodeName!="BODY" && _K.offsetParent.nodeName!="HTML")if (document.documentElement && document.documentElement.clientWidth)if (document.body.topMargin)_Oa-=parseInt((this._Og!="")?this._Og:document.body.topMargin); if (this._og)_Oa+=document.body.offsetTop; var _lj=0; var _ii=new Array(); while (_K.offsetParent){_lj+=_K.offsetParent.offsetTop-((this._Ie)?0:_K.offsetParent.scrollTop); _ii.push(_K.offsetParent); _K=_K.offsetParent; }if (this._If || this._og)_lj+=document.body.scrollTop; if (this._ie){_lj+=document.body.scrollTop; if (document.documentElement)_lj+=document.documentElement.scrollTop; }_Oa-=_lj; var _ij=0; if ((this._Ie) && _ii.length>0){_K=_Oi; while (_K.offsetParent){var _oj= false; if (_K.parentNode.nodeName.toLowerCase()=="div" && _K.parentNode.style.position!="absolute" && _K.parentNode.style.position!="relative" && _K.parentNode.style.position!="fixed"){for (var _Oj=0; _Oj<_ii.length; _Oj++){if (_ii[_Oj]==_K.parentNode){_oj= true; break; }}if (_oj== false){_ij+=_K.parentNode.scrollTop; }}_K=_K.parentNode; }}_Oa+=_ij; return _Oa; };_of.prototype._Ij= function (_K){var _ok=0; var _ii=new Array(); var _Oi=_K; while (_K.offsetParent){_ii.push(_K); if (this._og && _K.nodeName=="TR")_ok+=_K.firstChild.offsetTop-_K.firstChild.scrollTop; else _ok+=_K.offsetTop-((this._Ie || _K.nodeName=="TR")?0:_K.scrollTop); _K=_K.offsetParent; }if (this._og)_ok+=document.body.offsetTop; if (this._ie)if (document.documentElement && document.documentElement.clientWidth)if (document.body.topMargin)_ok+=parseInt((this._Og!="")?this._Og:document.body.topMargin); if ((this._og || this._If || this._Ie) && _ii.length>0){_K=_Oi; while (_K.offsetParent){var _oj= false; if (_K.nodeName.toLowerCase()=="div" && _K.style.position!="absolute" && _K.style.position!="relative" && _K.style.position!="fixed"){for (var _Oj=0; _Oj<_ii.length; _Oj++){if (_ii[_Oj]==_K){_oj= true; break; }}if (_oj== false){_ok-=_K.scrollTop; }}_K=_K.parentNode; }}return _ok; } ; _of.prototype._Ok= function (_K){var _ok=0; var _ii=new Array(); var _Oi=_K; while (_K.offsetParent){_ii.push(_K); if (this._og && _K.nodeName=="TR")_ok+=_K.firstChild.offsetLeft-_K.firstChild.scrollLeft; else _ok+=_K.offsetLeft-((this._Ie || _K.nodeName=="TR")?0:_K.scrollLeft); _K=_K.offsetParent; }if (this._og)_ok+=document.body.offsetTop; if (this._ie)if (document.documentElement && document.documentElement.clientWidth)if (document.body.leftMargin)_ok+=parseInt(((this._ig!="")?this._ig:document.body.leftMargin)); if ((this._og || this._If || this._Ie) && _ii.length>0){_K=_Oi; while (_K.offsetParent){var _oj= false; if (_K.nodeName.toLowerCase()=="div" && _K.style.position!="absolute" && _K.style.position!="relative" && _K.style.position!="fixed"){for (var _Oj=0; _Oj<_ii.length; _Oj++){if (_ii[_Oj]==_K){_oj= true; break; }}if (_oj== false){_ok-=_K.scrollLeft; }}_K=_K.parentNode; }}return _ok; } ; _of.prototype._o1= function (_O,_o4){if (_o4.id==_O)return _o4; if (_o4.hasChildNodes())for (var i=0; i<_o4.childNodes.length; i++){var _K=this._o1(_O,_o4.childNodes[i]); if (_K!=null)return _K; }return null; } ; _of.prototype._O2= function (_K){if (_K.nodeName.toLowerCase()=="area")return this._lk(_K); else return {left: this._Ok(_K),top: this._Ij(_K),width:_K.offsetWidth,height:_K.offsetHeight } ; };_of.prototype._lk= function (_ik){if (!_ik.coords)return {left: 0,top: 0,width: 0,height: 0 } ; var _Ik=new Array(); var _ok=1; var _Ih=_ik.coords; while (_ok>0){_ok=_Ih.lastIndexOf(","); var _ol=_Ih.substring(_ok+1,_Ih.length); _Ik.push(parseInt(_ol)); _Ih=(_ok>0)?_Ih.substring(0,_ok):_Ih; }var _oa=0; var _Oa=0; var _ib=0; var _Ib=0; switch (_ik.shape.toLowerCase()){case "circle":if (_Ik.length<3)return {left: 0,top: 0,width: 0,height: 0 } ; _oa=_Ik[2]-_Ik[0]; _Oa=_Ik[1]-_Ik[0]; _ib=2*_Ik[0]; _Ib=_ib; break; case "poly":case "polygon":var _ll=10000; var _il=-_ll; var _Il=_ll; var _om=-_ll; var _Om=_ll; for (var i=0; i<_Ik.length; i++){if (i%2==0){if (_Om>_Ik[i])_Om=_Ik[i]; if (_om<_Ik[i])_om=_Ik[i]; }else {if (_Il>_Ik[i])_Il=_Ik[i]; if (_il<_Ik[i])_il=_Ik[i]; }}_oa=_Il; _Oa=_Om; _ib=_il-_Il; _Ib=_om-_Om; break; case "rect":default:if (_Ik.length<4)return {left: 0,top: 0,width: 0,height: 0 } ; _oa=_Ik[3]; _Oa=_Ik[2]; _ib=Math.abs(_Ik[1]-_Ik[3]); _Ib=Math.abs(_Ik[0]-_Ik[2]); break; }_Im=_oa+((_ik._v!=null)?this._Ok(_ik._v): this._Ok(_ik)); _on=_Oa+((_ik._v!=null)?this._Ij(_ik._v): this._Ij(_ik)); return {left:_Im,top:_on,width:_ib,height:_Ib } ; } ; _of.prototype._lg= function (_On,_In){var _oo=""; if (document._Oo && document._Oo._Io){var _op=document._Oo._Io(_On,null); if (!_op){try {if (_On.style.display=="none"){_On.style.display=""; _op=document._Oo._Io(_On,null); if (_op){_oo=_op._Op(_In); }_On.style.display="none"; }}catch (_lp){}}if (_op && _oo==""){_oo=_op._Op(_In); }}else if (_On.currentStyle){try {_In=_In.replace(/-(\w)/g, function (_ip,_Ip){return _Ip.toUpperCase(); } ); _oo=_On.currentStyle[_In]; }catch (_lp){}}return _oo; } ; var _I0=new _of(); function _l1(_oq,_Oq,_l0,_i0){ this._oq=_oq; this._l0=_l0; this._O1=document.getElementById(_Oq); if (this._O1==null)return; this._O1.style.cursor=_i0; this._O1._o4=this ; this._P="drop"; this._Z=0; this._z=0; _lq.push(this ); _l1.prototype._iq= function (_oa,_Oa){if (this._P=="drag"){ this._oq._l2(_oa-this._Z,_Oa-this._z); }} ; var _Iq= function (_l5){if (_I0._ie){_or=document.onselectstart; document.onselectstart= function (_l5){return false; } ; }if (_l5.preventDefault)_l5.preventDefault(); if (this._o4._P=="drop"){ this._o4._P="drag"; var _oi=this._o4._oq._p._O3(); this._o4._Z=_I0._la(this._o4._oq._p._o9,_I0._Ig(_l5))-_oi.left; this._o4._z=_I0._ia(this._o4._oq._p._o9,_I0._oh(_l5))-_oi.top; this._o4._oq._p.setOpacity(this._o4._l0); }return false; } ; _I0._l6(this._O1,"mousedown",_Iq, false); }if (typeof(_Or)=="undefined"){_Or=1; var _or=document.onselectstart; var _lq=new Array(); var _lr= function (_l5){for (var i=0; i<_lq.length; i++){_lq[i]._iq(_I0._Ig(_l5),_I0._oh(_l5)); }} ; var _ir= function (_l5){if (_I0._ie)document.onselectstart=_or; for (var i=0; i<_lq.length; i++){_lq[i]._P="drop"; _lq[i]._oq._p.setOpacity(_lq[i]._oq._X); }} ; _I0._l6(document,"mousemove",_lr, false); _I0._l6(document,"mouseup",_ir, false); }function NoneEffect(){ this._o4=null; NoneEffect.prototype._h= function (){} ; NoneEffect.prototype._i4= function (_O4){} ; }function FadingEffect(){ this._o4=null; FadingEffect.prototype._h= function (){} ; FadingEffect.prototype._i4= function (_O4){if (this._o4==null)return; this._o4._p._L( true); this._o4._p.setOpacity(_O4*this._o4._X/this._o4._u); };}function SlidingEffect(_Ir,_os){ this._o4=null; this._Ir=_Ir; this._os=_os; SlidingEffect.prototype._h= function (){} ; SlidingEffect.prototype._i4= function (_O4){if (this._o4==null)return; _o2=_I0._O2(this._o4._S); switch (this._Ir.toLowerCase()){case "left": this._o4._p.setPosition(_o2.left+this._o4._Z-(this._os-(this._os*_O4/this._o4._u)),_o2.top+this._o4._z); break; case "right": this._o4._p.setPosition(_o2.left+this._o4._Z+(this._os-(this._os*_O4/this._o4._u)),_o2.top+this._o4._z); break; case "top": this._o4._p.setPosition(_o2.left+this._o4._Z,_o2.top+this._o4._z-(this._os-(this._os*_O4/this._o4._u))); break; case "bottom": this._o4._p.setPosition(_o2.left+this._o4._Z,_o2.top+this._o4._z+(this._os-(this._os*_O4/this._o4._u))); break; } this._o4._p._L( true); };}function FlyingEffect(_Os,_ls,_is){ this._o4=null; this._Is=document.createElement("div"); this._Is.style.position="absolute"; this._Is.style.border="solid thin gray"; this._Is.style.display="none"; this._Is.style.backgroundColor="transparent"; this._Os=_Os; this._ls=_ls; this._is=_is; FlyingEffect.prototype._h= function (){if (this._o4==null)return; this._Is.style.display="none"; if (_I0._Ie== false)this._o4._w.appendChild((this._Is.parentNode==null)?this._Is: this._Is.parentNode.removeChild(this._Is)); } ; FlyingEffect.prototype._i4= function (_O4){if (this._o4==null)return; this._Is.style.zIndex=(this._o4._x+2); if (this._Is.parentNode==null){if (_I0._Ie)document.body.appendChild(this._Is); else this._o4._w.appendChild(this._Is); } this._o4._U=(this._o4._U>this._o4._E+140)?this._o4._U: (this._o4._E+150); this._o4._U=(this._o4._U>this._o4._e+140)?this._o4._U: (this._o4._e+150); if ((_O4<=1) || (_O4>=this._o4._u-1)){ this._Is.style.display="none"; return; }if (_O4>1 && _O4<this._o4._u-1)this._o4._p._L( false); _o2=_I0._O2(this._o4._S); switch (this._Os){case "TOP_LEFT": this._ls=0; this._is=0; break; case "TOP_RIGHT": this._ls=_o2.width; this._is=0; break; case "MIDDLE_CENTER": this._ls=_o2.width/2; this._is=_o2.height/2; break; case "BOTTOM_LEFT": this._ls=0; this._is=_o2.height; break; case "BOTTOM_RIGHT": this._ls=_o2.width; this._is=_o2.height; break; case "ABSOLUTE":default:break; }var _ot=this._o4._p._O3(); this._ls=this._ls+_o2.left; this._is=this._is+_o2.top; if (_I0._Ie){_ot.left=_o2.left+this._o4._Z; _ot.top=_o2.top+this._o4._z; }else { this._ls=_I0._la(this._Is,this._ls); this._is=_I0._ia(this._Is,this._is); }var _Ot=this._ls+(_O4*(_ot.left-this._ls))/this._o4._u; var _lt=this._is+(_O4*(_ot.top-this._is))/this._o4._u; var _it=(_O4*_ot.width)/this._o4._u; var _It=(_O4*_ot.height)/this._o4._u; this._Is.style.left=_Ot+"px"; this._Is.style.top=_lt+"px"; this._Is.style.width=_it+"px"; this._Is.style.height=_It+"px"; this._Is.style.display="block"; if ((_It<10) || (this._ls==0 && this._ls==this._is))this._Is.style.display="none"; };}
