// JavaScript Document
var requiredMajorVersion = 8;
var requiredMinorVersion = 0;
var requiredRevision = 0;
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {
	// if we've detected an acceptable version
	// embed the Flash Content SWF when all tests are passed
	AC_FL_RunContent(
				"src", "swf/ciudad",
				"width", "100%",
				"height", "83",
				"align", "middle",
				"id", "detectionExample",
				"quality", "high",
				"wmode", "transparent",
				"name", "detectionExample",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0',
				"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = '<a href=#><img src=images/redoma.gif width=120 /></a>';
	document.write(alternateContent);  // insert non-flash content
}
/*
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="83">')
document.write('<param name="movie" value="swf/ciudad.swf">')
document.write('<param name="quality" value="high">')
document.write('<param name="wmode" value="transparent">')
document.write('<embed src="swf/ciudad.swf" width="100%" height="83" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></object>')*/