function ShowFlashActive(Filename,FWidth,FHeight,Bg)
{
		html = "<OBJECT id='Shockwaveflash1' ";
		//html += "codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,29,0'";		
		html += "codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0'";
		//html +=	"height=\""+FHeight+"\" width=\""+FWidth+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" VIEWASTEXT>";
		html +=	"height=\""+FHeight+"\" width=\""+FWidth+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\">";
		//html += "<PARAM NAME=\"_cx\" VALUE=\"10848\">";
		//html +=	"<PARAM NAME=\"_cy\" VALUE=\"2646\">";
		html += "<PARAM NAME=\"FlashVars\" VALUE=\"\">";
		html +=	"<PARAM NAME=\"Movie\" VALUE=\""+Filename+" \">";
		html +=	"<PARAM NAME=\"Src\" VALUE=\""+Filename+" \">";
		html +=	"<PARAM NAME=\"WMode\" VALUE=\"transparent\">";
		html += "<PARAM NAME=\"Play\" VALUE=\"-1\">";
		html +=	"<PARAM NAME=\"Loop\" VALUE=\"-1\">";
		html +=	"<PARAM NAME=\"Quality\" VALUE=\"High\">";
		html +=	"<PARAM NAME=\"SAlign\" VALUE=\"\">";
		html +=	"<PARAM NAME=\"Menu\" VALUE=\"-1\">";
		html +=	"<PARAM NAME=\"Base\" VALUE=\"\">";
		html +=	"<PARAM NAME=\"AllowScriptAccess\" VALUE=\"\">";
		html +=	"<PARAM NAME=\"Scale\" VALUE=\"ShowAll\">";
		html +=	"<PARAM NAME=\"DeviceFont\" VALUE=\"0\">";
		html +=	"<PARAM NAME=\"EmbedMovie\" VALUE=\"0\">";
		html +=	"<PARAM NAME=\"BGColor\" VALUE=\"\">";
		html +=	"<PARAM NAME=\"SWRemote\" VALUE=\"\">";
		html +=	"<PARAM NAME=\"MovieData\" VALUE=\"\">";
		html +=	"<PARAM NAME=\"SeamlessTabbing\" VALUE=\"1\">";
		html +=	"<PARAM NAME=\"Profile\" VALUE=\"0\">";
		html +=	"<PARAM NAME=\"ProfileAddress\" VALUE=\"\">";
		html +=	"<PARAM NAME=\"ProfilePort\" VALUE=\"0\">";
		html +=	"<EMBED width=\""+FWidth+"\" height=\""+FHeight+"\" src='"+Filename+"' quality='high'";
		//html +=	"bgcolor="+Bg+" TYPE='application/x-shockwave-flash'";
		if(FWidth == 310 || FHeight == 253)
		{
		    html +=	" wmode='transparent' TYPE='application/x-shockwave-flash'";
		}
		else
		{
		    html +=	" TYPE='application/x-shockwave-flash'";
		}
		html +=	"PLUGINSPAGE='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash'></EMBED>";
		html +=	"</OBJECT>";
		if(window.navigator.appName.indexOf("Microsoft")>-1)
		{
			document.write(html);
		}
		else
		{
			document.write(html);
		}
}
/* <![CDATA[ */ 
function AdjustColumnsHeight()
{
    // get a reference to the three DIVS that make up the columns
    var centerCol = window.document.getElementById('mainbody');
    var leftCol = window.document.getElementById('left-menu');
    var rightCol = window.document.getElementById('content');
    var rCol = window.document.getElementById('right-menu');
    // calculate the max height
    var hCenterCol = centerCol.offsetHeight;
    var hLeftCol = leftCol.offsetHeight;
    var hRightCol = rightCol.offsetHeight;
    var hRCol = rCol.offsetHeight;
    var maxHeight = Math.max(hCenterCol, Math.max(Math.max(hLeftCol, hRightCol), hRCol));
    // set the height of all 3 DIVS to the max height
    centerCol.style.height = maxHeight + 'px';
    leftCol.style.height = maxHeight + 'px';
    rightCol.style.height = maxHeight + 'px';            
    rCol.style.height = maxHeight + 'px';
    // Show the footer
    window.document.getElementById('footer').style.visibility = 'inherit';
}
function addEvent(obj, evType, func)
{
    if(obj.addEventListener){ obj.addEventListener(evType, func, false); return true;}
    else if(obj.attachEvent){ var r = obj.attachEvent("on"+evType, func); return r;} else { return false; }
}
/* ]]> */
