
// ------------------- Script: PopUps -----------------------------------------------------------------------------

function FensterOeffnen (URLAdresse) {
      Fenster1 = window.open(URLAdresse, 'Test', "toolbar=no,menubar=no,status=no,scrollbars=yes,height=500,width=800");
      Fenster1.focus();
}

function UpdateParentAndClose (URLAdresse) {
		opener.location.href=URLAdresse;
		window.close();
}
// ------------------- Script: autopopup -----------------------------------------------------------------------------

function autopopup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'left=200, top=200, width=600,height=300,scrollbars=yes');
return false;
}

// ------------------- Script: tooltip -----------------------------------------------------------------------------

tip = null;
function showTip(id) {
    tip = document.getElementById(id);
    tip.style.display = "block";
}
function hideTip() {
    tip.style.display = "none";
}
function moveTip(e) {
    x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
    y = (document.all) ? window.event.y + document.body.scrollTop : e.pageY;
    if (tip != null) {
        tip.style.left = (x + 10) + "px";
        tip.style.top  = (y + 10) + "px";
    }
}
document.onmousemove = moveTip;
