function altCallback() {
	$("#noflash").html(noflashContent);
}

window.onload = function() {
	var query = parseQuery();
	deriveQuery();
	// update contact link
	updateContactLink()
	
	// write swf
	var so = new SWFObject("/brand/swf/brand.swf", "brand", "800", "360", "8", "#000000");
	so.addVariable("flprd", query.flprd);
	so.addVariable("fltop", query.fltop);
	loadFlash(so, "flashmovie", "noflash", 8, 0, 0, altCallback);
}

var noflashContent = "<div id=\"box-alert\" class=\"clearfix\">" + 
"<div class=\"text\">" + 
"<h4>The site you are viewing is optimized for Flash.</h4>" + 
"<p>To experience the full version of this website's content, please download the Flash player.</p>" + 
"</div>" + 
"<div class=\"banner\">" + 
"<a href=\"http://www.adobe.com/go/EN_US-H-GET-FLASH\" target=\"_blank\"><img src=\"/brand/images/banner_flash.gif\" alt=\"Get ADOBE FLASH PLAYER\" width=\"112\" height=\"33\" /></a></div>" + 
"</div>" + 
"<p><img src=\"/images/photo_flash.jpg\" alt=\"\" width=\"800\" height=\"363\" /></p>";

