function showHideMainMenuOld(key) {
			//alert(key);
			//alert(keylink);
			//alert(keycolor);

	//alert("Welches Listenelement: " + key + "\nWelcher Link: " + keylink + "\nWelche Klasse: " + keycolor);

	if (key != lastcell_toolbar) {
		if (lastcell_toolbar != "") {
	      //link_toolbar_old = document.getElementById(lastlink_toolbar);
			cell_toolbar_old = document.getElementById(lastcell_toolbar);
			cell_toolbar_old.style.display = "none";
			//link_toolbar_old.className = "linkEbeneEins";
		}
	}

	cell_toolbar = document.getElementById(key);
	//link_toolbar = document.getElementById(keylink);

	if (cell_toolbar != null) {

		if (cell_toolbar.style.display == "none") {
			cell_toolbar.style.display = "";
			//link_toolbar.className += " " + keycolor;
			lastcell_toolbar = key;
			//lastlink_toolbar = keylink;
		} else {
			cell_toolbar.style.display = "none";
			//link_toolbar.className = link_toolbar.className.replace(" " + keycolor, "");
		}

	}

	return false;
}

function showHideMainMenu(key)
{
	if (key != lastcell_toolbar)
	{
	   $('a_' + lastcell_toolbar).removeClassName('aktivmain');
	   $('a_' + key).addClassName('aktivmain');
	   try
		{
   		if (lastcell_toolbar != "")
   		{
   		   $(lastcell_toolbar).hide();
   		}
      }
      catch(ex)
      {
         //alert(ex);
      }
	}

	if ($(key).visible())
	{
	   $(key).hide()
	}
	else
	{
		$(key).show()
		lastcell_toolbar = key;
	}

	return false;
}

function sendmailto(mail1,mail2)

{

    document.location.replace('mailto:'+mail1+'@'+mail2);

}

