function hasFlash() {
	var HM_isMac = (navigator.appVersion.indexOf("Mac") != -1) ? 1 : 0;
	
	if (HM_isMac) {
		return true;
	}else {
		try {
			//  var bf = GetVer("{D27CDB6E-AE6D-11CF-96B8-444553540000}");
			//  if (bf.length > 0 && bf.charAt(0) == '7') return 7;
			var ts = 'ShockwaveFlash.ShockwaveFlash';
			var fl = isHere(ts+'.7');
			if (fl == 1) {return 7;}
			fl = isHere(ts+'.6');
			if (fl == 1) {return 6;}
			fl = isHere(ts+'.5');
			if (fl == 1) {return 5;}
			fl = isHere(ts+'.4');
			if (fl == 1) {return 4;}
			fl = isHere(ts+'.3');
			if (fl == 1) {return 3;}
			fl = isHere(ts);
			if (fl == 1) {return 2;}
			return fl;
		}catch (e) {return 0;}
	}
}
/*
function GetVer(id) {
  return document.all("caps").getComponentVersion(id, "ComponentID");
}
*/