/* js for blueprint flash graph */



var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
var plugin = 0;
var activeX = 0;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 6;
}
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('activeX = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n');
	document.write('<' + '/script>');
}

function loadFlashPlayer() {
  if (confirm("To view the charts on this page, Macromedia Flash must be installed on your computer.\nTo download and install this software on your computer, press Ok.")) {window.open('http://www.macromedia.com/go/getflashplayer/','Error','scrollbars, resizable,width=500,height=300');} 
  }

