	// Check for Flash Plugin
	function FlashInstalled()
		{
			result = false;
		
			if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])
			{
				result = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
			}
			else if (document.all && (navigator.appVersion.indexOf("Mac")==-1))
			{
				// IE Windows only -- check for ActiveX control, have to hide code in eval from Netscape (doesn't like try)
				eval ('try {var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj)	result = true; xObj = null;	} catch (e)	{}');
			}
			return result;
		}
	
	// Check for Flash Plugin and Browser Versions	
	function compatible() 
		{
			// I did not have the tools to update the flash menus. 
			// So I just return false for now. PJB Sep/2008 
			return false;

			if ((FlashInstalled()) && ((navigator.appVersion.indexOf("4.7") > -1) || (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0" && navigator.userAgent.indexOf("Win") > -1))) 
			{
				return true;
			} 
			else 
			{
				return false;
			}
		}	

	// Load appropriate Flash Nav label	
	function initnav(label) {
		document.sideNav.TGotoLabel('/', label);
		document.sideNav.Play(); 
		}
	
	// Print code		
	function printthis()
				{
       		 if((navigator.appVersion.indexOf("4.") != -1) && (navigator.appName.indexOf("Netscape") != -1)){
					 print();
				}

				else
					{
					if (window.print)
					{
					window.print();
					}
					}
				}
		
		//Random content on Homepage		
		var imagenumber = 3 ;
		var randomnumber = Math.random() ;
		var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
		images = new Array
		images[1] = "media/hi_showcase01.gif"
		images[2] = "media/hi_showcase02.gif"
		images[3] = "media/hi_showcase03.gif"
		var displayImage = images[rand1]
		 
		atitle = new Array
		atitle[1] = "NSW Club Keno"
		atitle[2] = "ACT Keno"
		atitle[3] = "SA Lotteries"
		var displayTitle = atitle[rand1] 
		 
		text = new Array
		text[1] = "The VSS was installed into the NSW Club Keno network in December 1999 and boasts over 1,000 units, each operatating 3 channels for Keno draws, Keno Racing and a Promotional channel. <a href=\"showcasensw.html\">view</a>"
		text[2] = "Installed in September 1999 and has been operating without a hitch with only oparational interaction required. With the suite of themes now totalling over 20. <a href=\"showcaseact.html\">view</a>"
		text[3] = "Installed in November 2002 the VSS was used to replace the Gtech Gstation to provide greater flexibility and multiple channel support. <a href=\"showcasesal.html\">view</a>"
		var displayText = text[rand1]
		
		var showcase = '<table border="0" cellpadding="0" cellspacing="0" width="274"><tr><td valign="top"><img src="media/spacer.gif" width="1" height="6" alt="" border="0"></td></tr><tr><td valign="top" class="hicontent"><span class="hititle">' + displayTitle + ' </span><br><span class="hicontent">' + displayText + ' </span></td><td valign="top"><img src="media/spacer.gif" width="6" height="1" alt="" border="0"></td><td valign="top"><img src="' + displayImage + '" width="92" height="69" alt="" border="0"></td></tr></table>'
	
		var imagenumber = 3 ;
		var randomnumber = Math.random() ;
		var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
		images = new Array
		images[1] = "media/hi_product01.gif"
		images[2] = "media/hi_product02.gif"
		images[3] = "media/hi_product03.gif"
		var displayImage = images[rand1]
		 
		atitle = new Array
		atitle[1] = "Video Sub System"
		atitle[2] = "Ken-O Guy"
		atitle[3] = "Retail"
		var displayTitle = atitle[rand1] 
		 
		text = new Array
		text[1] = "The VSS is not just limited to Keno and may be used to display Retail, Bingo, Lotto, Race, Sports, Stock Exchange and other information in real time. <a href=\"productsbingo.html\">view</a>"
		text[2] = "Ken-O has been created and animated in a variety of ways, to add life to the otherwise static screens displayed between draws. He is available to be licensed now and adapted to your needs! <a href=\"productsken.html\">view</a>"
		text[3] = "The Video Sub System can provide a dynamic, downloadable display of all your content, all centrally controlled from your head office.  <a href=\"productsretail.html\">view</a>"
		var displayText = text[rand1]
		
		var product = '<table border="0" cellpadding="0" cellspacing="0" width="274"><tr><td valign="top"><img src="media/spacer.gif" width="1" height="6" alt="" border="0"></td></tr><tr><td valign="top" class="hicontent"><span class="hititle">' + displayTitle + ' </span><br><span class="hicontent">' + displayText + ' </span></td><td valign="top"><img src="media/spacer.gif" width="6" height="1" alt="" border="0"></td><td valign="top"><img src="' + displayImage + '" width="92" height="69" alt="" border="0"></td></tr></table>'
	
		// Close window code	
		function closeWindow()
			{
			window.close();
			}	
			
		// Popup code	
		function openWindow(fpath,wWidth,wHeight,wName) {
		var winX = (screen.availWidth - wWidth)*.5;
		var winY = (screen.availHeight - wHeight)*.5;
		win1 = window.open(fpath, wName, "toolbar=no,menubar=no,status=yes,width=" + wWidth + ",height=" + wHeight + ",left=" + winX + ",top=" + winY + ",scrollbars=no");
	}		
	
	// Rollover code
	if (document.images) 
		{            
		<!-- wax on -->
		   sub01on = new Image();   sub01on.src = "media/showcase_disp_01b.gif";
			 sub02on = new Image();   sub02on.src = "media/showcase_disp_02b.gif";
			 sub03on = new Image();   sub03on.src = "media/showcase_disp_03b.gif";
			 sub04on = new Image();   sub04on.src = "media/showcase_disp_04b.gif";
			 sub05on = new Image();   sub05on.src = "media/showcase_disp_05b.gif";
			 sub06on = new Image();   sub06on.src = "media/showcase_disp_06b.gif";
			 
		 <!-- wax off -->
		   sub01off = new Image();   sub01off.src = "media/showcase_disp_01a.gif";
			 sub02off = new Image();   sub02off.src = "media/showcase_disp_02a.gif";
			 sub03off = new Image();   sub03off.src = "media/showcase_disp_03a.gif";
			 sub04off = new Image();   sub04off.src = "media/showcase_disp_04a.gif";
			 sub05off = new Image();   sub05off.src = "media/showcase_disp_05a.gif";
			 sub06off = new Image();   sub06off.src = "media/showcase_disp_06a.gif";
			 
		}
		
		function imgOn(sImgName)
				{
				   if (document.images) 
				   {
				   document[sImgName].src = eval(sImgName + "on.src");       
				   }
				}
				
				function imgOff(sImgName)
				{
				   if (document.images) 
				   {
				   document[sImgName].src = eval(sImgName + "off.src");        
				   }
				}