<!--//

// Major version of Flash required
var requiredMajorVersion = 8;

// Minor version of Flash required
var requiredMinorVersion = 0;

// Minor version of Flash required
var requiredRevision = 0;

// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = CCM_DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// flash width (proportional to large image)
var intFlashWidth = 750;

// flash height (proportional to large image)
var intFlashHeight = 165;

// alternate image src (if flash not supported)
var strImgSrc = '/images/home.jpg';

// alternate image alt text (if flash not supported)
var strImgAlt = 'Alliance Mining Corporation';

// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {
	objFlash = '<obj' + 'ect classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + requiredMajorVersion + ',0,0,0" width="' + intFlashWidth + '" height="' + intFlashHeight + '" id="FlashProduct">';
	objFlash = objFlash + '<par' + 'am name="allowScriptAccess" value="sameDomain" />';
	objFlash = objFlash + '<par' + 'am name="movie" value="/allianceflash1.swf" /><par' + 'am name="quality" value="high" /><par' + 'am name="bgcolor" value="#ffffff" /><par' + 'am name="wmode" value="transparent" /><emb' + 'ed src="/allianceflash1.swf" quality="high" bgcolor="#ffffff" width="' + intFlashWidth + '" height="' + intFlashHeight + '" name="FlashProduct" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" />';
	objFlash = objFlash + '</obj' + 'ect>';
	//alert(objFlash);
	document.write(objFlash);
} else {  // flash is too old or we can't detect the plugin
	document.write('<a href="/"><img src="' + strImgSrc + '" width="' + intFlashWidth + '" height="' + intFlashHeight + '" alt="' + strImgAlt + '" border="0" /></a>');
}

// -->