<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
	if (AC_FL_RunContent == 0) {
		alert("Please Contact Administrator.");
	} else {	
		// embed the flash movie
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
			'width', '716',
			'height', '48',
			'src', 'Flashes/PersianMenu',
			'quality', 'best',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'PersianMenu',
			'bgcolor', '#ffffff',
			'name', 'PersianMenu',
			'menu', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'Flashes/PersianMenu',
			'salign', ''
			); //end AC code
	}
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = ''
	+ '<table border="0" width="716" height="48" style="border-collapse: collapse; position: relative;" cellpadding="0">'
		+ '<tr>'
			+ '<td background="Images/Background/PersianMenu.jpg">'
				+ '<a href="Menu.asp?MSID=1&MIN=7"><div style="position: absolute; width: 75px; height: 22px; z-index: 100; left: 25px; top: 14px; Cursor: hand;"></div></a>'
				+ '<a href="Menu.asp?MSID=1&MIN=6"><div style="position: absolute; width: 75px; height: 22px; z-index: 100; left: 124px; top: 14px; Cursor: hand;"></div></a>'
				+ '<a href="Menu.asp?MSID=1&MIN=5"><div style="position: absolute; width: 75px; height: 22px; z-index: 100; left: 223px; top: 14px; Cursor: hand;"></div></a>'
				+ '<a href="Menu.asp?MSID=1&MIN=4"><div style="position: absolute; width: 75px; height: 22px; z-index: 100; left: 322px; top: 14px; Cursor: hand;"></div></a>'
				+ '<a href="Menu.asp?MSID=1&MIN=3"><div style="position: absolute; width: 75px; height: 22px; z-index: 100; left: 421px; top: 14px; Cursor: hand;"></div></a>'
				+ '<a href="Menu.asp?MSID=1&MIN=2"><div style="position: absolute; width: 75px; height: 22px; z-index: 100; left: 520px; top: 14px; Cursor: hand;"></div></a>'
				+ '<a href="Menu.asp?MSID=1&MIN=1"><div style="position: absolute; width: 75px; height: 22px; z-index: 100; left: 619px; top: 14px; Cursor: hand;"></div></a>'
			+ '</td>'
		+ '</tr>'
	+ '</table>';
	document.write(alternateContent);  // insert non-flash content
}
// -->
