if(location.href.indexOf("/?cat") > 0){ 
window.addEvent('domready', function() {
var myAccordion = new Accordion($('menu'), 'h2.menuheader', 'div.menucontent', {
opacity:true,
duration: 200,
alwaysHide: false,
initialDisplayFx: false,
		onActive: function(menuheader, menucontent){
			menuheader.setStyle('font-weight', 'bold');
		},
		onBackground: function(menuheader, menucontent){
			menuheader.setStyle('font-weight', 'bold');
		}
});
});
}
/* Den helt samme igen bare med display -1 der skjuler menuen */
else{
window.addEvent('domready', function() {
var myAccordion = new Accordion($('menu'), 'h2.menuheader', 'div.menucontent', {
opacity:true,
display: -1,
alwaysHide: false,
duration: 100,
		onActive: function(menuheader, menucontent){
			menuheader.setStyle('font-weight', 'bold');
			myAccordion.display(this);
		},
		onBackground: function(menuheader, menucontent){
			menuheader.setStyle('font-weight', 'bold');
		}
});
});
}


window.addEvent('domready', function() {
var myAccordion = new Accordion($('maincol'), 'h2.contentheader', 'div.content', {
opacity:true,
display: -1,
duration: 150,
alwaysHide: true,

		onActive: function(contentheader, content){
			contentheader.setStyle('font-weight', 'bold');
		},
		onBackground: function(contentheader, content){
			contentheader.setStyle('font-weight', 'bold');
		}
});
});
