// JavaScript Document

<!--

var movieName = "headerFlash";
// Ajustar sintaxis en browsers
function thisMovie(movieName) {
	if (navigator.appName.indexOf ("Microsoft") !=-1) {
		return window[movieName]
	} else {
		return document[movieName]
	}
}

// Verificar carga de película flash
function movieIsLoaded (theMovie) {
	if (typeof(theMovie) != "undefined") {
		return theMovie.PercentLoaded() == 100;
	} else {
		return false;
	}
}

// Definir botón activo
	function golabelhome() {		
		if (movieIsLoaded(thisMovie(movieName))) {
			thisMovie(movieName).TGotoLabel("_level0/","home");
		}
		}

	function golabelcompany() {
	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(movieName).TGotoLabel("_level0/","company");
	}}
	
	function golabelproducts() {
		
	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(movieName).TGotoLabel("_level0/","products");
	}}
	
	function golabelnews() {
	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(movieName).TGotoLabel("_level0/","news");
	}}
	
	function golabelgallery() {
	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(movieName).TGotoLabel("_level0/","gallery");
	}}
	
	function golabeldistributors() {
	if (movieIsLoaded(thisMovie(movieName))) {
		thisMovie(movieName).TGotoLabel("_level0/","distributors");

	}}
	
	function golabelcontact() {
		if (movieIsLoaded(thisMovie(movieName))) {
			thisMovie(movieName).TGotoLabel("_level0/","contact");
		}
	}
