//flash fix for ssp
function flashPutHref(href) { location.href = href; }

   var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

                                    var pluginURL;                                                                                                               

                                    if(plugin){

                                                plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 5;

                                    } 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.writeln('<SCRIPT LANGUAGE=VBScript\>');

                                                document.writeln('on error resume next');

                                                document.writeln('plugin = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))');

                                                document.write('</SCRI')

                                                document.writeln('PT>');

                                    }

 

                                    if(plugin){

                                                pluginURL = 'flash';

                                    } else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){

                                                pluginURL = 'html';

                                    }



var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
var bolFlashOK = false;

if (navigator.plugins && navigator.plugins.length) {
	
	x = navigator.plugins["Shockwave Flash"];
	
	if (x) {

		flashinstalled = 2;
		if (x.description) {
			y = x.description;
			flashversion = y.charAt(y.indexOf('.')-1);
		}
	} else {
		flashinstalled = 1;
		if (navigator.plugins["Shockwave Flash 2.0"]) {
			flashinstalled = 2;
			flashversion = 2;
		}
	}
} else if (navigator.mimeTypes && navigator.mimeTypes.length) {
	
	x = navigator.mimeTypes['application/x-shockwave-flash'];
	
	if (x && x.enabledPlugin) {
		flashinstalled = 2;
	} else {
		flashinstalled = 1;
	}
	
} else {
	
	MSDetect = "true";
	
}
 
if ( flashinstalled == 2) {
	bolFlashOK = true;
}
