
		<!-- 
		// Version check based upon the values entered above in "Globals"
		var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
		
		function SWFObject(file, id, width, height, version, bgcolor) {
			this.numVars = 0;
			if (file.charAt(0) == '/')
			{
				this.fileStr = 'http://www.idealog.co.nz' + file;
			}
			else
			{
				this.fileStr = file;
			}
			if (width > 614)
			{
				width = 614;
			}
			this.objectParamStr = "";
			this.embedParamStr = "";
			this.HTMLStart = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + width + '" height="' + height + '" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="flashplayer"><param name="swliveconnect" value="true" /><param name="AllowScriptAccess" value="always" /><param name="bgcolor" value="' + bgcolor + '" /><param name="allowFullScreen" value="true" /><param name="quality" value="high" />';
			this.HTMLEnd = ' quality="high" bgcolor="' + bgcolor + '" width="' + width + '" height="' + height + '" name="detectiontest" align="middle" play="true" loop="false" quality="high" AllowScriptAccess="always" swliveconnect="true" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed><\/object>';
			this.addParam = function(name,value) {
				this.objectParamStr += '<param name="' + name + '" value="' + value + '" />';
				this.embedParamStr += ' ' + name + '="' + value + '"';
			}
			this.addVariable = function(name,value){
				var processedVal = '';
				if (value.charAt(0) == '/')
				{
					processedVal = 'http://www.idealog.co.nz' + value;
				}
				else
				{
					processedVal = value;
				}
				if ( this.numVars == 0 )
				{
					this.fileStr += "?";
				}
				else
				{
					this.fileStr += "&";
				}
				this.fileStr += name + "=" + processedVal;
				this.numVars++;
			}
			
			
			this.useExpressInstall = function()
				{}
			
			
			this.write = function(elementId) 
			{
				if (hasReqestedVersion) 
				{ 
					document.getElementById(elementId).innerHTML = this.HTMLStart + '<param name="movie" value="' + this.fileStr + '" />' + this.objectParamStr + '<embed src="' + this.fileStr + '"' + this.embedParamStr + this.HTMLEnd;
				}
			}
		} 


		
// -->


