function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  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();
}
MM_reloadPage(true);

var curmes = 0
var a = 0
var counter = 0
var message = new Array()
message[0] = "Legion Of Light"
message[1] = "Gaming since Oct. 2000"
message[2] = "We will destroy the darkness"

var temp = ""

function typew()
{
a = a + 1
check()

window.status = message[curmes].substring(0, a)

if(a == message[curmes].length + 5)
{ 
 curmes = curmes + 1
 a = 0
}
if(curmes > 2)
{
curmes = 0
}
counter = setTimeout("typew()", 100)
}

function check()
{
if(a <= message[curmes].length)
  {
   if(message[curmes].substring(a, a + 1) == "")  
     {
     a = a + 1
     check()
     }
  }
}

function openWindow(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable) { //v1.1 STam
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

function zurueck()
{ window.history.back(); }


function swap_content( span ) {
  displayType = ( document.getElementById( span ).style.display == 'none' ) ? 'block' : 'none';
  document.getElementById( span ).style.display = displayType;
}
