﻿// JavaScript Document
var flashinstalled = 0;
MSDetect = "false";
if (navigator.plugins && navigator.plugins.length) {
	x = navigator.plugins['Shockwave Flash'];
	if (x) flashy = 2;
	else flashy = 1;
} else if (navigator.mimeTypes && navigator.mimeTypes.length) {
	x = navigator.mimeTypes['application/x-shockwave-flash'];
	if (x && x.enabledPlugin) flashy = 2;
	else flashy = 1;
} else MSDetect = "true";

if ( MSDetect ) {
	document.write('<SCRIPT Language="VBScript"> \n');
	document.write('on error resume next \n');
	document.write('If MSDetect = "true" Then \n');
	document.write('If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash"))) Then \n');
	document.write('flashy = 1 \n');
	document.write('Else \n');
	document.write('flashy = 2 \n');
	document.write('End If \n');
	document.write('End If \n');
	document.write('</SCRIPT> \n');
}