var fNetscape = navigator.appName == "Netscape";

function splitself(s, delim)
{ // JavaScript 1.0
  var ss = s;
  var as = new Array();
  var i;
  var j = ss.indexOf(delim);
  for (i=0 ;j >=0; i++) {
    as[i] = ss.substring(0, j);
    ss = ss.substring(j+1, ss.length);
    j = ss.indexOf(delim);
  }
  as[i] = ss;
  return as;
}


function stats()
{
 //document.writeln("<IMG src='http://www.spvlimburg.nl/logger.pl' height=2 width=2>");
 //document.writeln("<IMG src='http://www.spvlimburg.nl/logger.pl?src="+document.location+"' height=2 width=2>");
}

function inframe()
{
if (top == self) self.location.href = "index.html?"+ self.location.pathname;
}

function showimage(image)
{
var docwidth = 1024;
var docheight = 768;
if (fNetscape) {
    docwidth = window.innerWidth;
    docheight = window.innerHeight;
}
else if (document.all) {
    docwidth = document.body.clientWidth;
    docheight = document.body.clientHeight;
}

var width = 300;
var width2 = 100;
if (docwidth <= 1024) {
  if (docwidth  <= 800) {
    width = 150;
    width2 = 5;
  }
  else {
    width = 200;
    width2 = 50;
  }
}
document.writeln("<table align=right cellpadding=10><tr>");
document.writeln("<td><img src='"+image+"' width="+width+"><td width="+width2+">&nbsp;</td>");
document.writeln("</tr></table>");
}
