function showlayer(str) 
{
  if(document.getElementById)
  {
    document.getElementById('tour-layer').style.display = "block";
    document.getElementById(str).style.display = "block";
  }
}
function hidelayer(str) 
{
  if(document.getElementById)
  {
    document.getElementById(str).style.display = "none";
	document.getElementById('tour-layer').style.display = "none";
  }
}


if (document.images) {
    me       = new Image();
    me.src   = "/images/me.gif" ;
    me_over     = new Image() ;
    me_over.src = "/images/me_over.gif" ;
	home       = new Image();
    home.src   = "/images/home.gif" ;
    home_over     = new Image() ;
    home_over.src = "/images/home_over.gif" ;
	stuff       = new Image();
    stuff.src   = "/images/stuff.gif" ;
    stuff_over     = new Image() ;
    stuff_over.src = "/images/stuff_over.gif" ;
	extras       = new Image();
    extras.src   = "/images/extras.gif" ;
    extras_over     = new Image() ;
    extras_over.src = "/images/extras_over.gif" ;
}


function showTM(str) 
{
  if(document.getElementById)
  {
    document.getElementById('text-menu-'+str).style.display = "block";
	document.getElementById('arrow-'+str).style.display = "block";
	document[ str ].src = eval( str + "_over.src" );
  }
}

function hideTM(str) 
{
  if(document.getElementById)
  {
    document.getElementById('text-menu-'+str).style.display = "none";
	document.getElementById('arrow-'+str).style.display = "none";
	document[ str ].src = eval( str + ".src" );
  }
}

function openPopup(name,path,alt_text)
{
  HTML = "<html><head><meta http-equiv='content-type' content='text/html; charset=ISO-8859-1'><meta http-equiv='content-language' content='de'><title>"+ alt_text +"</title></head><style>body{margin:0px 0px 0px 0px;background-color:#6C843B;cursor:crosshair;}</style><body onBlur='top.close();return true;' onClick='top.close(); return true;'><br><center><img src='"+ path +"' style='border:1px solid #FFFFFF' name='load_image' onLoad='window.resizeTo(document.load_image.width+35,document.load_image.height+140);return true;'><br><br><font color='#FFFFFF' size='2' face='Verdana,Arial,sans-serif' style='font-size:10px'>"+ alt_text +"</font></center></body></html>";
  popupImage = window.open('','_blank','toolbar=no,left=5,top=5,scrollbars=no,resizable=yes,status=no,menubar=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
}

function alpha_off(elmnt)
{
  elmnt.style.filter=false;
}
function alpha_on(elmnt)
{
  elmnt.style.filter="alpha(opacity=40)";
}


function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}