//Flash Controls

function thisMovie(movieName) {
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    return window[movieName]
  }	else {
    return document[movieName]
  }
}

function movieIsLoaded (theMovie) {
  if (typeof(theMovie) != "undefined") {
    return theMovie.PercentLoaded() == 100;
  } else {
    return false;
  }
}

function go(theMovieName) {
	var _movie = thisMovie(theMovieName);
  	if (movieIsLoaded(_movie)) {
		_movie.GotoFrame(1);
		_movie.Play();
  	}
}

// JumpTo Script

var activeLayer = "0";
function JumpToNav(navIndex)
	{
		newNav	= "NavContent"+navIndex;
		oldNav	= "NavContent"+activeLayer;
										   			
		newNavLayer	= document.all? document.all[newNav] : document.getElementById? document.getElementById(newNav) : ""		
		oldNavLayer	= document.all? document.all[oldNav] : document.getElementById? document.getElementById(oldNav) : ""	
		
		oldNavLayer.style.display="none";
		newNavLayer.style.display="block";	
					
		activeLayer = navIndex;
	}
