var EnableFullAuto = false; //just in case

window.onload = function () {

//  window["aplayer"] = new Object();//dummy for SWFFormFix
//  var so = new SWFObject("flash/intro_rus_new_js.swf", "aplayer", "600", "522", "9,0,0,0", "#ffffff");
//  so.addParam("allowScriptAccess", 'always');
//  so.addParam("swLiveConnect", "true");
//  so.addParam("wmode", "transparent");
//  so.addParam("quality", "best");
//  so.write("flash");
//  SWFFormFix("aplayer");
//
//  document.getElementById("switchsoundoff").onclick = function() {
//    stopm('idd');
//    this.style.display = "none";
//    document.getElementById("switchsoundon").style.display = "inline";
//    return false;
//  }
//  document.getElementById("switchsoundon").onclick = function() {
//    stopm('idd');
//    this.style.display = "none";
//    document.getElementById("switchsoundoff").style.display = "inline";
//    return false;
//  }

}

function getMovie(movieName) 
{
  var isIE = navigator.appName.indexOf('Microsoft') != -1;
  return (isIE) ? window[movieName] : document[movieName];
}
function stopm(apl) {
  var vpl = getMovie('aplayer');
  vpl.stopmp3(apl);
}
