
function setMenuPics (menu)
{
	var mnum = parseInt(menu);
	var lname = "menuL" + mnum;
	var rname = "menuR" + mnum;
	var mname = "menu"  + mnum; 
	
	if( document.getElementById(lname) ) {
		document.getElementById(lname).style.backgroundImage = "url(/fileadmin/rosta/icon/MenuLeftActive.gif)";
	}
	if( document.getElementById(rname) ) {
		document.getElementById(rname).style.backgroundImage = "url(/fileadmin/rosta/icon/MenuRightActive.gif)";
	}
	if( document.getElementById(mname) ) {
		document.getElementById(mname).style.backgroundImage = "url(/fileadmin/rosta/icon/MenuActive.gif)";
	}
}

function clearMenuPics (menu, leftact, rightact)
{
	var mnum = parseInt(menu);
	var lname = "menuL" + mnum;
	var rname = "menuR" + mnum;
	var mname = "menu"  + mnum; 
	
	if( document.getElementById(lname) ) {
		document.getElementById(lname).style.backgroundImage = "url(/fileadmin/rosta/icon/MenuLeftPassive.gif)";
	}
	if( document.getElementById(rname) ) {
		document.getElementById(rname).style.backgroundImage = "url(/fileadmin/rosta/icon/MenuRightPassive.gif)";
	}
	if( document.getElementById(mname) ) {
		document.getElementById(mname).style.backgroundImage = "url(/fileadmin/rosta/icon/MenuPassive.gif)";
	}
}

function LangGo (select) {
  var wert = select.options[select.options.selectedIndex].value;
  
  alert("Auswahl: " + wert);
  /*if (wert == "leer") {
    select.form.reset();
    parent.frames["unten"].focus();
    return;
  } else {
    if (wert == "ende") {
      top.location.href = parent.frames[1].location.href;
    } else {
      parent.frames["unten"].location.href = wert;
      select.form.reset();
      parent.frames["unten"].focus();
    }
  }*/
}

function MyLink(url) {
	window.location = url; 
}

function Dummy() {
 // For Dummy js Call
}

function Mytest() {
	alert("Test");
}

function MyPrint ()
{
	window.print();
}

