var newsboxHeight;
window.onload = function() {
	newsboxHeight = new Fx.Slide('latest-newsbox', {duration: 500, onComplete: function()
{
pfeil();
}
});
	newsboxHeight.hide();
}

var zustand = 0;
function pfeil() {
	if (zustand == 0) {
		document.getElementById("aktbutton").style.backgroundImage = "url(fileadmin/templates2/layout/button-akt-in.gif)";
    document.getElementById("aktbutton").title = "Aktuelle Nachrichten ausblenden";
    zustand++;
  } else {
    document.getElementById("aktbutton").style.backgroundImage = "url(fileadmin/templates2/layout/button-akt-out.gif)";
    document.getElementById("aktbutton").title = "Aktuelle Nachrichten anzeigen";
    zustand--;
  }
}

function aktmouseover() {
	document.getElementById('aktbutton').style.color = '#0E6D64';
  document.getElementById('aktbutton').style.backgroundColor = '#D9EBEB';
}

function aktmouseout() {
	document.getElementById('aktbutton').style.color = '#FFFFFF';
  document.getElementById('aktbutton').style.backgroundColor = '#ADD5D3';
}