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