	var v2=false,v3=false,v4=false,v5=false,v6=false,v7=false,v8=false
 	if (navigator.appName=="Microsoft Internet Explorer")
	{	
		document.write('<SCR'+'IPT LANGUAGE=VBScript\> \n');
 		document.write('on error resume next \n');
  		document.write('v2 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
  		document.write('v3 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
  		document.write('v4 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
 		document.write('v5 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');  
 		document.write('v6 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');
		document.write('v7 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n');
		document.write('v8 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8"))) \n');      
 		document.write('</SCR'+'IPT\> \n');
	}
	else
	{
		if (navigator.plugins){
			if (navigator.plugins["Shockwave Flash"]){
				var descr = navigator.plugins["Shockwave Flash"].description;
				var version = parseInt(descr.charAt(descr.indexOf(".") - 1));
				v2 = version == 2;		
				v3 = version == 3;
				v4 = version == 4;
				v5 = version == 5;
				v6 = version == 6;
				v7 = version == 7;
				v8 = version == 8;
			}
		}	
	} 	
	function detecta()
	{
		var vdetect=0
		for(i=2;i<=8;i++)
		{
			if (eval("v"+i)==true) vdetect=i
		}
		if (vdetect>=7) window.location="index2.html"
		else window.location="noflash.html"
	}
	function detectai()
	{
		var vdetect=0
		for(i=2;i<=8;i++)
		{
			if (eval("v"+i)==true) vdetect=i
		}
		if (vdetect>=7) window.location="index3.html"
		else window.location="noflashi.html"
	}

