var logo =
{
	start: function()
	{
		if ( window.location == "http://www.brandmercenaries.com/" || window.location == "http://brandmercenaries.com/" )
		{
			// Remove the original logo anchor.
			$( "logo" ).remove( );

			// Create a new logo div.
			var logo = new Element( "div", {"id":"logo"}).injectBefore( $( "creed" ) );

			// ...with a div inside of it to hold the place of the Flash object since IE won't let us add padding or margins to an object element.
			var flashPlaceholder = new Element( "div", {"id":"flashPlaceholder"}).injectInside( logo );

			// Make the Flash object.
			var logo = swfobject.embedSWF( "splash.swf", "flashPlaceholder", "203", "203", "9.0.0", null, null, { quality: "high", bgcolor: "#000000" } );
		}
		else
		{
			// I feel dirty.
			$( "logo" ).style.backgroundImage = "url(/wp-content/themes/brandmercenaries/images/logo.gif)";
		}
	}
};

window.onload = logo.start;