\n'); } function init() { //alert(MSIE+" "+NETS+" "+OPER); flashMovie = document.lti; /*if(MSIE == -1){ flashMovie.beQuiet('start'); }*/ } // tell flash to be quiet function silenceFlash() { //alert("silence"); if (flashMovie) { flashMovie.beQuiet('off'); } } // tell flash to start playing.. function playFlash() { //alert("play"); if (flashMovie && !InternetExplorer) { flashMovie.beQuiet('on'); } //document.bgmusic.play(); } // call back from flash function getFromFlash(name) { alert(name); } // wait for the page to fully load, only then initialize window.onload = init; // if page loses focus -> be quiet //window.onblur = silenceFlash; // if page get focus -> start playing //window.onfocus = playFlash;