function RunFlash()
{

    document.write('<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
    document.write('  http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
    document.write(' ID="Branding Space" width="330" Height="315" ALIGN="right">');
    document.write(' <PARAM NAME=allowScriptAccess VALUE="sameDomain">  ');
    document.write(' <PARAM NAME=movie VALUE="/author/etc/medialib/flashapps/gc-portal/GCPortal_swf.Par.0001.File.dat/GCPortal.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>  ');
    document.write(' <EMBED src="/author/etc/medialib/flashapps/gc-portal/GCPortal_swf.Par.0001.File.dat/GCPortal.swf" quality=high bgcolor=#FFFFFF  ');
    document.write(' swLiveConnect=TRUE width="330" Height="315" ID="Branding Space" NAME="Branding Space" ALIGN="" allowScriptAccess="sameDomain" ');
    document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
    document.write(' <\/EMBED>');
    document.write(' <\/OBJECT>');
}


function RunFlashPublish()
// publish (no author)
{

    document.write('<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
    document.write('  http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
    document.write(' ID="Branding Space" width="330" Height="315" ALIGN="right">');
    document.write(' <PARAM NAME=allowScriptAccess VALUE="sameDomain">  ');
    document.write(' <PARAM NAME=movie VALUE="/etc/medialib/flashapps/gc-portal/GCPortal_swf.Par.0001.File.dat/GCPortal.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>  ');
    document.write(' <EMBED src="/etc/medialib/flashapps/gc-portal/GCPortal_swf.Par.0001.File.dat/GCPortal.swf" quality=high bgcolor=#FFFFFF  ');
    document.write(' swLiveConnect=TRUE width="330" Height="315" ID="Branding Space" NAME="Branding Space" ALIGN="" allowScriptAccess="sameDomain" ');
    document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
    document.write(' <\/EMBED>');
    document.write(' <\/OBJECT>');

}

var TempHost=location.host;
var hasNameCookie = document.cookie.indexOf("WelcomeName=");
var hasSiteCookie = document.cookie.indexOf("SiteDef=");
var hasCountryCookie = document.cookie.indexOf("country=");

if (hasNameCookie != -1)
{
	var start = hasNameCookie + 12;		             // Start of cookie value
	var end = document.cookie.indexOf(";", start);            // End of cookie value
	if (end == -1) end = document.cookie.length;
	var WelcomeName=unescape(document.cookie.substring(start, end));
	}
	else
	{
	var WelcomeName="x";
}
if (hasSiteCookie != -1)
{
	var start = hasSiteCookie + 8;		             // Start of cookie value
	var end = document.cookie.indexOf(";", start);            // End of cookie value
	if (end == -1) end = document.cookie.length;
	var mySiteDef=unescape(document.cookie.substring(start, end));
	}
	else
	{
	var mySiteDef="Suite7";
}
if (hasCountryCookie != -1)
{
	var start = hasCountryCookie + 8;		             // Start of cookie value
	var end = document.cookie.indexOf(";", start);            // End of cookie value
	if (end == -1) end = document.cookie.length;
	var Country=unescape(document.cookie.substring(start, end));
	}
	else
	{
	var Country="x";
}
var MM_contentVersion = 8;
var noflash = 0;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
        var words = navigator.plugins["Shockwave Flash"].description.split(" ");
        for (var i = 0; i < words.length; ++i)
        {
        if (isNaN(parseInt(words[i])))
        continue;
        var MM_PluginVersion = words[i];
        }
    var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.appVersion.indexOf("Win") != -1)) {

    document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
    document.write('on error resume next \n');
    document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
    document.write('<\/SCR' + 'IPT\> \n');
}

if ( MM_FlashCanPlay ) {
	if (document.location.href.indexOf("/author/") != -1)
	  { RunFlash();
	  } else { RunFlashPublish();
	  }

   } else {

    document.write('<p align=center>This page contains Flash.  To view the Flash presentation, you need Flash 9 Player.<br><br>Click <a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">here</a> to download the Flash Player.</p>');
   }
