var geladen = false;
var hondje = true;
var taal = "nl";
var px =" ";

function tellerror(msg, url, linenumber){
	alert('Error message= '+msg+'\nURL= '+url+'\nLine Number= '+linenumber);
return true;
}

//window.onerror=tellerror;

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function muis(ev){
			if (!ev) {ev = window.event;}
  			//var mx = ev.pageX ? ev.pageX : ev.offsetX;
  			//var my = ev.pageY ? ev.pageY : ev.offsetY;
			
			var mx=(ns6)?ev.pageX : ev.clientX+ietruebody().scrollLeft;
			var my=(ns6)?ev.pageY : ev.clientY+ietruebody().scrollTop;
			
			mx += 50;
			my -= 50;
			if (mx>=(document.body.clientWidth - document.getElementById("Springer").clientWidth)) {
 				mx=(document.body.clientWidth - (document.getElementById("Springer").clientWidth+5) +document.body.scrollLeft);
			}

document.getElementById("Springer").style.top=my+px ;
document.getElementById("Springer").style.left=mx+px;
}

function over()
	{//this.className="aover";
this.className="adown";
	 window.status=this.hhint;
//	 window.status=this.lnk;
	}

function down()
	{this.className="adown";}

function up()
	{//this.className="aover";
	this.className="adown";}

function out()
	{this.className="aout";
	window.status="";}

function klik()
	{if (this.lnk!='') {parent.location.href = this.lnk;}
}

/*function makeMenu(bj,lnk,hhint){
	oobj=document.getElementById(bj);
	oobj.onmouseover=over;
	oobj.onmousedown=down;
	oobj.onmouseup=up;
	oobj.onmouseout=out;
	oobj.className="aout";
	oobj.lnk=lnk; 
	oobj.hhint=hhint;
	oobj.onclick=klik;
    }*/

function init2(){
 	geladen=true;
	hondje=true;
//	var display_href=0 
//	if (hondje==true) {
		    if (document.addEventListener) {
    			document.addEventListener("mousemove", muis, true);} 
			else {
      			document.body.onmousemove = muis;}
//    }
//		else
//	 		{document.getElementById("Springer").style.visibility='hidden';} 		 
px =document.getElementById("Springer").style.top;
px.indexOf("px")>0 ? px="px" : px="";			
if (high=="light") {googleSearchHighlight();}
if (self != top) top.location = self.location
}



function NL_zoeken(){

var start='Trefwoord';
var temp=window.prompt('Zoek woord',start);
if((temp.length>3)&&(start!=temp)){
	var url ="/nederlands/nl_result.html?datadir=/nederlands/search";
	url += '&query='+temp;
	document.location=url;
}}


function FR_zoeken(){
var start='Ici votre mot cle';
var temp=window.prompt('Rechercher des mots',start);
if((temp.length>3)&&(temp!=start)){
	var url ="/frans/fr_result.html?datadir=/frans/search";
	url += '&query='+temp;
	document.location=url;
}
}

function openwindow(url){
aa=open(url, 'Print',
'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=400'
);
}
function scrollUp(){
	for(I=500; I>=1; I--){window.scroll(500,I)}
}

function a (aa){
var alink = aa.href;
alink = alink.replace(/http:/g, "link.php?link=httpx:");
aa.href=alink;
}

var ns6=document.getElementById && !document.all