jQuery(document).ready(function($) {
	
	var hasFlash = false;
	try {
	  var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
	  if(fo) hasFlash = true;
	}catch(e){
	  if(navigator.mimeTypes ["application/x-shockwave-flash"] != undefined) hasFlash = true;
	}
	
	if (hasFlash == true){
		$('#noflash').hide();
	}else{
		$('#withflash').hide();
		$('#noflash').show();
	}

});
