
//email address hiding

function mailUs(address)
{
location.href = "mailto:" + address + "@rusteloosheid.be";
}


//popout windows


function whois(thisName)
{
window.open("http://rusteloosheid.be/database/index.pl/" + thisName,"_blank","WIDTH=300,HEIGHT=400,TOOLBAR=no,LOCATION=no,DIRECTORIES=no,STATUS=no,MENUBAR=no,SCROLLBARS=auto,RESIZABLE=no")
}

function blank(URL)
{ 
window.open(URL)
}

function blanco(thisWiki, thisName, thisWidth, thisHeight)
{
window.open("http://rusteloosheid.be/"+thisWiki+"/index.pl/"+thisName,"new","WIDTH="+ thisWidth +",HEIGHT="+ thisHeight +",TOOLBAR=no,LOCATION=no,DIRECTORIES=no,STATUS=no,MENUBAR=no,SCROLLBARS=auto,RESIZABLE=yes")
}

function venster(URL, thisWidth, thisHeight)
{
window.open(URL,"new","WIDTH="+ thisWidth +",HEIGHT="+ thisHeight +",TOOLBAR=no,LOCATION=no,DIRECTORIES=no,STATUS=no,MENUBAR=no,SCROLLBARS=auto,RESIZABLE=yes")
}

function KleineBloteVenster(thisName)
{
kleineblotevenster = window.open("http://rusteloosheid.be/kleinebloteliedjes/images/" + thisName,"kleineblotevenster","WIDTH=400,HEIGHT=600,TOOLBAR=no,LOCATION=no,DIRECTORIES=no,STATUS=no,MENUBAR=no,SCROLLBARS=auto,RESIZABLE=yes")
kleineblotevenster.focus();
}


//image rollovers

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}


//drop-down menu navigation

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
//window.onload=startList;