<!--

var MM_contentVersion = 6;
var MM_FlashCanPlay = false;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if (plugin) {
  var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
  var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
  var MM_PluginVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));
	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');
}

function render_flash(file,width,height) {
	if (MM_FlashCanPlay) {
		document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '">');
		document.write ('  <param name="movie" value="' + file + '">');
		document.write ('  <param name="quality" value="best">');
		document.write ('   <param name="wmode" value="transparent">');
		document.write ('  <embed src="' + file + '" quality="best" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"><\/embed>');
		document.write ('<\/object>');
	} else {
    document.write ('');
	}
};


// Pop Up Window Function
function popUp(url,width,height) {
  vv=window.open(url,'popup','width='+width+',height='+height+',directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no');
  vv.focus(); 
};

//-->
