// JavaScript Document
function marcaLI(id, qtd){
	for (i=1; i<=qtd; i++){
		str = 'document.getElementById("tr';
		if (i<10){
			str += '0';
		}
		str += i+'").style.color="#000";';
		eval(str);
		//alert(str);
	}
	eval('document.getElementById("'+id+'").style.color="#990000";');
}

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 gtplabel(label,movieName) {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).TGotoLabel("_level0/",label);
	thisMovie(movieName).Play();
  }
}
function toca(wTrack){
	gtplabel(wTrack,'MBplayer');
	}
