function thisMovie(movieName)
{
if(navigator.appName.indexOf('Microsoft') != -1)
{
return window[movieName];
}
else
{
return document[movieName];
}
}

/*function sendEvent(typ, prm)
{

var el = document.getElementById('mute');
el.style.backgroundPosition  = 5 + 'px';


thisMovie('mpl').sendEvent(typ, prm);
}
*/

// hiermit wird der Mutebutton an und ausgeschaltet
var toggle = 1;
function sendEvent(typ){

var el = document.getElementById('mute');
el.style.backgroundPosition  = 0 + 'px';

if(toggle==1){
thisMovie('mpl').sendEvent(typ, '0');
toggle=0;

el.style.backgroundPosition  = '-855px 27px';
}
else if(toggle==0){
thisMovie('mpl').sendEvent(typ, '100');
toggle=1;

el.style.backgroundPosition  = '-855px -50px';
}

}

