function detail(itemID){ detailWindow = window.open("includes/detail.php?itemID="+itemID,"detail0000","width=420, height=400, scrollbars=yes, dependent=yes, resizable=yes "); detailWindow.focus();}
function agb(){ agbWin = window.open("html/agb.html","agb0000","width=580, height=300, scrollbars=yes, dependent=yes, resizable=yes "); agbWin.focus();}
function gig(){ gigWin = window.open("gigPrint.php","gig0000","width=400, height=400, scrollbars=yes, dependent=yes, resizable=yes, menubar=yes "); gigWin.focus();}
function show( id ) { document.getElementById(id).style.visibility = "visible";}
function hide( id ) { document.getElementById(id).style.visibility = "hidden";}
function goToAlbum(source,albumID){ document.location.href=""+source+"?albumID="+albumID+"";}
function changeOrder(id){ if(id.value=="ASC") id.value="DESC"; else id.value="ASC";}

function TDhilite( id ) {
  document.getElementById(id).style.backgroundImage="url(grafik/pix/navTDBGminus.gif)";
  document.getElementById(id).style.cursor="pointer";
}
function TDdelite( id ) {document.getElementById(id).style.background="url(grafik/pix/navTDBGplus.gif)";}

function ROWhilite( id ) {
  document.getElementById(id).style.cursor="pointer";
  document.getElementById(id).style.backgroundColor="#222222";
}
function ROWdelite( id ) {
  document.getElementById(id).style.cursor="auto";
  document.getElementById(id).style.backgroundColor="#0e0e0e";
}

function NAVhilite(id){
  document.getElementById(id).style.cursor="pointer";
  document.getElementById(id).style.backgroundColor="#0e0e0e";
  document.getElementById(id).style.borderLeft="#0e0e0e 1px solid";
  document.getElementById(id).style.borderBottom="#0e0e0e 1px solid";
}

function NAVdelite(id){
  document.getElementById(id).style.backgroundColor="#222";
  document.getElementById(id).style.borderLeft="#444 1px solid";
  document.getElementById(id).style.borderBottom="#090909 1px solid";
}