// ameus JavaScript-Functions - v.0.1 [10/01/27]
// Author: Patrik Hübner, ameus GmbH

//---- Hauptnavigation

function mainNav_active(elementId)
{
  if(elementId != "")
  {
    $("#"+elementId).mouseover();
  }
}

//---- SplashContainer

function slideIn_InfoContainer() {
  $("#teaserContainer_infoContainer").animate({
    width: 980
  }, "slow", function()
    {$("#teaserContainer_infoContainer_content").fadeIn(1000);}
  );
}

function slideOut_InfoContainer() {
  $("#teaserContainer_infoContainer_content").fadeOut(500, function()
    {
      $("#teaserContainer_infoContainer").animate({
        width: 0
      }, "slow");
    }
  );
}

