var flashvars = {
};

var params = { //Setup param tag elements for the flash object to embed in the page
	allowScriptAccess:"Always",
	menu:"false",
	quality:"high",
	scale:"exactfit",
	salign:"tl",
	bgcolor:"#fff",
	wmode:"transparent"
};

var attributes = { //Setup object tag elements for the flash object to embed in the page
	id: myName,
	name: myName
};

var viewerUrl = ""; //Build Viewer Path to Viewer swf
viewerUrl += S7Config.isViewerRoot;
viewerUrl += "flash/" + viewerType + ".swf?";
viewerUrl += "&serverUrl=" + S7Config.isRoot;
viewerUrl += "&contentRoot=" + S7Config.skinsRoot;
viewerUrl += "&instanceName=" + myName;
viewerUrl += "&image=" + imageName;
viewerUrl += "&config=" + configName;

swfobject.embedSWF(viewerUrl, "myContent", "410", "560", "7.0.14.0", "../resources/expressInstall/expressInstall.swf", flashvars, params, attributes); //Add Viewer to page into the myContent div element, at 403 x 560 pixels, checking for flash version 6,0,65 before allowing initialization to proceed, otherwise show the default div content