function getMimeType(){
var mimeType = "application/x-mplayer2"; //default
var agt=navigator.userAgent.toLowerCase();
if (navigator.mimeTypes && agt.indexOf("windows")==-1) {
//non-IE, no-Windows
  var plugin=navigator.mimeTypes["audio/mpeg"].enabledPlugin;
  if (plugin) mimeType="audio/mpeg" //Mac/Safari & Linux/FFox
}//end no-Windows
return mimeType
}//end function getMimeType

function controlSound(_sndObj) 
{
	var i, method = "", sndObj = eval(_sndObj);

	if (sndObj != null) {
		if (navigator.appName == 'Netscape') method = "play";
		else {
			if (window.MM_WMP == null) {
				window.MM_WMP = (typeof document.all != 'undefined');
			}

			if (window.MM_WMP) method = "play";
			else if (sndObj.FileName) method = "run";
		} 
	}
	
//	sndObj.type = getMimeType();
//alert(eval("typeof "+_sndObj+"."+method+"();"));
	if (method) eval(_sndObj+"."+method+"();");
}

window.onload = function() {
	if (el = document.getElementById('soundtrigger')) {
//    		el.onmouseover = function() { controlSound('document.sound1'); }
el.onmouseover = function() {document.sound1.SetVariable('url', "http://www.beatlesinconcert.nl/usr-data/LMTNS64.mp3");}
	}
}
