var isNS = (document.layers);
var isNS6=(document.getElementById && (! document.all));
var isIE=(document.getElementById && document.all);
var pltfrm = navigator.userAgent.toLowerCase();
var isMac = (pltfrm.indexOf("mac")>-1);

var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if (plugin) {
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4;
	
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
document.write('<\/SCRIPT> \n');
}

//if ( (! plugin) || (location.search == "?noflash") )   {
if (false) {

vrsn="noflash";
html='<a href="home.asp"><img src="img/nonflash/home1.gif" width="80" height="119" border="0"></a></td>   <td><a href="comingup.asp"><img src="img/nonflash/comingup2.gif" width="80" height="119"border="0"></a></td>   <td><a href="archives.asp"><img src="img/nonflash/archives3.gif" width="80" height="119" border="0"></a></td>   <td><a href="email.asp"><img src="img/nonflash/email4.gif" width="80" height="119" border="0"></a></td>   <td><a href="prices.asp"><img src="img/nonflash/prices5.gif" width="80" height="119" border="0"></a></td>	<td><a href="7thart.asp"><img src="img/nonflash/7thart6.gif" width="80" height="119" border="0" alt="7th Art"></a></td>		<td><a href="rental.asp"><img src="img/nonflash/rental7.gif" width="80" height="119" border="0" alt="Theater Rental"></a></td>		<td><a href="https://www.cinemapolis.org/membership.asp"><img src="img/nonflash/beamember.gif" alt="Be a Member" width="80" height="119" border="0"></a>'
document.write(html);
}


else {
vrsn="flash";
html='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=640 HEIGHT=110><PARAM NAME=movie VALUE="cinemapolis08.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="cinemapolis08.swf" loop=false quality=high bgcolor=#FFFFFF  WIDTH=640 HEIGHT=110 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>'
document.write(html);  

} 

