if(document.layers) {
    document.write('<LAYER NAME="overDiv" STYLE="position:absolute; visibility:hidden; z-index:99;"></LAYER>');
    overDivObj = document.overDiv;
    overDivObj.style = document.overDiv;
} else
if(document.getElementById) {
    document.write('<DIV ID="overDiv" STYLE="position:absolute; visibility:hidden; z-index:99;"></DIV>');
    overDivObj = document.getElementById("overDiv");
} else
if(document.all) {
    document.write('<DIV ID="overDiv" STYLE="position:absolute; visibility:hidden; z-index:99;"></DIV>');
    overDivObj = document.all.overDiv;
}

var backcolor = "#FFFFFF";
var textcolor = "#000000";
var offsetx = -120;
var offsety = 20;

document.onmousemove = mouseMove;

function flag(text) {
    text = "<font style=\"font-family:verdana; font-size:10px;\">Wenn Sie auf &bdquo;bestellen&rdquo; klicken,<br>legen Sie den gew&uuml;nschten Artikel<br>in den Warenkorb.<br>Bitte gehen Sie &uuml;ber den<br>Warenkorb (Men&uuml; oben) zu Ihrer<br>Bestellliste.</font>"
    txt = "<TABLE style=\"border:1px solid #000000;\" BORDER=0 CELLPADDING=0 CELLSPACING=0>"+
          "<TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\""+backcolor+"\">"+
          "<TR><TD ALIGN=CENTER><a class=normal>"+text+"</a>"+
          "</TD></TR></TABLE>"+
          "</TD></TR></TABLE>";
    if(document.layers) {
        overDivObj.document.open();
        overDivObj.document.write(txt);
        overDivObj.document.close();
    } else {
        overDivObj.innerHTML = txt;
    }
    showObject();
}
function nd() {
    hideObject();
}
function mouseMove(eventObj) {
    if(!eventObj)
        eventObj = event;
    if(document.layers) {
        moveTo((eventObj.pageX+offsetx)+"px",(eventObj.pageY+offsety)+"px");
    } else {
        moveTo((eventObj.clientX+offsetx)+"px",(eventObj.clientY+offsety)+"px");
    }
}
function showObject() {
        overDivObj.style.visibility = "visible";
}
function hideObject() {
        overDivObj.style.visibility = "hidden";
}
function moveTo(xL,yL) {
        overDivObj.style.left = xL;
        overDivObj.style.top = yL;
}
