for (var evt in options.events) vars[evt] = 'Swiff.Events.' + instance + '.' + evt; 
for (var event in options.events){ Swiff.Events[instance][event] = function(){ options.events[event].call($(options.id)); }; vars[event] = 'Swiff.Events.' + instance + '.' + event; }  
var Swiff = function(path, options){	if (!Swiff.fixed) Swiff.fix();	var instance = 'Swiff_' + Swiff.UID++;		options = $merge({		id: instance,		liveConnect: true,		properties: {			width: 1,			height: 1		},		params: {			allowScriptAccess: 'sameDomain'		},		events: {},		vars: {}	}, options);	var properties = options.properties, params = options.params, vars = options.vars, id = options.id;		if (options.liveConnect) params.swLiveConnect = true;	Swiff.Events[instance] = {};	for (var evt in options.events) vars[evt] = 'Swiff.Events.' + instance + '.' + evt;	params.flashVars = Hash.toQueryString(vars);	if (Client.Engine.ie){		properties.classid = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000';		params.movie = path;	}	properties.type = 'application/x-shockwave-flash';	properties.data = path;		var build = '<object id="' + options.id + '"';	for (var attr in properties) build += ' ' + attr + '="' + properties[attr] + '"';	build += '>';	for (var name in params) build += '<param name="' + name + '" value="' + params[name] + '" />';	build += '</object>';		var object = new Element('div').setHTML(build).firstChild;	for (var event in options.events) Swiff.Events[instance][event] = options.events[event].bind(object);	return object;	};
9299	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9299/1616cbc5fcd543c94f8d7a885c14f16f33dee3dd/Swiff.js/clean/Source/Swiff/Swiff.js