function isAppleMobile(){
	var isAppleMobile_check = false;
	if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPad/i)) || (navigator.userAgent.match(/iPod/i))){
		isAppleMobile_check = true;
	}
	return isAppleMobile_check;
}
function hasFlash(){
	var hasFlash = false;
	var isAppleMobile_check = isAppleMobile();
	if(!isAppleMobile_check){
		if (navigator.plugins && navigator.mimeTypes.length) {
			var x = navigator.plugins["Shockwave Flash"];
			if (x && x.description) {
				hasFlash = true;
			}
		} else { 
			try {
				var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
			} catch (e) {
				try {
					var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
				} catch (e) { }
				try {
					axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
				} catch (e) { }
			}
			if (axo != null) {
				hasFlash = true;
			}
		}
	}
	return hasFlash;
}
