<!--  
// name the parent window to send links back to:
//  if (window.opener && !window.opener.closed)
//  window.opener.name = "theparentwin";

// this is the id parameter in the object/embed tag
var movieName = "player";

function thisMovie(movieName) {
  // IE and Netscape refer to the movie object differently.
  // This function returns the appropriate syntax depending on the browser.
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    return window[movieName]
  }	else {
    return document[movieName]
  }
}

// Checks if movie is completely loaded.
// Returns true if yes, false if no.
function movieIsLoaded (theMovie) {
  if (typeof(theMovie) != "undefined") {
    return theMovie.PercentLoaded() == 100;
  } else {
    return false;
  }
}
// this function affects a playhead in the flashmovie, which fires off the right flash function
function goSlide(n) {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).TGotoLabel("_level0/javascript_mc/",n);
  }
}

//the next 3 lines are browser detection for user-agent DOMS
ns4 = (document.layers) ? true:false //required for Functions to work
ie4 = (document.all) ? true:false //required for Functions to work
ng5 = (document.getElementById) ? true:false //required for Functions to work

// these are the functions top hide and show the slides, they are called from the flash movie
function hide(n) {
	if (ng5) {
			if (document.getElementById(n)) {document.getElementById(n).style.visibility = "hidden";   }
		}
	else if (ns4) document[n].visibility = "hide"
	else if (ie4) document.all['slide'+n].style.visibility ="hidden"
}

function show(n) {
	if (ng5) {
			if (document.getElementById(n)) {document.getElementById(n).style.visibility = "visible";   }
		}
	else if (ns4) document.layers[n].visibility = "show";
	else if (ie4) document.all[n].style.visibility = "visible";
}




//--> 
