﻿if(typeof ASPNetToolTip=="undefined"){ASPNetToolTip={};ASPNetToolTip.ToolTipObjects=[];ASPNetToolTip.ToolTip=function(iobj){for(var i in ASPNetToolTip.ToolTipObjects){if(i==iobj){return ASPNetToolTip.ToolTipObjects[i]}}var b=iobj.split('_');for(var i in ASPNetToolTip.ToolTipObjects){var a=i.split('_');if(a[a.length-1]==b[b.length-1]){return ASPNetToolTip.ToolTipObjects[i]}}};ASPNetToolTip.ToolTipProto=function(objToolTip){var uid=objToolTip;this.uid=uid;var uidDiv=objToolTip+'_ToolTipContent';this.uidDiv=uidDiv;var toolTipStatus=0;this.toolTipStatus=toolTipStatus;var oTween=null;this.oTween=oTween;var timeoutHandle=null;this.timeoutHandle=timeoutHandle;var dragtarget=null;this.dragtarget=dragtarget;function get_FollowMouse(){try{return(window.document.getElementById(uid+'_tooltip_followMouse').value=='true')}catch(e){return true}}this.get_FollowMouse=get_FollowMouse;function set_FollowMouse(value){try{window.document.getElementById(uid+'_tooltip_followMouse').value=value.toString().toLowerCase()}catch(e){}}this.set_FollowMouse=set_FollowMouse;function get_DelayAtStart(){try{return parseInt(window.document.getElementById(uid+'_tooltip_delayAtStart').value)}catch(e){return 1}}this.get_DelayAtStart=get_DelayAtStart;function set_DelayAtStart(value){try{window.document.getElementById(uid+'_tooltip_delayAtStart').value=value}catch(e){}}this.set_DelayAtStart=set_DelayAtStart;function get_DelayAtEnd(){try{return parseInt(window.document.getElementById(uid+'_tooltip_delayAtEnd').value)}catch(e){return 1}}this.get_DelayAtEnd=get_DelayAtEnd;function set_DelayAtEnd(value){try{window.document.getElementById(uid+'_tooltip_delayAtEnd').value=value}catch(e){}}this.set_DelayAtEnd=set_DelayAtEnd;function get_FadeLength(){try{return parseFloat(window.document.getElementById(uid+'_tooltip_fadeLength').value)}catch(e){return 0.25}}this.get_FadeLength=get_FadeLength;function set_FadeLength(value){try{window.document.getElementById(uid+'_tooltip_fadeLength').value=value}catch(e){}}this.set_FadeLength=set_FadeLength;function get_DropShadowDepth(){try{return(window.document.getElementById(uid+'_tooltip_dropShadowDepth').value)}catch(e){return''}}this.get_DropShadowDepth=get_DropShadowDepth;function set_DropShadowDepth(value){try{window.document.getElementById(uid+'_tooltip_dropShadowDepth').value=value}catch(e){}}this.set_DropShadowDepth=set_DropShadowDepth;function get_DropShadowPosition(){try{return window.document.getElementById(uid+'_tooltip_dropShadowPosition').value}catch(e){return''}}this.get_DropShadowPosition=get_DropShadowPosition;function set_DropShadowPosition(value){try{window.document.getElementById(uid+'_tooltip_dropShadowPosition').value=value}catch(e){}}this.set_DropShadowPosition=set_DropShadowPosition;function get_AnimationIn(){try{return window.document.getElementById(uid+'_tooltip_animationIn').value}catch(e){return''}}this.get_AnimationIn=get_AnimationIn;function set_AnimationIn(value){try{window.document.getElementById(uid+'_tooltip_animationIn').value=value}catch(e){}}this.set_AnimationIn=set_AnimationIn;function get_AnimationOut(){try{return window.document.getElementById(uid+'_tooltip_animationOut').value}catch(e){return''}}this.get_AnimationOut=get_AnimationOut;function set_AnimationOut(value){try{window.document.getElementById(uid+'_tooltip_animationOut').value=value}catch(e){}}this.set_AnimationOut=set_AnimationOut;function get_ZIndexIn(){try{return parseInt(window.document.getElementById(uid+'_tooltip_zIndexIn').value)}catch(e){return 0}}this.get_ZIndexIn=get_ZIndexIn;function set_ZIndexIn(value){try{window.document.getElementById(uid+'_tooltip_zIndexIn').value=value}catch(e){}}this.set_ZIndexIn=set_ZIndexIn;function get_ZIndexOut(){try{return parseInt(window.document.getElementById(uid+'_tooltip_zIndexOut').value)}catch(e){return 0}}this.get_ZIndexOut=get_ZIndexOut;function set_ZIndexOut(value){try{window.document.getElementById(uid+'_tooltip_zIndexOut').value=value}catch(e){}}this.set_ZIndexOut=set_ZIndexOut;function get_XOffset(){try{return parseInt(window.document.getElementById(uid+'_tooltip_xOffset').value)}catch(e){return 0}}this.get_XOffset=get_XOffset;function set_XOffset(value){try{window.document.getElementById(uid+'_tooltip_xOffset').value=value}catch(e){}}this.set_XOffset=set_XOffset;function get_YOffset(){try{return parseInt(window.document.getElementById(uid+'_tooltip_yOffset').value)}catch(e){return 0}}this.get_YOffset=get_YOffset;function set_YOffset(value){try{window.document.getElementById(uid+'_tooltip_yOffset').value=value}catch(e){}}this.set_YOffset=set_YOffset;function get_MaxOpacity(){try{return parseInt(window.document.getElementById(uid+'_tooltip_maxOpacity').value)}catch(e){return 0}}this.get_MaxOpacity=get_MaxOpacity;function set_MaxOpacity(value){try{window.document.getElementById(uid+'_tooltip_maxOpacity').value=value}catch(e){}}this.set_MaxOpacity=set_MaxOpacity;startDrag=function(){var tooltip=ASPNetToolTip.ToolTip(uid);var objDiv=document.getElementById(uidDiv);if(tooltip.get_FollowMouse()){dragtarget=objDiv;ASPNetToolTip.MouseMoveHandler=tooltip.onMouseMove}moveDrag(objDiv);objDiv=dragtarget;tooltip.moveDrag(objDiv)};this.startDrag=startDrag;set_XHTMLContent=function(xhtmlIn){var tooltip=ASPNetToolTip.ToolTip(uid+"_ToolTipContent__tip");var objDiv=document.getElementById(uidDiv);objDiv.innerHTML=xhtmlIn};this.set_XHTMLContent=set_XHTMLContent;setXPosition=function(intPX){var tooltip=ASPNetToolTip.ToolTip(uid+"_ToolTipContent__tip");var objDiv=document.getElementById(uidDiv);objDiv.style.position="absolute";objDiv.style.top=intPX+"px"};this.setXPosition=setXPosition;setYPosition=function(xhtmlIn){var tooltip=ASPNetToolTip.ToolTip(uid+"_ToolTipContent__tip");var objDiv=document.getElementById(uidDiv);objDiv.style.position="absolute";objDiv.style.left=intPX+"px"};this.setYPosition=setYPosition;setXHTMLContent=function(xhtmlIn){var tooltip=ASPNetToolTip.ToolTip(uid+"_ToolTipContent__tip");var objDiv=document.getElementById(uidDiv);objDiv.innerHTML=xhtmlIn};this.setXHTMLContent=setXHTMLContent;moveDrag=function(objDiv){try{if(objDiv&&objDiv.style&&!parseFloat(objDiv.opacity)>0){var tooltip=ASPNetToolTip.ToolTip(uid);objDiv.style.position="absolute";var docWidth=getDocumentWidth();var docHeight=getDocumentHeight();var tipWidth=getElementWidth(objDiv.id);var tipHeight=getElementHeight(objDiv.id);var xOff=tooltip.get_XOffset();var yOff=tooltip.get_YOffset();if(xOff>0){if((window._mousex+xOff+tipWidth)>docWidth){if((window._mousex+tipWidth+1)<docWidth){xOff=docWidth-(window._mousex+tipWidth+1)}else if(tipWidth+1>window._mousex){xOff=1}else{xOff=-1}}}else{if(window._mousex+(xOff-tipWidth)<0){if(window._mousex>(tipWidth)){xOff=tipWidth-window._mousex+1}else if((window._mousex+tipWidth+1)<docWidth){xOff=1}else{xOff=-1}}}if(yOff>0){if((window._mousey+yOff+tipHeight)>docHeight){if((window._mousey+tipHeight+1)<docHeight){yOff=docHeight-(window._mousey+tipHeight+1)}else if(tipHeight+1>window._mousey){yOff=1}else{yOff=-1}}}else{if(window._mousey+(yOff-tipHeight)<0){if(window._mousey>(tipHeight)){yOff=tipHeight-window._mousey+1}else if((window._mousey+tipHeight+1)<docHeight){yOff=1}else{yOff=-1}}}if(xOff<0){objDiv.style.left=(window._mousex+xOff-tipWidth)+"px"}else{objDiv.style.left=(window._mousex+xOff)+"px"}if(yOff<0){objDiv.style.top=(window._mousey+yOff-tipHeight)+"px"}else{objDiv.style.top=(window._mousey+yOff)+"px"}}}catch(e){}};this.moveDrag=moveDrag;stopDrag=function(){if(dragtarget==document.getElementById(uidDiv)){dragtarget=null;ASPNetToolTip.MouseMoveHandler=null}};this.stopDrag=stopDrag;onMouseMove=function(){var tooltip=ASPNetToolTip.ToolTip(uid);var objDiv=dragtarget;tooltip.moveDrag(objDiv)};this.onMouseMove=onMouseMove;getElementHeight=function(Elem){if(document.getElementById){var elem=document.getElementById(Elem)}else if(document.all){var elem=document.all[Elem]}try{xPos=elem.offsetHeight}catch(e){xPos=elem.style.pixelHeight}return xPos};this.getElementHeight=getElementHeight;getDocumentWidth=function(){var elem=document.body;try{xPos=elem.offsetWidth}catch(e){xPos=elem.style.pixelWidth}return xPos};this.getDocumentWidth=getDocumentWidth;getDocumentHeight=function(){xPos=window.innerHeight!=null?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body!=null?document.body.clientHeight:null;return xPos};this.getDocumentHeight=getDocumentHeight;getElementWidth=function(Elem){if(document.getElementById){var elem=document.getElementById(Elem)}else if(document.all){var elem=document.all[Elem]}try{xPos=elem.offsetWidth}catch(e){xPos=elem.style.pixelWidth}return xPos};this.getElementWidth=getElementWidth;ToggleToolTip=function(){var tooltip=ASPNetToolTip.ToolTip(uid);if(toolTipStatus==0){tooltip.StartToolTip()}else if(toolTipStatus==2){tooltip.StopToolTip()}};this.ToggleToolTip=ToggleToolTip;StartToolTip=function(){if(toolTipStatus==0){toolTipStatus=2;if(typeof timeoutHandle!="undefined"){clearTimeout(timeoutHandle)}var tooltip=ASPNetToolTip.ToolTip(uid);var objDiv=document.getElementById(uidDiv);tooltip.startDrag(objDiv);timeoutHandle=setTimeout("ASPNetToolTip.ToolTip('"+uid+"').StartToolTip_mech()",tooltip.get_DelayAtStart());var strDropShadowDepth=tooltip.get_DropShadowDepth();if(strDropShadowDepth!=""&&strDropShadowDepth!="0"&&strDropShadowDepth!="0px"){tooltip.CreateDropShadow(strDropShadowDepth,tooltip.get_DropShadowPosition())}}};this.StartToolTip=StartToolTip;CreateDropShadow=function(strDropShadowDepth,strDropShadowPosition){var objDiv=document.getElementById(uidDiv);var objTip=document.getElementById(uidDiv+"__tip");objTip.style.position="relative";if(strDropShadowPosition=="BottomRight"){objTip.style.bottom=strDropShadowDepth;objDiv.style.paddingTop=strDropShadowDepth;objTip.style.right=strDropShadowDepth;objDiv.style.paddingLeft=strDropShadowDepth}else if(strDropShadowPosition=="BottomLeft"){objTip.style.bottom=strDropShadowDepth;objDiv.style.paddingTop=strDropShadowDepth;objTip.style.left=strDropShadowDepth;objDiv.style.paddingRight=strDropShadowDepth}else if(strDropShadowPosition=="TopLeft"){objTip.style.top=strDropShadowDepth;objDiv.style.paddingBottom=strDropShadowDepth;objTip.style.left=strDropShadowDepth;objDiv.style.paddingRight=strDropShadowDepth}else if(strDropShadowPosition=="TopRight"){objTip.style.top=strDropShadowDepth;objDiv.style.paddingBottom=strDropShadowDepth;objTip.style.right=strDropShadowDepth;objDiv.style.paddingLeft=strDropShadowDepth}else if(strDropShadowPosition=="Left"){objTip.style.left=strDropShadowDepth;objDiv.style.paddingRight=strDropShadowDepth}else if(strDropShadowPosition=="Right"){objTip.style.right=strDropShadowDepth;objDiv.style.paddingLeft=strDropShadowDepth}else if(strDropShadowPosition=="Top"){objTip.style.top=strDropShadowDepth;objDiv.style.paddingBottom=strDropShadowDepth}else if(strDropShadowPosition=="Bottom"){objTip.style.bottom=strDropShadowDepth;objDiv.style.paddingTop=strDropShadowDepth}};this.CreateDropShadow=CreateDropShadow;StartToolTip_mech=function(){var tooltip=ASPNetToolTip.ToolTip(uid);var objDiv=document.getElementById(uidDiv);var init=(typeof objDiv.style.opacity!="undefined")?(objDiv.style.opacity)*100:100;if(oTween){oTween.stop()}var opacityTween2;oTween=opacityTween2=new OpacityTween(objDiv,eval(tooltip.get_AnimationIn()),init,tooltip.get_MaxOpacity(),tooltip.get_FadeLength()/1000,"AnimationIn",tooltip.get_ZIndexIn());opacityTween2.start();tooltip.startDrag(objDiv)};this.StartToolTip_mech=StartToolTip_mech;StopToolTip=function(){if(toolTipStatus==2){toolTipStatus=0;if(typeof timeoutHandle!="undefined"){clearTimeout(timeoutHandle)}clearTimeout(timeoutHandle);timeoutHandle=setTimeout("ASPNetToolTip.ToolTip('"+uid+"').StopToolTip_mech()",ASPNetToolTip.ToolTip(uid).get_DelayAtEnd())}};this.StopToolTip=StopToolTip;StopToolTip_mech=function(){var tooltip=ASPNetToolTip.ToolTip(uid);var objDiv=document.getElementById(uidDiv);var init=(typeof objDiv.style.opacity!="undefined")?(objDiv.style.opacity)*100:100;objDiv.style.display="inline";if(oTween){oTween.stop()}var opacityTween1;oTween=opacityTween1=new OpacityTween(objDiv,eval(tooltip.get_AnimationOut()),init,0,tooltip.get_FadeLength()/1000,"AnimationOut",tooltip.get_ZIndexOut());opacityTween1.start();clearTimeout(timeoutHandle);timeoutHandle=setTimeout("ASPNetToolTip.ToolTip('"+uid+"').stopDrag()",Math.round(tooltip.get_FadeLength()/1000))};this.StopToolTip_mech=StopToolTip_mech};ASPNetToolTip.getScrollXY=function(){var scrOfX=0,scrOfY=0;if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;scrOfX=document.body.scrollLeft}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;scrOfX=document.documentElement.scrollLeft}return[scrOfX,scrOfY]};ASPNetToolTip.trim=function(id){var objDiv=document.getElementById(id);var children=objDiv.childNodes;for(var index=0;index<children.length;index++){if(ASPNetToolTip.isWhitespace(children[index])){objDiv.removeChild(children[index])}}};ASPNetToolTip.isWhitespace=function(node){if(node.nodeType!=3){return false}var reWhiteSpace=new RegExp(/^\s+$/);if(reWhiteSpace.test(node.nodeValue)){return true}else{return false}};ASPNetToolTip.MouseMoveHandler=null;ASPNetToolTip.getMouseXY=function(e){try{var xy=ASPNetToolTip.getScrollXY();window._mousex=window.event.clientX+xy[0];window._mousey=window.event.clientY+xy[1]}catch(x){window._mousex=e.pageX;window._mousey=e.pageY}if(ASPNetToolTip.MouseMoveHandler!=null){ASPNetToolTip.MouseMoveHandler()}return true}};if(!document.all){document.captureEvents(Event.MOUSEMOVE)}document.onmousemove=ASPNetToolTip.getMouseXY;function TweenDelegate(){}TweenDelegate.create=function(o,f){var a=new Array();var l=arguments.length;for(var i=2;i<l;i++){a[i-2]=arguments[i]}return function(){var aP=[].concat(arguments,a);f.apply(o,aP)}};Tween=function(obj,prop,func,begin,finish,duration,suffixe){this.init(obj,prop,func,begin,finish,duration,suffixe)};var t=Tween.prototype;t.obj=new Object();t.prop='';t.func=function(t,b,c,d){return c*t/d+b};t.begin=0;t.change=0;t.prevTime=0;t.prevPos=0;t.looping=false;t._duration=0;t._time=0;t._pos=0;t._position=0;t._startTime=0;t._finish=0;t.name='';t.suffixe='';t._listeners=new Array();t.setTime=function(t){this.prevTime=this._time;if(t>this.getDuration()){if(this.looping){this.rewind(t-this._duration);this.update();this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'})}else{this._time=this._duration;this.update();this.stop();this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'})}}else if(t<0){this.rewind();this.update()}else{this._time=t;this.update()}};t.getTime=function(){return this._time};t.setDuration=function(d){this._duration=(d==null||d<=0)?100000:d};t.getDuration=function(){return this._duration};t.setPosition=function(p){this.prevPos=this._pos;var a=this.suffixe!=''?this.suffixe:'';this.obj[this.prop]=Math.round(p)+a;this._pos=p;this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'})};t.getPosition=function(t){if(t==undefined){t=this._time}return this.func(t,this.begin,this.change,this._duration)};t.setFinish=function(f){this.change=f-this.begin};t.getFinish=function(){return this.begin+this.change};t.init=function(obj,prop,func,begin,finish,duration,suffixe){if(!arguments.length){return}this._listeners=new Array();this.addListener(this);if(suffixe){this.suffixe=suffixe}this.obj=obj;this.prop=prop;this.begin=begin;this._pos=begin;this.setDuration(duration);if(func!=null&&func!=''){this.func=func}this.setFinish(finish)};t.start=function(){this.rewind();this.startEnterFrame();this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'})};t.rewind=function(t){this.stop();this._time=(t==undefined)?0:t;this.fixTime();this.update()};t.fforward=function(){this._time=this._duration;this.fixTime();this.update()};t.update=function(){this.setPosition(this.getPosition(this._time))};t.startEnterFrame=function(){this.stopEnterFrame();this.isPlaying=true;this.onEnterFrame()};t.onEnterFrame=function(){if(this.isPlaying){this.nextFrame();setTimeout(TweenDelegate.create(this,this.onEnterFrame),0)}};t.nextFrame=function(){this.setTime((this.getTimer()-this._startTime)/1000)};t.stop=function(){this.stopEnterFrame();this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'})};t.stopEnterFrame=function(){this.isPlaying=false};t.continueTo=function(finish,duration){this.begin=this._pos;this.setFinish(finish);if(this._duration!=undefined){this.setDuration(duration)}this.start()};t.resume=function(){this.fixTime();this.startEnterFrame();this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'})};t.yoyo=function(){this.continueTo(this.begin,this._time)};t.addListener=function(o){this.removeListener(o);return this._listeners.push(o)};t.removeListener=function(o){var a=this._listeners;var i=a.length;while(i--){if(a[i]==o){a.splice(i,1);return true}}return false};t.broadcastMessage=function(){var arr=new Array();for(var i=0;i<arguments.length;i++){arr.push(arguments[i])}var e=arr.shift();var a=this._listeners;var l=a.length;for(var i=0;i<l;i++){if(a[i][e]){a[i][e].apply(a[i],arr)}}};t.fixTime=function(){this._startTime=this.getTimer()-this._time*1000};t.getTimer=function(){return new Date().getTime()-this._time};Tween.backEaseIn=function(t,b,c,d,a,p){if(s==undefined){var s=1.70158}return c*(t/=d)*t*((s+1)*t-s)+b};Tween.backEaseOut=function(t,b,c,d,a,p){if(s==undefined){var s=1.70158}return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b};Tween.backEaseInOut=function(t,b,c,d,a,p){if(s==undefined){var s=1.70158}if((t/=d/2)<1){return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b}return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b};Tween.elasticEaseIn=function(t,b,c,d,a,p){if(t==0){return b}if((t/=d)==1){return b+c}if(!p){p=d*.3}if(!a||a<Math.abs(c)){a=c;var s=p/4}else{var s=p/(2*Math.PI)*Math.asin(c/a)}return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b};Tween.elasticEaseOut=function(t,b,c,d,a,p){if(t==0){return b}if((t/=d)==1){return b+c}if(!p){p=d*.3}if(!a||a<Math.abs(c)){a=c;var s=p/4}else{var s=p/(2*Math.PI)*Math.asin(c/a)}return(a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b)};Tween.elasticEaseInOut=function(t,b,c,d,a,p){if(t==0){return b}if((t/=d/2)==2){return b+c}if(!p){var p=d*(.3*1.5)}if(!a||a<Math.abs(c)){var a=c;var s=p/4}else{var s=p/(2*Math.PI)*Math.asin(c/a)}if(t<1){return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b}return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b};Tween.bounceEaseOut=function(t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}};Tween.bounceEaseIn=function(t,b,c,d){return c-Tween.bounceEaseOut(d-t,0,c,d)+b};Tween.bounceEaseInOut=function(t,b,c,d){if(t<d/2){return Tween.bounceEaseIn(t*2,0,c,d)*.5+b}else{return Tween.bounceEaseOut(t*2-d,0,c,d)*.5+c*.5+b}};Tween.strongEaseInOut=function(t,b,c,d){return c*(t/=d)*t*t*t*t+b};Tween.regularEaseIn=function(t,b,c,d){return c*(t/=d)*t+b};Tween.regularEaseOut=function(t,b,c,d){return-c*(t/=d)*(t-2)+b};Tween.regularEaseInOut=function(t,b,c,d){if((t/=d/2)<1){return c/2*t*t+b}return-c/2*((--t)*(t-2)-1)+b};Tween.strongEaseIn=function(t,b,c,d){return c*(t/=d)*t*t*t*t+b};Tween.strongEaseOut=function(t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b};Tween.strongEaseInOut=function(t,b,c,d){if((t/=d/2)<1){return c/2*t*t*t*t*t+b}return c/2*((t-=2)*t*t*t*t+2)+b};OpacityTween.prototype=new Tween();OpacityTween.prototype.constructor=Tween;OpacityTween.superclass=Tween.prototype;function OpacityTween(obj,func,fromOpacity,toOpacity,duration,fade,zIndex){this.targetObject=obj;this.fade=fade;this.zIndex=zIndex;this.init(new Object(),'x',func,fromOpacity,toOpacity,duration)}var o=OpacityTween.prototype;o.targetObject={};o.fade={};o.onMotionStarted=function(evt){var v=evt.target._pos;var t=this.targetObject;var f=this.fade;var z=this.zIndex;if(f=="AnimationIn"){t.style.zIndex=z;t.style.display='block'}};o.onMotionChanged=function(evt){var v=evt.target._pos;var t=this.targetObject;t.style['opacity']=v/100;t.style['-moz-opacity']=v/100;t.style['filter']="alpha (opacity="+Math.round(v)+")"};o.onMotionFinished=function(evt){var v=evt.target._pos;var t=this.targetObject;var f=this.fade;var z=this.zIndex;if(f=="AnimationOut"){t.style.zIndex=z;t.style.display='none'}else{}};