
// Initialisierung der Abfrage für die Mausposition
if (document.all) {
document.onmousemove=getmauspos;
}
else if (document.layers) {
document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=getmauspos;
}

function winHide(nr) {
if (document.all) {document.all[nr].style.visibility="hidden"; }
else if (document.layers) {document.layers[nr].visibility="hide";}
}

function winShow(nr) {
if (document.all) {document.all[nr].style.visibility="visible"; }
else if (document.layers) {document.layers[nr].visibility="show";}
}

function winMove(nr,xwert,ywert) {
if (document.all) {
document.all[nr].style.top=ywert;
document.all[nr].style.left=xwert;
}
else if (document.layers) {
document.layers[nr].top=ywert;
document.layers[nr].left=xwert;
}
}

function newText(nr,bubbleStr) {
if (document.all)
document.all[nr].innerHTML=bubbleStr;
else if (document.layers) {
document.layers[nr].document.open();
document.layers[nr].document.write(anfang+bubbleStr+ende);
document.layers[nr].document.close();
}
}

function getmauspos(e) {
if (document.layers) {
mausx=e.pageX;
mausy=e.pageY;
}
else {
mausx=event.x;
mausy=event.y;
}
}

function showHelp(z) {
winMove('bubble',mausx+20,mausy+20);
w=eval('bString'+z);
newText('bubble',w);
winShow('bubble');
}
