function flash_box_transparent() {
	  var yourShade = document.getElementById('flash_opacity');
	  var d = detectMacXFF();
		// 	  if (d) {
		// 	    //osx ff css opacity + flash wmode transparent doesn't work
		// 	    // yourShade.style.backgroundImage= "url(/path_to/opaque_grey.png)";
		// 	    // 	    yourShade.style.backgroundRepeat="repeat";
		// // alert('hello');
		// 	  } else {
	    yourShade.style.backgroundColor = "#16140F";
	    yourShade.style.MozOpacity = .97;
	    yourShade.style.opacity = .97;
	    yourShade.style.filter = "alpha(opacity=97)";
	  //}
}

function detectMacXFF() {
  var userAgent = navigator.userAgent.toLowerCase();
  if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) {
    return true;
  }
}