var mOver=new Image(5,8);
mOver.src='images/frames/pfeil2.gif';
var mOut=new Image(5,8);
mOut.src='images/frames/pfeil1.gif';

function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}


function OpenPage(id, param) {
  if (param != "")
    var file = "index.php?page=" + id + "&" + param;
  else
    var file = "index.php?page=" + id;
  self.location= file;
}


function OpenRate(id) {
  var file = "rate.php?page=" + id;
  window.open(file,'rate','width=400,height=300');
}


function OpenPrint(id, param) {
  if (param != "")
    var file = "print.php?page=" + id + "&" + param;
  else
    var file = "print.php?page=" + id;
  window.open(file,'print','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=500');
}


function posNav() {
  var object = document.getElementById("nav");
    if (document.layers) {
    var curtop = object.top;
  } else {
    var curtop = object.style.pixelTop;
  }
  var systop = document.body.scrollTop;
  object.style.top = curtop + (systop - curtop) / 4;
  setTimeout("posNav()", 100);
}


function mOverPic(id)
{
	document.images[id].src=mOver.src;
}


function mOutPic(id)
{
	document.images[id].src=mOut.src;
}

