/* - - - - - - - - - - - - - - - - - - - - -

Title : functies voor mirabeau.nl
Authors : Martin Savelkoul, Marien van Os
URL : http://www.mirabeau.nl

Description : 

Created : 21-09-2006
Modified : 

- - - - - - - - - - - - - - - - - - - - - */


YAHOO.util.Event.addListener(window,'load',pageLoaders);
function pageLoaders() {	

}

function randomNumber(mn, mx)
{
	return mn + Math.floor(Math.random() * (mx - mn + 1));
}

function getNextSibling(e){
	next=e.nextSibling;
	while(next.nodeType!=1){
	next=next.nextSibling;
	}
	return next;
}

function getParentNode(e){
	parent=e.parentNode;
	while(parent.nodeType!=1){
	parent=parent.parentNode;
	}
	return parent;
}