
 function getFlashMovieObject(movieName) {
  if (window.document[movieName]) {
   return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1) {
   if (document.embeds && document.embeds[movieName]) {
    return document.embeds[movieName];
   }
  } else /* if (navigator.appName.indexOf("Microsoft Internet")!=-1) */ {
   return document.getElementById(movieName);
  }
 }
function switchvideocolor(polozka) {
 var contID = 'flashAnimationsContainer';
 var divClass = 'animation';
 var activeClass = 'activeAnimation';
 if ( !window.FLcont ) {
  window.FLcont = document.getElementById(contID)
 }
 if ( !window.FLcont ) {
  return false
 }
 if ( !window.flashDivs ) {
  window.flashDivs = [];
  var tmpflashDivs = window.FLcont.getElementsByTagName('div');
  for ( var i = 0; i < tmpflashDivs.length; i++ ) {
   if ( tmpflashDivs[i].className == divClass ) {
    window.flashDivs.push(tmpflashDivs[i]);
   }
  }
 }
 for ( var i = 0; i < window.flashDivs.length; i++ ) {
  var div = window.flashDivs[i];
  div.className = divClass;
  if ( div === polozka ) {
   div.className += ' ' + activeClass;
  }
 }
}

