/**
 * @author Michelangelo Capraro
 */


/**
 * the swfobject embed code for gaia
 */
// for tracking
// try {
// 	var pageTracker = _gat._getTracker("UA-9693594-1");
// 	pageTracker._trackPageview();
// } catch(err) {}
// 
// // check the current path requested, and cache that deeplink for after the intro
// var requestedSubSection = unescape(document.location.hash.substring(1)).split("\\").join("/");
// var deeplink = "";
// if (requestedSubSection != "" && requestedSubSection != "/intro") {
// 	deeplink = requestedSubSection;
// 	document.location.hash = "/";
// 	if (navigator.userAgent.indexOf("MSIE") >= 0) SWFAddress.setValue("/");
// }

var params = {
	quality: "high",
	scale: "noscale",
	wmode: "transparent",
	allowscriptaccess: "always",  
	allowfullscreen: "true",
};
var flashvars = {      
	embedded: true
};
var attributes = {
	id: "flashcontent",
	name: "flashcontent"
};

if (isBrowserValid()) { // only embed if the browser can support the scrolling
	swfobject.embedSWF("swfs/shell.swf", "flashcontent", "100%", "100%", "9.0.124", "swfs/expressInstall.swf", flashvars, params, attributes);
}
