function setPointer(theRow, thePointerColor)
{
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }

    return true;
}

var win= null;
function NewWindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h);
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+10+',';
      settings +='left='+winl+',';
      settings +='resizable=yes';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
function loeschen(loeschlink)
{
    var x = confirm("Wollen Sie sich wirklich von diesem Event Abmelden?");
 
    if(x == true)
    {
        location.href = loeschlink;
    }
}
function change_link(sourceid, targetid)
{
	document.getElementById(targetid).href = document.getElementById(sourceid).value;
}
