﻿// JScript File

function movie1(){
    var hasRightVersion = DetectFlashVer(8, 0, 24);
	if(hasRightVersion) {  // if we've detected an acceptable version
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            'width', '800',
            'height', '260',
            'src', 'world',
            'quality', 'high',
            'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'transparent',
            'devicefont', 'false',
            'id', 'world',
            'bgcolor', '#ffffff',
            'name', 'world',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'world',
            'salign', ''
        );//end AC code
    }else{
        // flash is too old or we can't detect the plugin
		var alternateContent = '<img src="_images/noembed.jpg" alt="Flash Movie Image Replacement" />';
		document.write(alternateContent);  // insert non-flash content
    }
}
function movie2(){
    var hasRightVersion = DetectFlashVer(8, 0, 24);
	if(hasRightVersion) {  // if we've detected an acceptable version
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            'width', '800',
            'height', '260',
            'src', 'world',
            'quality', 'high',
            'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'transparent',
            'devicefont', 'false',
            'id', 'world',
            'bgcolor', '#ffffff',
            'name', 'world',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'world',
            'salign', ''
        );//end AC code
    }else{
        // flash is too old or we can't detect the plugin
		var alternateContent = '<img src="_images/noembed.jpg" alt="Flash Movie Image Replacement" />';
		document.write(alternateContent);  // insert non-flash content
    }
}
function movie3(){
    var hasRightVersion = DetectFlashVer(8, 0, 24);
	if(hasRightVersion) {  // if we've detected an acceptable version
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            'width', '800',
            'height', '260',
            'src', 'world',
            'quality', 'high',
            'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'transparent',
            'devicefont', 'false',
            'id', 'world',
            'bgcolor', '#ffffff',
            'name', 'world',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'world',
            'salign', ''
        );//end AC code
    }else{
        // flash is too old or we can't detect the plugin
		var alternateContent = '<img src="_images/noembed.jpg" alt="Flash Movie Image Replacement" />';
		document.write(alternateContent);  // insert non-flash content
    }
}
function movie4(){
    var hasRightVersion = DetectFlashVer(8, 0, 24);
	if(hasRightVersion) {  // if we've detected an acceptable version
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            'width', '800',
            'height', '260',
            'src', 'world',
            'quality', 'high',
            'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'transparent',
            'devicefont', 'false',
            'id', 'world',
            'bgcolor', '#ffffff',
            'name', 'world',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'world',
            'salign', ''
        );//end AC code
    }else{
        // flash is too old or we can't detect the plugin
		var alternateContent = '<img src="_images/noembed.jpg" alt="Flash Movie Image Replacement" />';
		document.write(alternateContent);  // insert non-flash content
    }
}