
var flashMovie= "main";

function thisMovie(flashMovie){
	if (window.document[flashMovie]){
		return window.document[flashMovie];
	}
	if (navigator.appName.indexOf("Microsoft Internet")==-1){
		if (document.embeds && document.embeds[flashMovie])
			return document.embeds[flashMovie]; 
	}else{ // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
			return document.getElementById(flashMovie);
	}
}

// Checks if movie is completely loaded.
// Returns true if yes, false if no.
function movieIsLoaded (theMovie) {
  // First make sure the movie's defined.
  if (typeof(theMovie) != "undefined") {
    // If it is, check how much of it is loaded.
    return theMovie.PercentLoaded() == 100;
  } else {
    // If the movie isn't defined, it's not loaded.
    return false;
  }
}

function PlayFlashMovie_cnt1(){
//	thisMovie(flashMovie).TGotoLabel("_level0.mc_javaComm","content1");
	top.thisMovie(flashMovie).TGotoLabel("_level0.mc_javaComm","content1");
/*	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(flashMovie).GotoFrame(20);
	}*/
}
function PlayFlashMovie_cnt2(){
//	thisMovie(flashMovie).TGotoLabel("_level0.mc_javaComm","content2");
	top.thisMovie(flashMovie).TGotoLabel("_level0.mc_javaComm","content2");
/*	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(flashMovie).Play();
	}*/
}
function PlayFlashMovie_cnt3(){
	top.thisMovie(flashMovie).TGotoLabel("_level0.mc_javaComm","content3");
/*	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(flashMovie).Play();
	}*/
}
function PlayFlashMovie_cnt4(){
	top.thisMovie(flashMovie).TGotoLabel("_level0.mc_javaComm","content4");
/*	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(flashMovie).Play();
	}*/
}
function PlayFlashMovie_cnt5(){
	top.thisMovie(flashMovie).TGotoLabel("_level0.mc_javaComm","content5");
/*	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(flashMovie).Play();
	}*/
}

