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