var swfVersionStr = "10.0.0";
var xiSwfUrlStr = ViewerFxAppKeyUrl + "playerProductInstall.swf";
var flashvars = {};
var params = {};
params.quality = "high";
params.bgcolor = ViewerFxBackground;
params.allowscriptaccess = "sameDomain";
if (ViewerFxTransparent == "True") params.wmode = "transparent";
var attributes = {};
attributes.id = "ViewerFx_AspNet";
attributes.name = "ViewerFx_AspNet";
attributes.align = "middle";
swfobject.embedSWF(ViewerFxAppCacheUrl + "ViewerFx_AspNet.swf", "flashContent", "100%", "100%", swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);

swfobject.createCSS("#flashContent", "display:block;text-align:left;");

function getCallbackUrl() {
    return ViewerFxAppUrl;
}

function getReportGuid() {
    return ViewerFxReportGuid;
}

function changeTitle(newTitle) {
    window.document.title = newTitle;
}