// all scripts in this file have been modified from their original format
var subdomain = "classic-events3/";
window.onload = startmovie


function startmovie() {
     myAudioPlayer       = getPageAudioMovieObject();
            
     
     if (myAudioPlayer) {
        myAudioPlayer.Play();
     }    
}
  
var locationStr = document.location + " ";

var fileStr = locationStr.indexOf("file");

if (fileStr == 0) {
  document.write('<link rel="stylesheet" href="styles/non-hidden.css">'); 
  subdomain = "";
} else {
  subdomain = "/" + subdomain;
  document.write('<link rel="stylesheet" href="styles/hidden.css">'); 
}

info_handle = new Object;
info_ID = 0;

function info(w,h,t,l, url) {
  var loc = 'width=' + w + ',height=' + h + ',top=' + t + ',left=' + l;
  info_handle = window.open(url,"info",",,,,toolbar,scrollbars,resizable," + loc);
  if(parseInt(navigator.appVersion) >= 4){info_handle.window.focus();}
}


function bookmark(){
  if (document.all) {
    window.external.AddFavorite(document.location.href,document.title)
  }
}

function makeHomePage() {
	if (document.all){
	  document.body.style.behavior='url(#default#homepage)';
      document.body.setHomePage(document.location);
	}
}

function getRelativeLocation() {
   	navRoot = document.getElementById("header");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if ((node.nodeName=="PARAM" || node.nodeName=="param") && (node.name == "base" || node.name == "BASE")) {
			  //alert ("returning " + node.value);
			  return node.value;
			}
	    }
}  

function getPageAudioMovieObject() {
   if (navigator.appName.indexOf("Microsoft Internet")!=-1) {
     return window.miniPlayer;
   } else {
     return window.document.miniPlayer; 
   }     
}