/**
 * Sets/unsets the pointer and marker in browse mode
 *
 * @param   object   the table row
 * @param   string   the action calling this script (over, out or click)
 *
 * @return  boolean  whether pointer is set or not
 */
function setPointer(theRow, theAction )
{
    var theCells = null;
        theCells = theRow.cells;
    var rowCellsCnt  = theCells.length;
        if (theAction == 'out') 
			newColor = '#FFFFFF';
		else
			newColor = '#DDDDDD';
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].style.backgroundColor = newColor;
            }
	return true;
} // end of the 'setPointer()' function
function Clear() {
   return confirm("Dieses Element wirklich löschen ?");
}
function CallWithParam(text, defaultVal, varname, url)
{
   val =  prompt(text, defaultVal);
  window.location= url + '&' + varname + '=' + val;
}

function popWindow(u,n,o,x,y)
{
    var s = o+',width='+x+',height='+y;
    window.open(u,n,s);
}
/* funktioniert nicht mit Explorere */
function exdisplay(text)
{
	document.getElementById('kommentar').style.top=
				event.clientY+document.body.scrollTop+10;
	document.getElementById('kommentar').style.visibility="visible";
	document.getElementById('kommentar').innerHTML=text;
}
function exhide()
{
	document.getElementById('kommentar').style.visibility="hidden";
}
function showDescription( id )
{
	window.open("index.php?mode=Auktion&action=DisplayDescription&item="+id, "Beschreibung", "scrollbars=yes", 800, 500);
}
