function Error() {
	return;
}
window.onError=Error();
var w = window.screen.availHeight;
var h = window.document.body.offsetHeight;
//   ##############  SIMPLE  BROWSER SNIFFER
if (document.layers) {navigator.family = "nn4"}
if (document.all) {navigator.family = "ie4"}
if (window.navigator.userAgent.toLowerCase().match("gecko")) 
{navigator.family = "gecko"}

//  #########  popup text

var overdiv=0;
//  #########  CREATES POP UP BOXES
function popLayer(a){
	if (!(e)) var e = window.event;
	w=e.clientX + window.document.body.scrollLeft - e.offsetX;
	h=e.clientY + window.document.body.scrollTop - e.offsetY - (e.srcElement.style.height /2);
	w=e.srcElement.style.left;
	
if(a.length < 1){a="<font color=red>This popup (#"+a+") isn't setup correctly - needs description</font>";}
if (navigator.family == "gecko") {pad="0"; bord="1 bordercolor=black";}
else {pad="1"; bord="0";}
desc =    "<table cellspacing=0 cellpadding="+pad+" border="+bord+" bgcolor=#000000><tr><td>\n"+"<table nowrap cellspacing=0 cellpadding=0 border=0 width=100%><tr><td bgcolor=#ffffcc nowrap style='font-size:10px;'>\n"+a+"\n</td></tr></table>\n"+"</td></tr></table>";
if(navigator.family =="nn4") {
         document.object1.document.write(desc);
         document.object1.document.close();
         document.object1.left=w;
         document.object1.top=h;
         }
else if(navigator.family =="ie4"){
         object1.innerHTML=desc;
         object1.style.pixelLeft=w;
         object1.style.pixelTop=h;
         if (object1.style.pixelLeft < 0) {object1.style.pixelLeft=1}
         }
else if(navigator.family =="gecko"){
         window.document.getElementById("object1").innerHTML=desc;
         window.document.getElementById("object1").style.left=w;
         window.document.getElementById("object1").style.top=h;
        }
        
}
function hideLayer(){
	 //if (inbeeld==0) {
         if(navigator.family =="nn4") {eval(document.object1.top="-500");}
         else if(navigator.family =="ie4"){object1.innerHTML="";}
         else if(navigator.family =="gecko") 
			{document.getElementById("object1").style.top="-500";}
// }
}

//  ########  TRACKS MOUSE POSITION FOR COORDS DISPLAY
/*
var isNav = (navigator.appName.indexOf("Netscape") !=-1);
function handlerMM(e){
	if (!(e)) var e = window.event;
x = (isNav) ? e.pageX : e.clientX + window.document.body.scrollLeft;
y = (isNav) ? e.pageY : e.clientY + window.document.body.scrollTop;
w = e.offsetX;
h = window.document.body.scrollTop + e.clientY;
y=y-3; //correctie op window top-margin
x=x-0;

x = (x/700)*13;
y = 62-(12-(((645-y)/645)*12));
//y = 50+12-((y/645)*12);
sx = x + "";
sy = y + "";

if (x>=10) {
	sx = sx.substring(0,6)
} else {
	sx = "0" + sx.substring(0,5);
}

sy = sy.substring(0,6);

sy=sy.replace(" ","0");
sx=sx.replace(" ","0");
//window.document.getElementById("sniffer").innerHTML="<font style='font-family: Arial, Verdana; font-size: 11px; color: #4444f4;'>&nbsp;" + sy + " N<BR>&nbsp;" + sx + " E</font>";
}
if (isNav){document.captureEvents(Event.MOUSEMOVE);}
document.onmousemove = handlerMM;
*/

