var state = 'none'; 
 
function hidelayers(layer_ref) { 
 
	state = 'none'; 
	
	if (document.all) { //IS IE 4 or 5 (or 6 beta) 
	eval( "document.all." + layer_ref + ".style.display = state"); 
	} 
	if (document.layers) { //IS NETSCAPE 4 or below 
	document.layers[layer_ref].display = state; 
	} 
	if (document.getElementById &&!document.all) { 
	hza = document.getElementById(layer_ref); 
	hza.style.display = state; 
	} 
} 


 
function showhide(layer_ref) { 
 
hidelayers('populair');
hidelayers('best');
hidelayers('laatste');
 
	state = 'block'; 
 
	if (document.all) { //IS IE 4 or 5 (or 6 beta) 
	eval( "document.all." + layer_ref + ".style.display = state"); 
	} 
	if (document.layers) { //IS NETSCAPE 4 or below 
	document.layers[layer_ref].display = state; 
	} 
	if (document.getElementById &&!document.all) { 
	hza = document.getElementById(layer_ref); 
	hza.style.display = state; 
	} 
} 
 

var state = 'none'; 
 
function showhideN(layer_ref) { 
 
hidelayers('populair_nieuws');
hidelayers('laatste_nieuws');
 
	state = 'block'; 
 
	if (document.all) { //IS IE 4 or 5 (or 6 beta) 
	eval( "document.all." + layer_ref + ".style.display = state"); 
	} 
	if (document.layers) { //IS NETSCAPE 4 or below 
	document.layers[layer_ref].display = state; 
	} 
	if (document.getElementById &&!document.all) { 
	hza = document.getElementById(layer_ref); 
	hza.style.display = state; 
	} 
} 

 

var state = 'none'; 
 
function showlayer(layer_ref) { 
 
	state = 'block'; 
 
	if (document.all) { //IS IE 4 or 5 (or 6 beta) 
	eval( "document.all." + layer_ref + ".style.display = state"); 
	} 
	if (document.layers) { //IS NETSCAPE 4 or below 
	document.layers[layer_ref].display = state; 
	} 
	if (document.getElementById &&!document.all) { 
	hza = document.getElementById(layer_ref); 
	hza.style.display = state; 
	} 
} 

function showlayerMenu(layer_ref) { 
document.getElementById(layer_ref).style.display = "block"; 
} 
function hidelayerMenu(layer_ref) { 
document.getElementById(layer_ref).style.display = "none"; 
} 


var selectedLink;
function selectLink(lnk) {
  if (selectedLink) selectedLink.style.fontWeight='normal';
  lnk.style.TextDecoration='underline';
  lnk.style.fontWeight='bold';
  selectedLink=lnk;
}




var T0,T2,T1;

function CngClass(cls){
 this.lst=null;
 this.cls=cls;
}

CngClass.prototype.CngClass=function(obj){
 if (typeof(obj)=='string') obj=document.getElementById(obj);
 if (this.lst) this.lst.className='sidebar_menu';
 obj.className=this.cls;
 this.lst=obj;


}
 
