// JavaScript Document

function MM_reloadPage(init) {
  if (init == true)
	with (navigator) {
 	  if ((appName == 'Netscape') && (parseInt(appVersion) == 4)) {
		document.MM_pgW = innerWidth;
		document.MM_pgH = innerHeight;
		onresize = MM_reloadPage;
	  }
	}
	else if ((innerWidth != document.MM_pgW) || (innerHeight != document.MM_pgH)) location.reload();
}
MM_reloadPage(true);

function showNewsImage(source, article, id, width, height) {
  var Properties = "toolbar=no,location=no,directories=no,status=no,hotkeys=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width="+width+",height="+height;
  URL="newsimage.php?source="+source+"&article="+article+"&id="+id;
  window.open(URL,"imageWindow",Properties);
}

function showMe(member, club, width, height) {
  var Properties = "toolbar=no,location=no,directories=no,status=no,hotkeys=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width="+width+",height="+height;
  URL="persoon.php?lid="+member+"&club="+club;
  window.open(URL,"imageWindow",Properties);
}

function showMyImage(member, album, photo, width, height) {
  var Properties = "toolbar=no,location=no,directories=no,status=no,hotkeys=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width="+width+",height="+height;
  URL="mijnalbum.php?lid="+member+"&album="+album+"&foto="+photo;
  window.open(URL,"imageWindow",Properties);
}

function showStatus(sMsg) {
    window.status = sMsg ;
    return true ;
}
