function(e){ object(n.fix(e)); }); 
function(s, a){ object(n.fix(s, a)); }); 
(function(){	var mouseFix = function(s, a){		var ev = {target: s};		if(a){			var p = a.getPosition(null);			ev.x = p.x;			ev.y = p.y;			ev.ctrlKey = a.ctrl;			ev.shiftKey = a.shift;		}		return ev;	};	var keyFix = function(s, a){		var ev = {			keyCode:  a.platformKeyCode,			ctrlKey:  a.ctrl,			shiftKey: a.shift		};		return ev;	};	var eventNames = {		onclick:		{name: "MouseLeftButtonUp", fix: mouseFix},		onmouseover:	{name: "MouseEnter", fix: mouseFix},		onmouseout:		{name: "MouseLeave", fix: mouseFix},		onmousedown:	{name: "MouseLeftButtonDown", fix: mouseFix},		onmouseup:		{name: "MouseLeftButtonUp", fix: mouseFix},		onmousemove:	{name: "MouseMove", fix: mouseFix},		onkeydown:		{name: "KeyDown", fix: keyFix},		onkeyup:		{name: "KeyUp", fix: keyFix}	};	var eventsProcessing = {		connect: function(name, object, method){			var token, n = name in eventNames ? eventNames[name] : 				{name: name, fix: function(){ return {}; }};			if(arguments.length > 2){				token = this.getEventSource().addEventListener(n.name, 					function(e){ dojo.hitch(object, method)(n.fix(e)); });			}else{				token = this.getEventSource().addEventListener(n.name, 					function(e){ object(n.fix(e)); });			}			return {name: n.name, token: token};		},		disconnect: function(token){			this.getEventSource().removeEventListener(token.name, token.token);		}	};	dojo.extend(dojox.gfx.Shape, eventsProcessing);	dojo.extend(dojox.gfx.Surface, eventsProcessing);})();
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/df273f771fa859ee514af1f061eb28e85d2e7f8c/silverlight.js/clean/gfx/silverlight.js