// url:			http://www.trouw.nl/*
// problem:		navigation menu doesn't work due to CSS peculiarities
// author:		scipio
// last update: 	2005-09-15

if (window.location.href.indexOf('http://www.trouw.nl')>-1){
	window.opera.defineMagicFunction(
		'menu',
		function(oRealFunc,oThis,oParam){var closed=document.getElementById('closed_menu');var opened=document.getElementById('opened_menu');if(closed && opened){if (oParam=='close'){opened.style.visibility='hidden !important';opened.style.display='none !important';closed.style.visibility='visible !important';closed.style.display='block !important';} else if (oParam=='open'){closed.style.visibility='hidden !important';closed.style.display='none !important';opened.style.visibility='visible !important';opened.style.display='block !important';}}return false;});
	window.opera.addEventListener(
		'BeforeScript',
		function(ev){ev.element.text=ev.element.text.replace('var startX = 15','var startX=24').replace('IfrRef.style.display = "block";','')},
		false);
}
