﻿<!--
var requiredVersion = 6;
var flashDetected = false;
var noFlashImg = "../images/homenoflash.gif";	
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false;
if(isIE && isWin){
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('flashDetected = (IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.'+requiredVersion+'\"))) \n');
	document.write('</SCR' + 'IPT\> \n');
}
if (navigator.plugins){
	if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]){
		var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
		var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
		var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));

		if(flashVersion >= requiredVersion){
			flashDetected=true;
		}
	}
}
if (!flashDetected){
	document.write('<img src=' + noFlashImg + ' width="643" height="320">');
}else{
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="643" HEIGHT="320" id="home" ALIGN="">');
	document.write('<PARAM NAME=movie VALUE="../swf/flashhome.swf">');
	document.write('<PARAM NAME=quality VALUE=high>');
	document.write('<PARAM NAME=play VALUE=true>');
	document.write('<PARAM NAME=loop VALUE=false>');
	document.write('<PARAM NAME=scale VALUE=playall>');
	document.write('<PARAM NAME=WMode VALUE=transparent>');
	document.write('<EMBED wmode="opaque" src="../swf/flashhome.swf" quality=high bgcolor=#FFFFFF  WIDTH="643" HEIGHT="320" NAME="home" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
	document.write('</OBJECT>');
}
//-->