

<!-- Detector Shield
//Detect flash plugin version


// Don't change anything below
var FlashInstalled = 0;
var Flash3Installed = 0;
var Flash4Installed = 0;
var Flash5Installed = 0;
var Flash5sInstalled = 0;
var Flash6Installed = 0;
var FlashUncertainty = 0;
var Flash4r28Installed = 1;

var hasNT = false;
var agt=navigator.userAgent

var isNetscape     = ( navigator.appName   && navigator.appName.indexOf("Netscape")  >= 0 );
var isIE           = ( navigator.userAgent && navigator.userAgent.indexOf("MSIE")    >= 0 );
var isIE5          = ( navigator.userAgent && navigator.userAgent.indexOf("MSIE 5")  >= 0 );
var isIE5s          = ( navigator.userAgent && navigator.userAgent.indexOf("MSIE 5")  >= 5 );
var isMac          = ( navigator.platform  && navigator.platform.indexOf("Mac")      >= 0 );
var isWindows      = ( navigator.userAgent && navigator.userAgent.indexOf("Windows") >= 0 );
var browserVersion = parseInt( navigator.appVersion );

if ( navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] &&
	 navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin )
{
	FlashInstalled = 1;
	if ( navigator.plugins && navigator.plugins["Shockwave Flash"] ) {
		Flash3Installed = 1;
		plugin = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
		version = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1));
		if ( version >= 6 ) {
			Flash6Installed = 1;
		}
		else if ( version >= 5 ) {
			Flash5Installed = 1;
		}
		else if ( version >= 4 ) {
			Flash4Installed = 1;
		}
	}
}
else {
	if ( isIE ) {
		if ( isMac || browserVersion < 4 )
		{
			FlashUncertainty = 1;
		}
	}
	else if ( !isNetscape )
		FlashUncertainty = 1;
}

if ( isIE && isWindows ) 
{
	document.writeln('<scr'+'ipt language="VBScript">');
	document.writeln('on error resume next');
	document.writeln('FlashInstalled = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash")))');
	document.writeln('Flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))');
	document.writeln('Flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))');
	// upgrade versions older than 4,0,28 (262172)
	document.writeln('Flash4r28Installed = ( CreateObject("ShockwaveFlash.ShockwaveFlash").FlashVersion >= 262172 )');
	document.writeln('Flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))');
	document.writeln('Flash6Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))');
	document.writeln('</scr'+'ipt>');
}
//-->

<!-- Detector Shield

var hasFlash=false;
var upgradeFlash=false;


if ( Flash5Installed ) 
{
hasFlash = false;
upgradeFlash=true;
//alert ("Macromedia 5");
}

else if ( Flash4Installed ) 
{
  	if ( Flash4r28Installed ) 
	{
	hasFlash=false;
	upgradeFlash=false;
	}
	else
	{
	hasFlash=false;
	upgradeFlash=false;
	}
}
else if ( isMac && isIE && !isIE5 ) 
{
hasFlash=false;
upgradeFlash=false;
}
else if ( FlashUncertainty ) 
{
hasFlash=false;
upgradeFlash=false;
}
else if ( isIE && !isMac ) 
{
hasFlash=false;
upgradeFlash=false;
}
else 
{
hasFlash=false;
upgradeFlash=false;
}

if ( Flash6Installed )
{
hasFlash = true;
upgradeFlash=false;
//alert ("Flash 6 MX");
}

//new addition here 29/08/2002 by graham - shows if you have NT base and 5.5

if ((agt.indexOf("WinNT")!=-1)||(agt.indexOf("Windows NT")!=-1)) 
{
var hasNT = true;
}

if ( hasFlash )
{
	document.write('<table border=0 cellpadding=0 cellspacing=0><tr height=1><td rowspan=3 width=1><img src="../images/blank.gif" width=1 alt="" border="0"></td><td colspan=3><img src="../images/blank.gif" height=1 alt="" border="0"></td></tr><tr><td><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"457\" height=\"99\" id=\"carouselleft\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"movie\" value=\"flash/carousel.swf?link=/staging/_getflashimage.php?image=left\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><embed src=\"flash/carousel.swf?link=/staging/_getflashimage.php?image=left\" quality=\"high\" bgcolor=\"#ffffff\" width=\"457\" height=\"99\" name=\"carouselleft\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" /></object></td><td width=1><img src="../images/blank.gif" height=1 width=1 alt="" border="0"></td><td><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"93\" height=\"99\" id=\"carouselright\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"movie\" value=\"flash/carousel_right.swf?link=/staging/_getflashimage.php?image=right\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#ffffff\" /><embed src=\"flash/carousel_right.swf?link=/staging/_getflashimage.php?image=right\" quality=\"high\" bgcolor=\"#ffffff\" width=\"93\" height=\"99\" name=\"carouselright\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" /></object></td></tr><tr><td colspan=3><img src="../images/blank.gif" height=1 alt="" border="0"></td></tr></table>');
}
else document.write('<img src=\"images/topgraphic.jpg\" border=0>');

