﻿// JScript File
// Jamie Ahmed
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
                    if(hasRightVersion) {  // if we've detected an acceptable version
	                    if (AC_FL_RunContent == 0) {
		                    alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
	                    } else {
		                    // embed the flash movie
		                    AC_FL_RunContent(
			                    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
			                    'width', '479',
			                    'height', '254',
			                    'src', 'lnriag_home',
			                    'quality', 'high',
			                    'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			                    'align', 'middle',
			                    'play', 'true',
			                    'loop', 'true',
			                    'scale', 'showall',
			                    'wmode', 'window',
			                    'devicefont', 'false',
			                    'id', 'solutions',
			                    'bgcolor', '#ffffff',
			                    'name', 'lnriag_home',
			                    'menu', 'false',
			                    'allowScriptAccess','sameDomain',
			                    'movie', 'lnriag_home',
			                    'salign', ''
			                    ); //end AC code
	                    }
                       // embed the flash movie
                      } else {  // flash is too old or we can't detect the plugin
                        var alternateContent = ''
                        document.write(alternateContent);  // insert non-flash content
                      }