﻿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="block"; }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"); this._Og=(this._Og!="auto")?this._Og: "0"; this._ig=(this._ig!="auto")?this._ig: "0"; }_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)try {_oa-=parseInt((this._ig!="")?this._ig:document.body.leftMargin); }catch (_li){}if (this._og)_oa+=document.body.offsetLeft; var _ii=0; var _Ii=new Array(); while (_K.offsetParent){_ii+=_K.offsetParent.offsetLeft-((this._Ie)?0:_K.offsetParent.scrollLeft); _Ii.push(_K.offsetParent); _K=_K.offsetParent; }if (this._If)_ii+=document.body.scrollLeft; if (this._ie){_ii+=document.body.scrollLeft; if (document.documentElement)_ii+=document.documentElement.scrollLeft; }_oa-=_ii; var _oj=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 _lj=0; _lj<_Ii.length; _lj++){if (_Ii[_lj]==_K.parentNode){_Oj= true; break; }}if (_Oj== false){_oj+=_K.parentNode.scrollLeft; }}_K=_K.parentNode; }}_oa+=_oj; 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)try {_Oa-=parseInt((this._Og!="")?this._Og:document.body.topMargin); }catch (_li){}if (this._og)_Oa+=document.body.offsetTop; var _ij=0; var _Ii=new Array(); while (_K.offsetParent){_ij+=_K.offsetParent.offsetTop-((this._Ie)?0:_K.offsetParent.scrollTop); _Ii.push(_K.offsetParent); _K=_K.offsetParent; }if (this._If || this._og)_ij+=document.body.scrollTop; if (this._ie){_ij+=document.body.scrollTop; if (document.documentElement)_ij+=document.documentElement.scrollTop; }_Oa-=_ij; 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 _lj=0; _lj<_Ii.length; _lj++){if (_Ii[_lj]==_K.parentNode){_Oj= true; break; }}if (_Oj== false){_Ij+=_K.parentNode.scrollTop; }}_K=_K.parentNode; }}_Oa+=_Ij; return _Oa; };_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.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)try {_Ok+=parseInt((this._Og!="")?this._Og:document.body.topMargin); }catch (_li){}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 _lj=0; _lj<_Ii.length; _lj++){if (_Ii[_lj]==_K){_Oj= true; break; }}if (_Oj== false){_Ok-=_K.scrollTop; }}_K=_K.parentNode; }}return _Ok; } ; _of.prototype._lk= 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)try {_Ok+=parseInt(((this._ig!="")?this._ig:document.body.leftMargin)); }catch (_li){}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 _lj=0; _lj<_Ii.length; _lj++){if (_Ii[_lj]==_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._ik(_K); else return {left: this._lk(_K),top: this._ok(_K),width:_K.offsetWidth,height:_K.offsetHeight } ; };_of.prototype._ik= function (_Ik){if (!_Ik.coords)return {left: 0,top: 0,width: 0,height: 0 } ; var _ol=new Array(); var _Ok=1; var _Ih=_Ik.coords; while (_Ok>0){_Ok=_Ih.lastIndexOf(","); var _ll=_Ih.substring(_Ok+1,_Ih.length); _ol.push(parseInt(_ll)); _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 (_ol.length<3)return {left: 0,top: 0,width: 0,height: 0 } ; _oa=_ol[2]-_ol[0]; _Oa=_ol[1]-_ol[0]; _ib=2*_ol[0]; _Ib=_ib; break; case "poly":case "polygon":var _il=10000; var _Il=-_il; var _om=_il; var _Om=-_il; var _Im=_il; for (var i=0; i<_ol.length; i++){if (i%2==0){if (_Im>_ol[i])_Im=_ol[i]; if (_Om<_ol[i])_Om=_ol[i]; }else {if (_om>_ol[i])_om=_ol[i]; if (_Il<_ol[i])_Il=_ol[i]; }}_oa=_om; _Oa=_Im; _ib=_Il-_om; _Ib=_Om-_Im; break; case "rect":default:if (_ol.length<4)return {left: 0,top: 0,width: 0,height: 0 } ; _oa=_ol[3]; _Oa=_ol[2]; _ib=Math.abs(_ol[1]-_ol[3]); _Ib=Math.abs(_ol[0]-_ol[2]); break; }_on=_oa+((_Ik._v!=null)?this._lk(_Ik._v): this._lk(_Ik)); _On=_Oa+((_Ik._v!=null)?this._ok(_Ik._v): this._ok(_Ik)); return {left:_on,top:_On,width:_ib,height:_Ib } ; } ; _of.prototype._lg= function (_In,_oo){var _Oo=""; if (document._Io && document._Io._op){var _Op=document._Io._op(_In,null); if (!_Op){try {if (_In.style.display=="none"){_In.style.display=""; _Op=document._Io._op(_In,null); if (_Op){_Oo=_Op._lp(_oo); }_In.style.display="none"; }}catch (_ip){}}if (_Op && _Oo==""){_Oo=_Op._lp(_oo); }}else if (_In.currentStyle){try {_oo=_oo.replace(/-(\w)/g, function (_Ip,_oq){return _oq.toUpperCase(); } ); _Oo=_In.currentStyle[_oo]; }catch (_ip){}}return _Oo; } ; var _I0=new _of(); function _l1(_Oq,_lq,_l0,_i0){ this._Oq=_Oq; this._l0=_l0; this._O1=document.getElementById(_lq); if (this._O1==null)return; this._O1.style.cursor=_i0; this._O1._o4=this ; this._P="drop"; this._Z=0; this._z=0; _iq.push(this ); _l1.prototype._Iq= function (_oa,_Oa){if (this._P=="drag"){ this._Oq._l2(_oa-this._Z,_Oa-this._z); }} ; var _or= 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",_or, false); }if (typeof(_lr)=="undefined"){_lr=1; var _Or=document.onselectstart; var _iq=new Array(); var _ir= function (_l5){for (var i=0; i<_iq.length; i++){_iq[i]._Iq(_I0._Ig(_l5),_I0._oh(_l5)); }} ; var _Ir= function (_l5){if (_I0._ie)document.onselectstart=_Or; for (var i=0; i<_iq.length; i++){_iq[i]._P="drop"; _iq[i]._Oq._p.setOpacity(_iq[i]._Oq._X); }} ; _I0._l6(document,"mousemove",_ir, 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(_os,_Os){ this._o4=null; this._os=_os; 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._os.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(_ls,_is,_Is){ this._o4=null; this._ot=document.createElement("div"); this._ot.style.position="absolute"; this._ot.style.border="solid thin gray"; this._ot.style.display="none"; this._ot.style.backgroundColor="transparent"; this._ls=_ls; this._is=_is; this._Is=_Is; FlyingEffect.prototype._h= function (){if (this._o4==null)return; this._ot.style.display="none"; if (_I0._Ie== false)this._o4._w.appendChild((this._ot.parentNode==null)?this._ot: this._ot.parentNode.removeChild(this._ot)); } ; FlyingEffect.prototype._i4= function (_O4){if (this._o4==null)return; this._ot.style.zIndex=(this._o4._x+2); if (this._ot.parentNode==null){if (_I0._Ie)document.body.appendChild(this._ot); else this._o4._w.appendChild(this._ot); } 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._ot.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._ls){case "TOP_LEFT": this._is=0; this._Is=0; break; case "TOP_RIGHT": this._is=_o2.width; this._Is=0; break; case "MIDDLE_CENTER": this._is=_o2.width/2; this._Is=_o2.height/2; break; case "BOTTOM_LEFT": this._is=0; this._Is=_o2.height; break; case "BOTTOM_RIGHT": this._is=_o2.width; this._Is=_o2.height; break; case "ABSOLUTE":default:break; }var _Ot=this._o4._p._O3(); this._is=this._is+_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._is=_I0._la(this._ot,this._is); this._Is=_I0._ia(this._ot,this._Is); }var _lt=this._is+(_O4*(_Ot.left-this._is))/this._o4._u; var _it=this._Is+(_O4*(_Ot.top-this._Is))/this._o4._u; var _It=(_O4*_Ot.width)/this._o4._u; var _ou=(_O4*_Ot.height)/this._o4._u; this._ot.style.left=_lt+"px"; this._ot.style.top=_it+"px"; this._ot.style.width=_It+"px"; this._ot.style.height=_ou+"px"; this._ot.style.display="block"; if ((_ou<10) || (this._is==0 && this._is==this._Is))this._ot.style.display="none"; };}
