// Builds absolute URLs based on environment
	// Initialize variables
	var the_url = document.URL.toLowerCase();
	var fgLocale = the_url.split('/');
	// Just grab the bits after http:// and before any subdirectories
	var checkLocale = fgLocale[2];
	// Get us in the ballpark
	var dirPath = "/text/content/gateway/pet/";

	// Are we in Production?
	if (checkLocale.indexOf('frontgate.com') != -1) {
		// Yes! Let's Akamaize it!
		akamaiPrefix = "http://a248.e.akamai.net/f/248/6062/6h/" + checkLocale + "/";
		flashPrefix = "http://" + checkLocale + "/";
		// an extra variable to tell the omniture script in flash what domain we're on
		omniPlace = "prod";
	// Are we in Staging?
	} else if (checkLocale.indexOf('172.25.18.43') != -1 || checkLocale.indexOf('209.135.45.248') != -1) {
		// Yes! Just the IP, ma'am
		akamaiPrefix = "http://" + checkLocale + "/";
		flashPrefix = "http://" + checkLocale + "/";
		// an extra variable to tell the omniture script in flash what domain we're on
		omniPlace = "stag";
	// It's all local
	} else {
		akamaiPrefix = "";
		flashPrefix = "";
		dirPath = "";
		// an extra variable to tell the omniture script in flash what domain we're on
		omniPlace = "local";
	}

	flashURL = new Array(3);
		// For use in loading images and flash content
		flashURL["img"] = akamaiPrefix+dirPath;
		// For use in loading xml files (not akamaized for security reasons)
		flashURL["xml"] = akamaiPrefix+dirPath;

	var movieThing = flashURL["img"] + 'landing_banner.swf';


				// <![CDATA[
				var fo = new FlashObject("/text/content/gateway/pet/landing_banner.swf", "swfobject", "732", "254", "8", "#FFFFFF"); <!-- filepath, id, width, height, flash version, background color -->
				fo.addParam("flashvars" , "delaytime=100"); <!-- FlashVars - change staticLink to the same url as the hero image on the homepage changing ampersands to %26 -->
				fo.addParam("quality", "best"); <!-- Set quality -->
				fo.addParam("scale", "noscale"); <!-- Set Scaling -->
				fo.addParam("wmode", "transparent"); <!-- Set Transparency -->
				fo.addParam("menu", "false"); <!-- Turn Right Click Menu Off -->
				fo.write("flashcontent"); <!-- Tells the script to write the flash div of the same id -->
				// ]]>