<!--

	var bFlashPlugIn = false ;
	
	function setSWF( _sFile, _iWidth, _iHeight, _bNotWrite, _sAlternativeFile, _sAlternativeLink ) {

		var _sReturn = '' ;

		if ( bFlashPlugIn ) {
			var _sParameter = ' Menu=FALSE swModifyReport=TRUE width=' + _iWidth + ' height=' + _iHeight + ' ' ;

		 	_sReturn  = "<SCR" + "IPT LANGUAGE=\"JavaScript\" TYPE=\"text/javascript\">\n" ;
		 	_sReturn += "<!--\n" ;
		 	_sReturn += "  function MM_reloadPage(init) {\n" ;
		 	_sReturn += "    //reloads the window if Nav4 resized\n" ;
		 	_sReturn += "    if ( init == true ) {\n" ;
		 	_sReturn += "      with (navigator) {\n" ;
		 	_sReturn += "        if ( ( appName == 'Netscape' ) && ( parseInt(appVersion) == 4 ) ) {\n" ;
		 	_sReturn += "          document.MM_pgW = innerWidth ;\n" ;
		 	_sReturn += "          document.MM_pgH = innerHeight ;\n" ;
		 	_sReturn += "          onresize = MM_reloadPage ;\n" ;
		 	_sReturn += "        }\n" ;
		 	_sReturn += "      }\n" ;
		 	_sReturn += "    }\n" ;
		 	_sReturn += "    else if ( innerWidth != document.MM_pgW || innerHeight != document.MM_pgH ) {\n" ;
			_sReturn += "      location.reload();\n" ;
		 	_sReturn += "    }\n" ;
		 	_sReturn += "  }\n" ;
		 	_sReturn += "  MM_reloadPage(true);\n" ;
		 	_sReturn += "// -->\n" ;
		 	_sReturn += "</SCRI" + "PT>\n" ;
		 	_sReturn += "<SCRI" + "PT LANGUAGE=\"VBScript\">\n" ;
		 	_sReturn += "Sub ban_FSCommand( ByVal command, ByVal args )\n" ;
		 	_sReturn += "  call ban_DoFSCommand( command, args )\n" ;
		 	_sReturn += "end sub \n" ;
		 	_sReturn += "</SCRI" + "PT>\n" ;

		 	_sReturn += "<object id=\"flash\" width=\"" + _iWidth + "\" height=\"" + _iHeight + "\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"" + _sParameter + ">" ;
		 	_sReturn += "  <param name=\"src\" value=\"" + _sFile + "\">" ;
		 	_sReturn += "  <param name=\"quality\" value=\"autohigh\">" ;
		 	_sReturn += "  <param name=\"loop\" value=\"true\">" ;
		 	_sReturn += "  <param name=\"play\" value=\"true\">" ;
		 	_sReturn += "  <param name=\"menu\" value=\"false\">" ;
		 	_sReturn += "  <param name=\"wmode\">" ;
		 	_sReturn += "  <param name=\"quality\" value=\"high\">" ;
		 	_sReturn += "  <embed name=\"flash\" allowscriptaccess=\"always\" width=\"" + _iWidth + "\" height=\"" + _iHeight + "\" src=\"" + _sFile + "\" " + _sParameter + " pluginspage=\"http://www.macromedia.com/shockwave\" type=\"application/x-shockwave-flash\" PLAY=\"true\" LOOP=\"true\" QUALITY=\"autohigh\">" ;
		 	_sReturn += "  </embed>" ;
		 	_sReturn += "</object>" ;
		}
		else if ( _sAlternativeLink || _sAlternativeFile ) {
		  _sReturn = "<a href=\"" + _sAlternativeLink + "\" target=\"_blank\"><img src=\"" + _sAlternativeFile + "\" width=\"" + _iWidth + "\" height=\"" + _iHeight + "\" border=\"0\" alt=\"\"></a>" ;
		}
		else {
			_sReturn = "Flash Player is missing. You can find on Site <a href=\"http://www.macromedia.com/shockwave\" target=\"_blank\">http://www.macromedia.com/shockwave</a>" ;
		}

		if ( ! _bNotWrite ) {
			document.write( _sReturn ) ;
		}
		else {
			return _sReturn ;
		}

		return true ;
	}

	bFlashPlugIn = (    navigator.mimeTypes
	                 && navigator.mimeTypes["application/x-shockwave-flash"]
	                 && navigator.userAgent.indexOf("Safari") == -1
	               )
                 
	               ?
                 
	               navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin
                 
	               :
                 
	               0
                 
	               ;

	if ( bFlashPlugIn ) {

		bFlashPlugIn = parseInt( bFlashPlugIn.description.substring( bFlashPlugIn.description.indexOf(".") -1 ) ) > 4 ;

	}

	else if (    navigator.userAgent
	          && navigator.userAgent.indexOf("MSIE") >= 0
	          && (    navigator.userAgent.indexOf("Windows 95") >= 0
	               || navigator.userAgent.indexOf("Windows 98") >= 0
	               || navigator.userAgent.indexOf("Windows NT") >= 0
	             )
	        ) {

		document.write( "<SCR" + "IPT LANGUAGE=VBScript\> \n" ) ;
		document.write( "on error resume next \n" ) ;
		document.write( "bFlashPlugIn = ( IsObject( CreateObject(\"ShockwaveFlash.ShockwaveFlash.5\") ) )\n" ) ;
		document.write( "</SCR" + "IPT> \n" ) ;

	}

//-->

