// disso_tools.js
//-----------------------------------------
//  Textanzeige für die Statuszeile
//-----------------------------------------
var defaultText = "Die Dissonanten Tanten";
var currentHint = "";
var h = "";
//-----------------------------------------
function initStatusbar(initText){
 currentHint  = defaultText + " - " + initText;
 window.status = currentHint;
 return true;
}
//-----------------------------------------
function showHint(hint, objLink){
 h = (hint == "") ? currentHint : (defaultText + " - " + hint);
 if (arguments.length > 1){ objLink.title = h; }
 window.status = h;
 return true;
}
//-----------------------------------------
//  Popup-Fenster
//-----------------------------------------
var pWin;
//-----------------------------------------
function showPopup(pURL, pID, pWidth, pHeight, hasScrollbars){
 if (pWin){ (pWin.closed) ? (pWin = null) : pWin.focus(); }
 pWin = window.open(pURL, pID ,"scrollbars=" + hasScrollbars + ",resizable=0,width=" + pWidth + ",height=" + pHeight + ",status=0,toolbar=0,location=0,titlebar=0,menubar=0,directories=0");
}
