rem: var clientWidth = YAHOO.util.Dom.getViewportWidth();  
add: var vw = YAHOO.util.Dom.getViewportWidth();  
context: YAHOO.widget.ContainerEffect.SLIDE = function(overlay, dur) {	var x = overlay.cfg.getProperty("x") || YAHOO.util.Dom.getX(overlay.element);	var y = overlay.cfg.getProperty("y") || YAHOO.util.Dom.getY(overlay.element);	var clientWidth = YAHOO.util.Dom.getClientWidth();	var offsetWidth = overlay.element.offsetWidth;	var slide = new YAHOO.widget.ContainerEffect(overlay, { 															attributes:{ points: { to:[x, y] } }, 															duration:dur, 															method:YAHOO.util.Easing.easeIn 														}, 														{ 															attributes:{ points: { to:[(clientWidth+25), y] } },															duration:dur, 															method:YAHOO.util.Easing.easeOut														},														overlay.element,														YAHOO.util.Motion);													slide.handleStartAnimateIn = function(type,args,obj) {		obj.overlay.element.style.left = (-25-offsetWidth) + "px";		obj.overlay.element.style.top  = y + "px";	};		slide.handleTweenAnimateIn = function(type, args, obj) {		var pos = YAHOO.util.Dom.getXY(obj.overlay.element);		var currentX = pos[0];		var currentY = pos[1];		if (YAHOO.util.Dom.getStyle(obj.overlay.element, "visibility") == "hidden" && currentX < x) {			YAHOO.util.Dom.setStyle(obj.overlay.element, "visibility", "visible");		}		obj.overlay.cfg.setProperty("xy", [currentX,currentY], true);		obj.overlay.cfg.refireEvent("iframe");	};		slide.handleCompleteAnimateIn = function(type, args, obj) {		obj.overlay.cfg.setProperty("xy", [x,y], true);		obj.startX = x;		obj.startY = y;		obj.overlay.cfg.refireEvent("iframe");		obj.animateInCompleteEvent.fire();	};	slide.handleStartAnimateOut = function(type, args, obj) {		var clientWidth = YAHOO.util.Dom.getViewportWidth();				var pos = YAHOO.util.Dom.getXY(obj.overlay.element);		var x = pos[0];		var y = pos[1];		var currentTo = obj.animOut.attributes.points.to;		obj.animOut.attributes.points.to = [(clientWidth+25), y];	};	slide.handleTweenAnimateOut = function(type, args, obj) {		var pos = YAHOO.util.Dom.getXY(obj.overlay.element);		var x = pos[0];		var y = pos[1];		obj.overlay.cfg.setProperty("xy", [x,y], true);		obj.overlay.cfg.refireEvent("iframe");	};	slide.handleCompleteAnimateOut = function(type, args, obj) { 		YAHOO.util.Dom.setStyle(obj.overlay.element, "visibility", "hidden");				var offsetWidth = obj.overlay.element.offsetWidth;		obj.overlay.cfg.setProperty("xy", [x,y]);		obj.animateOutCompleteEvent.fire();	};		slide.init();	return slide;};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/container-debug.js/clean/www/resources/yui/container/container-debug.js