<!--
function highlightMenuItem(intNumber)
{
  document.getElementById("submenu_link_1").className = intNumber == 1 ? "active" : "";;
  document.getElementById("submenu_link_2").className = intNumber == 2 ? "active" : "";
  document.getElementById("submenu_link_3").className = intNumber == 3 ? "active" : "";
  document.getElementById("submenu_link_4").className = intNumber == 4 ? "active" : "";
}

function getPage(intNumber, intSpeed)
{
  try
  {
    setSpeed(intSpeed);
  }
  catch (e) {}

  switch (intNumber)
  {
    case 1:
    {
      document.location = "flash_2D_weather.html";
      break;
    }
    case 2:
    {
      document.location = "flash_dynamic_weather.html";
      break;
    }
    case 3:
    {
      document.location = "flash_3D_weather.html";
      break;
    }
    case 4:
    {
      document.location = "flash_real_life_weather.html";
      break;
    }
  }
}

function setSpeed(intSpeed)
{
  intSpeed = intSpeed == null ? 1 : intSpeed;
  var a = new Date();
  a = new Date(a.getTime() + 2592000000);
  document.cookie = 'speed=' + intSpeed + '; expires=' + a.toGMTString()+';'; 
}

window.onload = function()
{
	try
	{
		if (top != self)
		{
		  top.location = self.location;
		}
	}
	catch (e) { }
}

function callMovie(path,description,sound)
{
  var x = thisMovie("playerScreen");
  x.sendFilePath(path,description,sound);
}

function thisMovie(movieName)
{
  return (navigator.appName.indexOf("Microsoft") != -1) ? window[movieName] : document[movieName];
}
//-->
