﻿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); _of.prototype._Og= function (_l5){if (_l5.pageX){return _l5.pageX; }else if (_l5.clientX){return _l5.clientX;}else {return null; }};_of.prototype._lg= function (_l5){if (_l5.pageY){return _l5.pageY; }else if (_l5.clientY){return _l5.clientY;}else {return null; }};_of.prototype._l6= function (_K,_ig,_Ig,_oh){if (_K.addEventListener){_K.addEventListener(_ig,_Ig,_oh); return true; }else if (_K.attachEvent){if (_oh){alert("IE does not support event capturing!"); return false; }else {var _Oh= function (){_Ig.apply(_K,[window.event]); };if (!_K["ref"+_ig])_K["ref"+_ig]=[]; else {for (var ref in _K["ref"+_ig]){if (_K["ref"+_ig][ref]._Ig === _Ig)return false; }}var _lh=_K.attachEvent("on"+_ig,_Oh); if (_lh)_K["ref"+_ig].push( {_Ig:_Ig,_Oh:_Oh } ); return _lh; }}else {alert("Handler could not be attached"); return false; }} ; _of.prototype._i6= function (_K,_ig,_Ig,_oh){if (_K.removeEventListener){_K.removeEventListener(_ig,_Ig,_oh); return true; }else if (_K.detachEvent){if (_K["ref"+_ig]){for (var ref in _K["ref"+_ig]){if (_K["ref"+_ig][ref]._Ig === _Ig){_K.detachEvent("on"+_ig,_K["ref"+_ig][ref]._Oh); _K["ref"+_ig][ref]._Ig=null; _K["ref"+_ig][ref]._Oh=null; delete _K["ref"+_ig][ref]; return true; }}}return false; }else {alert("Handler could not be removed"); return false; }} ; _of.prototype._la= function (_K,_oa){_ih=_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(document.body.leftMargin); if (this._og)_oa+=document.body.offsetLeft; var _Ih=0; var _oi=new Array(); while (_K.offsetParent){_Ih+=_K.offsetParent.offsetLeft-((this._Ie)?0:_K.offsetParent.scrollLeft); _oi.push(_K.offsetParent); _K=_K.offsetParent; }if (this._If)_Ih+=document.body.scrollLeft; if (this._ie){_Ih+=document.body.scrollLeft; if (document.documentElement)_Ih+=document.documentElement.scrollLeft; }_oa-=_Ih; var _Oi=0; if ((this._Ie) && _oi.length>0){_K=_ih; while (_K.offsetParent){var _li= false; if (_K.parentNode.nodeName.toLowerCase()=="div" && _K.parentNode.style.position!="absolute" && _K.parentNode.style.position!="relative" && _K.parentNode.style.position!="fixed"){for (var _ii=0; _ii<_oi.length; _ii++){if (_oi[_ii]==_K.parentNode){_li= true; break; }}if (_li== false){_Oi+=_K.parentNode.scrollLeft; }}_K=_K.parentNode; }}_oa+=_Oi; return _oa; };_of.prototype._ia= function (_K,_Oa){_ih=_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(document.body.topMargin); if (this._og)_Oa+=document.body.offsetTop; var _Ii=0; var _oi=new Array(); while (_K.offsetParent){_Ii+=_K.offsetParent.offsetTop-((this._Ie)?0:_K.offsetParent.scrollTop); _oi.push(_K.offsetParent); _K=_K.offsetParent; }if (this._If || this._og)_Ii+=document.body.scrollTop; if (this._ie){_Ii+=document.body.scrollTop; if (document.documentElement)_Ii+=document.documentElement.scrollTop; }_Oa-=_Ii; var _oj=0; if ((this._Ie) && _oi.length>0){_K=_ih; while (_K.offsetParent){var _li= false; if (_K.parentNode.nodeName.toLowerCase()=="div" && _K.parentNode.style.position!="absolute" && _K.parentNode.style.position!="relative" && _K.parentNode.style.position!="fixed"){for (var _ii=0; _ii<_oi.length; _ii++){if (_oi[_ii]==_K.parentNode){_li= true; break; }}if (_li== false){_oj+=_K.parentNode.scrollTop; }}_K=_K.parentNode; }}_Oa+=_oj; return _Oa; };_of.prototype._Oj= function (_K){var _lj=0; var _oi=new Array(); var _ih=_K; while (_K.offsetParent){_oi.push(_K); if (this._og && _K.nodeName=="TR")_lj+=_K.firstChild.offsetTop-_K.firstChild.scrollTop; else _lj+=_K.offsetTop-((this._Ie || _K.nodeName=="TR")?0:_K.scrollTop); _K=_K.offsetParent; }if (this._og)_lj+=document.body.offsetTop; if (this._ie)if (document.documentElement && document.documentElement.clientWidth)if (document.body.topMargin)_lj+=parseInt(document.body.topMargin); if ((this._og || this._If || this._Ie) && _oi.length>0){_K=_ih; while (_K.offsetParent){var _li= false; if (_K.nodeName.toLowerCase()=="div" && _K.style.position!="absolute" && _K.style.position!="relative" && _K.style.position!="fixed"){for (var _ii=0; _ii<_oi.length; _ii++){if (_oi[_ii]==_K){_li= true; break; }}if (_li== false){_lj-=_K.scrollTop; }}_K=_K.parentNode; }}return _lj; } ; _of.prototype._ij= function (_K){var _lj=0; var _oi=new Array(); var _ih=_K; while (_K.offsetParent){_oi.push(_K); if (this._og && _K.nodeName=="TR")_lj+=_K.firstChild.offsetLeft-_K.firstChild.scrollLeft; else _lj+=_K.offsetLeft-((this._Ie || _K.nodeName=="TR")?0:_K.scrollLeft); _K=_K.offsetParent; }if (this._og)_lj+=document.body.offsetTop; if (this._ie)if (document.documentElement && document.documentElement.clientWidth)if (document.body.leftMargin)_lj+=parseInt(document.body.leftMargin); if ((this._og || this._If || this._Ie) && _oi.length>0){_K=_ih; while (_K.offsetParent){var _li= false; if (_K.nodeName.toLowerCase()=="div" && _K.style.position!="absolute" && _K.style.position!="relative" && _K.style.position!="fixed"){for (var _ii=0; _ii<_oi.length; _ii++){if (_oi[_ii]==_K){_li= true; break; }}if (_li== false){_lj-=_K.scrollLeft; }}_K=_K.parentNode; }}return _lj; } ; _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._Ij(_K); else return {left: this._ij(_K),top: this._Oj(_K),width:_K.offsetWidth,height:_K.offsetHeight } ; };_of.prototype._Ij= function (_ok){if (!_ok.coords)return {left: 0,top: 0,width: 0,height: 0 } ; var _Ok=new Array(); var _lj=1; var _Oh=_ok.coords; while (_lj>0){_lj=_Oh.lastIndexOf(","); var _lk=_Oh.substring(_lj+1,_Oh.length); _Ok.push(parseInt(_lk)); _Oh=(_lj>0)?_Oh.substring(0,_lj):_Oh; }var _oa=0; var _Oa=0; var _ib=0; var _Ib=0; switch (_ok.shape.toLowerCase()){case "circle":if (_Ok.length<3)return {left: 0,top: 0,width: 0,height: 0 } ; _oa=_Ok[2]-_Ok[0]; _Oa=_Ok[1]-_Ok[0]; _ib=2*_Ok[0]; _Ib=_ib; break; case "poly":case "polygon":var _ik=10000; var _Ik=-_ik; var _ol=_ik; var _ll=-_ik; var _il=_ik; for (var i=0; i<_Ok.length; i++){if (i%2==0){if (_il>_Ok[i])_il=_Ok[i]; if (_ll<_Ok[i])_ll=_Ok[i]; }else {if (_ol>_Ok[i])_ol=_Ok[i]; if (_Ik<_Ok[i])_Ik=_Ok[i]; }}_oa=_ol; _Oa=_il; _ib=_Ik-_ol; _Ib=_ll-_il; break; case "rect":default:if (_Ok.length<4)return {left: 0,top: 0,width: 0,height: 0 } ; _oa=_Ok[3]; _Oa=_Ok[2]; _ib=Math.abs(_Ok[1]-_Ok[3]); _Ib=Math.abs(_Ok[0]-_Ok[2]); break; }_Il=_oa+((_ok._v!=null)?this._ij(_ok._v): this._ij(_ok)); _om=_Oa+((_ok._v!=null)?this._Oj(_ok._v): this._Oj(_ok)); return {left:_Il,top:_om,width:_ib,height:_Ib } ; } ; }var _I0=new _of(); function _l1(_Om,_Im,_l0,_i0){ this._Om=_Om; this._l0=_l0; this._O1=document.getElementById(_Im); if (this._O1==null)return; this._O1.style.cursor=_i0; this._O1._o4=this ; this._P="drop"; this._Z=0; this._z=0; _on.push(this ); _l1.prototype._On= function (_oa,_Oa){if (this._P=="drag"){ this._Om._l2(_oa-this._Z,_Oa-this._z); }} ; var _In= function (_l5){if (_I0._ie){_oo=document.onselectstart; document.onselectstart= function (_l5){return false; } ; }if (_l5.preventDefault)_l5.preventDefault(); if (this._o4._P=="drop"){ this._o4._P="drag"; var _lh=this._o4._Om._p._O3(); this._o4._Z=_I0._la(this._o4._Om._p._o9,_I0._Og(_l5))-_lh.left; this._o4._z=_I0._ia(this._o4._Om._p._o9,_I0._lg(_l5))-_lh.top; this._o4._Om._p.setOpacity(this._o4._l0); }return false; } ; _I0._l6(this._O1,"mousedown",_In, false); }var _oo=document.onselectstart; var _on=new Array(); var _Oo= function (_l5){for (var i=0; i<_on.length; i++){_on[i]._On(_I0._Og(_l5),_I0._lg(_l5)); }} ; var _Io= function (_l5){if (_I0._ie)document.onselectstart=_oo; for (var i=0; i<_on.length; i++){_on[i]._P="drop"; _on[i]._Om._p.setOpacity(_on[i]._Om._X); }} ; _I0._l6(document,"mousemove",_Oo, false); _I0._l6(document,"mouseup",_Io, 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(_op,_Op){ this._o4=null; this._op=_op; this._Op=_Op; SlidingEffect.prototype._h= function (){} ; SlidingEffect.prototype._i4= function (_O4){if (this._o4==null)return; _o2=_I0._O2(this._o4._S); switch (this._op.toLowerCase()){case "left": this._o4._p.setPosition(_o2.left+this._o4._Z-(this._Op-(this._Op*_O4/this._o4._u)),_o2.top+this._o4._z); break; case "right": this._o4._p.setPosition(_o2.left+this._o4._Z+(this._Op-(this._Op*_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._Op-(this._Op*_O4/this._o4._u))); break; case "bottom": this._o4._p.setPosition(_o2.left+this._o4._Z,_o2.top+this._o4._z+(this._Op-(this._Op*_O4/this._o4._u))); break; } this._o4._p._L( true); };}function FlyingEffect(_lp,_ip,_Ip){ this._o4=null; this._oq=document.createElement("div"); this._oq.style.position="absolute"; this._oq.style.border="solid thin gray"; this._oq.style.display="none"; this._oq.style.backgroundColor="transparent"; this._lp=_lp; this._ip=_ip; this._Ip=_Ip; FlyingEffect.prototype._h= function (){if (this._o4==null)return; this._oq.style.display="none"; if (_I0._Ie== false)this._o4._w.appendChild((this._oq.parentNode==null)?this._oq: this._oq.parentNode.removeChild(this._oq)); } ; FlyingEffect.prototype._i4= function (_O4){if (this._o4==null)return; this._oq.style.zIndex=(this._o4._x+2); if (this._oq.parentNode==null){if (_I0._Ie)document.body.appendChild(this._oq); else this._o4._w.appendChild(this._oq); } 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._oq.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._lp){case "TOP_LEFT": this._ip=0; this._Ip=0; break; case "TOP_RIGHT": this._ip=_o2.width; this._Ip=0; break; case "MIDDLE_CENTER": this._ip=_o2.width/2; this._Ip=_o2.height/2; break; case "BOTTOM_LEFT": this._ip=0; this._Ip=_o2.height; break; case "BOTTOM_RIGHT": this._ip=_o2.width; this._Ip=_o2.height; break; case "ABSOLUTE":default:break; }var _Oq=this._o4._p._O3(); this._ip=this._ip+_o2.left; this._Ip=this._Ip+_o2.top; if (_I0._Ie){_Oq.left=_o2.left+this._o4._Z; _Oq.top=_o2.top+this._o4._z; }else { this._ip=_I0._la(this._oq,this._ip); this._Ip=_I0._ia(this._oq,this._Ip); }var _lq=this._ip+(_O4*(_Oq.left-this._ip))/this._o4._u; var _iq=this._Ip+(_O4*(_Oq.top-this._Ip))/this._o4._u; var _Iq=(_O4*_Oq.width)/this._o4._u; var _or=(_O4*_Oq.height)/this._o4._u; this._oq.style.left=_lq+"px"; this._oq.style.top=_iq+"px"; this._oq.style.width=_Iq+"px"; this._oq.style.height=_or+"px"; this._oq.style.display="block"; if ((_or<10) || (this._ip==0 && this._ip==this._Ip))this._oq.style.display="none"; };}
