\n'); } /* OMG! this was a hard one - disabled IE for a reason! its too buggy and unpredictable! - paul o{nospam}o at chaos-studio.com */ var me; //represents the SWF id var meMode; //stupid javascript errors stop IE var timerID = null //more stupid IE problems //get the correct reference function enableMySound(str){ meMode = str; } function startMusic() { //the ie bugger! if (meMode == "on") { if (navigator.appName.indexOf("Microsoft") > -1) { //sorry ie you suck! } else { document['body'].javascriptsound('1'); } } clearTimeout(timerID) } function myfocus() { timerID = self.setTimeout("startMusic()", 500) } function myblur() { if (meMode == "on") { if (navigator.appName.indexOf("Microsoft") > -1) { //sorry ie you suck! } else { document['body'].javascriptsound('0'); } } } window.onfocus = myfocus; window.onblur = myblur; function popupwindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //-->