
nie = (navigator.appName.indexOf("Microsoft") == -1);
function arr(n)  {
   this.length=n
   for (var i=0;i<n;i=i+1)  {
     this[i] = ''
   }
}
function mv(movieName) 
{
	if (navigator.appName.indexOf ("Microsoft") !=-1) {
		return document.all[movieName]
	} else {
		return document[movieName]
	}	
}
function loadMovie(id, movie, texto, link, target)
{
	mv(id).LoadMovie(0, movie);
    mv(id).outerHTML = mv(id).outerHTML;
	if (typeof texto != "undefined")
	{
		mv(id).SetVariable("butLabel", texto);
		mv(id).SetVariable("header", texto);
	}
	if (typeof link != "undefined")
	{
		mv(id).SetVariable("butURL", link);
		mv(id).SetVariable("caption", link);
	}
	if (typeof target != "undefined")
		mv(id).SetVariable("frametarget", target);
}
function movieIsLoaded (theMovie) {
  if (typeof(theMovie) != "undefined") {
	return ((typeof(theMovie.PercentLoaded) != "undefined") && (theMovie.PercentLoaded() == 100));
  } else {
    return false;
  }
}
function movieIsReady (theMovie) {
	return (typeof(theMovie.PercentLoaded) != "undefined");
}