var popBgcolor;
var popSymbol;
var tableA;
var tableB;

var popTable; // Inhalt des popDiv

function makeTable(No){
  //tableA = "<layer width=\"131\" height=\"100%\" align=\"left\" onMouseOver=\"popShow('popDiv'); return true;\" onMouseOut=\"popOff('popDiv'); return true;\"><table width=\"131\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=\"top\" width=\"18\"><img src=\""+popSymbol+"\" width=\"18\" height=\"15\" border=\"0\"></td><td width=\"113\" bgcolor=\"#000000\" align=\"center\" valign=\"middle\"><table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"1\"><tr><td bgcolor=\""+popBgcolor+"\">";
  //tableB = "</td></tr></table></td></tr></table></layer>";
  popTable = tableA[No]+txt[No]+tableB[No];
}

function popOn(id,No){
  makeTable(No);
  writeDiv(id,null,popTable);
  setInhalt(id,positionX[No],positionY[No],4,-7);
  showIt(id);
}

function popShow(id){
  showIt(id);
}

function popOff(id){
  if (Browser.ns6){
    document.getElementById(id).style.visibility="hidden";
  }
  else if (Browser.ie4 || Browser.ie5 || Browser.ms) {
    document.all(id).style.visibility="hidden";
  }
  else if (Browser.ns4) {
    document.layers[id].visibility="hide";
  }
  //writeDiv(id,null,"");    
}

function etappeOn(id,No){
  writeDiv(id,null,etappe[No]);
  setInhalt(id,positionEX[No],positionEY[No],4,-7);
  showIt(id);
}

function etappeShow(id){
  showIt(id);
}
/*
function writePopDiv(id,outdiv,text) {
    if (bw.ns4) {
    //alert(outdiv);
	//document.layers[id].document.open()
    document['popDiv'].document['PopInDiv'].document.open();
    document['popDiv'].document['PopInDiv'].document.write(text)
	document['popDiv'].document['PopInDiv'].document.close()
	}
	if (bw.ie4 || bw.ie5) document.all[id].innerHTML = text;
	if (bw.ns6) document.getElementById(id).innerHTML = text;
}
*/

