OpacityTween.prototype = new Tween();OpacityTween.prototype.constructor = Tween;OpacityTween.superclass = Tween.prototype;function OpacityTween(obj,func,fromOpacity,toOpacity,duration){	this.targetObject = obj;	this.init(new Object(),'x',func,fromOpacity,toOpacity,duration);}var o = OpacityTween.prototype;o.targetObject = {};o.onMotionChanged = function(evt){	var v = evt.target._pos;	var t = this.targetObject;	t.style['opacity'] = v / 100;	t.style['-moz-opacity'] = v / 100;	if(t.filters) t.filters.alpha['opacity'] = v;}function fadeOut(pic){var opacityTween = new OpacityTween(document.getElementById(pic),Tween.regularEaseOut, 100, 0, .25);opacityTween.start();}function fadeIn(pic){var opacityTween = new OpacityTween(document.getElementById(pic),Tween.regularEaseOut, 0, 100, .25);opacityTween.start();}
