function showDate() {
  now = new Date();
  tag = new Array("So","Mo","Di","Mi","Do","Fr","Sa");
  return tag[now.getDay()]+". "+now.getDate()+"."+(now.getMonth()+1)+"."+now.getFullYear();
}

onerror = Onerror;

function Onerror() { 
  return true;
}

var NS=false;
var MSIE=false;
var browser=navigator.appName;
var version=parseInt(navigator.appVersion);

if(browser=="Netscape" && version>= 3)
  NS=true
else
  if(browser=="Microsoft Internet Explorer" && version>= 4) MSIE=true;

function popUp(Newlocation,w,h) {
  if( MSIE ) {
    h=h+60;
    w=w+30;
  }
  else if( NS ) {
    h=h+16;
    w=w+16;
  }
  popUpWindow=window.open(Newlocation, 'popup', 'toolbar=0, location=no, directories=0, status=0, menubar=0, scrollbars=no, resizable=yes, width='+w+', height='+h);
  popUpWindow.resizeTo(w,h);
  if (window.focus) popUpWindow.focus();
}

function go(s) {
  if(s!="null")
    document.location=s;
  return;
}

function setStuffActive(stuffid) {
  document.getElementById(stuffid).className="teamfotoactive";
  document.getElementById("teamfoto").style.cursor="help";
}

function setStuffInactive(stuffid) {
  document.getElementById(stuffid).className="";
  document.getElementById("teamfoto").style.cursor="default";
}
