/*----------------------------
	GENERIC JAVASCRIPT
----------------------------*/
function initSWFObject(){
	//bottom module
	var ms = (new Date ()).getUTCMilliseconds();
	var rnd = Math.random () * ms;
	var lcName1 = "lc_1" +  rnd + ms; 	
	
	var flashvars = {};
	flashvars.lcName = lcName1;
	flashvars.animate=false;
	var params = {
		allowscriptaccess: "always",
		allownetworking: "all",
		menu: "false",
		quality: "best",
		wmode: "transparent"
	};
	var attributes = {};

	swfobject.embedSWF("homeBase.swf", "flash-trip-finder", "945", "319", "9.0.115","flash/expressInstall.swf", flashvars, params, attributes);
}


//HACK: mootools conflicts with our validation JS on share.asp
//so we don't include mootools and call initSWFObject directly
// this hack tests for the existence of Mootools
if (window.addEvent) {
	window.addEvent('domready', function(){ initSWFObject(); });
} else {
	initSWFObject();
};
	