 plugin = 0;
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"]) {
	  if ((navigator.userAgent.indexOf("Mac")<0) || 
	      (navigator.userAgent.indexOf("MSIE")<0) ||
	      ((navigator.userAgent.indexOf("MSIE 4.")<0) && (navigator.userAgent.indexOf("MSIE 5.0")<0))) {
		plugin = 1;
		}
	}
}
else if (navigator.userAgent && navigator.use