<!--
var JvoWebringClosing = false;
function JvoWebringMO(o, show) {
	var childLists = o.getElementsByTagName('UL');
	if(!show) {
		o.className = '';
		childLists[0].style.display = 'none';
		/*
		if(!JvoWebringClosing) {
			JvoWebringClosing = true;
			setTimeout( function() { JvoWebringClose(childLists[0]) } , 1000 );
		}
		*/
	} else {
		JvoWebringClosing = false;
		o.className = 'selected';
		childLists[0].style.display = 'block';
	}
}

function JvoWebringMOsub(o,show) {
	var childLinks = o.getElementsByTagName('A');
	if(!show) {
		o.className = '';
		childLinks[0].style.color = 'white';
	} else {
		o.className = 'selectedsub';
		childLinks[0].style.color = 'black';
	}
}

function JvoWebringClose(o) {
	if(JvoWebringClosing) {
		o.style.display = 'none';
	}
}

function JvoShow(bool) {
	var o1 = document.getElementById('sanoma-jvo-webring');
	var o2 = document.getElementById('sanoma-jvo-webringhidden');
	if(!bool) {
		o1.style.display = 'none';
		o2.style.display = 'block';
		//document.cookie = 'showwebring=false; expires=Thu, 2 Aug 2001 20:47:11 UTC; path=/'
		createCookie('hideWebring','1',30)
	} else {
		o2.style.display = 'none';
		o1.style.display = 'block';
		eraseCookie('hideWebring');
	}
}
	
function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name) {
	createCookie(name,"",-1);
}

var jvoRandomLinks = new Array();

function jvoOpenRandomLink() {
	window.open(jvoRandomLinks[Math.floor(Math.random()*jvoRandomLinks.length)]);
}

-->