	/***********************************************************************************         
	 *		This javascript file is created by Anchor Men (c) 2005 www.anchormen.nl      *         
	 *		author: E. Keizer                                                            *         
	 *		                                                                             *         
	 *		Usage of this file or parts of it for any purpose is prohibited.             *         
	 *		If you wish to use (parts of) this file, please contact us first.            *         
	 *                                                                                 *         
	 ***********************************************************************************/         
	
	var pI = new Array;
	var d = document;
	var myWidth = 0, myHeight = 0;
	var busy = false;
	var resize = false;
	var timer = -1;
	var menutimer = -1;
	var submenutimer = -1;
	var maytoggle = true;
	var breder = false;
	var globteller = 0;
	var maxwidth = 970;//1270;
	var minwidth = 775;
	var teller=0;
	var maxGroepen = 3;
	var showMenu = true;
	var blokTimer = new Array();
	var hoverCompatible = false;
	var imagesLoadedArr = new Array();
	var selectBoxes = new Array();
	d.onload=init();
	
	
	window.onload=initWindow;
	window.onresize=checkwidth;
	var ext, hg, g, s;
	
	function checkwidth()
	{
		if(location.href.indexOf('/ws_a_merkindex.asp')>=0)
		{
			
			var placer = getObject('placer');
			
			getWindowSize();
			if(myWidth<980)
			{
				placer.className='merk';
			}
			else
			{
				placer.className='';
			}
			
		}			
		if(resize)
		{
			var placer = getObject('placer');
			getWindowSize();
			if (myWidth> maxwidth)
			{
				placer.style.width= (maxwidth)+'px';	
				breder = true;
			}
			else if(myWidth<minwidth)
			{
				placer.style.width= (minwidth);
				breder=true;
			}		
			else if(breder)
			{
				placer.style.width='100%';
				breder=false;
			}			
		}	
		
	}
		
	function init()
	{	 		
		initMenu();
		if(location.href.indexOf('/index.asp')>=0 && location.href.indexOf('/index.asp?inc')<0)
		{
			resize=true;
		}
		getWindowSize();			
		if (myHeight<622)
			maxGroepen = 2;
		if (myHeight>669)
			maxGroepen = 4;
		if (myHeight>717)
			maxGroepen = 5;	
	}
	function initWindow()
	{
		checkwidth();
		initHoverImages();
		var allSelectBoxes = document.getElementsByTagName('SELECT');
		for (var i = 0;i<allSelectBoxes.length;i++)
		{
			if (allSelectBoxes[i].className.indexOf('maghidden')>=0)	
			{
				selectBoxes[selectBoxes.length]=allSelectBoxes[i];				
			}
		}
		try{
			document.defaultView.getComputedStyle(getObject('container'),':hover');
			//hoverCompatible = true;
		}
		catch(exception){}
		
	}
	
	function callSelect(visibility)
	{
		for(var tr=0;tr<selectBoxes.length;tr++)
		{
			selectBoxes[tr].style.visibility = visibility ? 'visible' : 'hidden';
		}
	}
	
	function equals(MI1, MI2)
	{
		if(MI2.prio==null)
			return 1;
		if(MI1.prio==null)
			return -1;	
		if (MI1.prio == MI2.prio)
			return 0;
		else if (MI1.prio < MI2.prio)
			return 1;
		else 
			return -1;
	}
	
	function sort(a)
	{
		var n = a.length;
		for (var i=0; i<n-1; i++) {
			for (var j =0; j<(n-1-i); j++)
			{
				if (equals(a[j],a[j+1])<0 ) 
				{  
					tmp = a[j];
				   a[j] = a[j+1];
				   a[j+1] = tmp;
				}
			}
		}
		return a;	
	}
	function namesort(a)
	{
		var n = a.length;
		for (var i=0; i<n-1; i++) {
			for (var j =0; j<(n-1-i); j++)
			{
				if (a[j].name>a[j+1].name) 
				{  
					tmp = a[j];
				   a[j] = a[j+1];
				   a[j+1] = tmp;
				}
			}
		}
		return a;	
	}
	
	
	function MI(id, name, topparent, typegroep, prio)
	{		
		this.id = (''+id).replace('hg','').replace('sgser','').replace('sgsel','').replace('sgaan','').replace('sgs','').replace('sg','').replace('g','').replace('st','').replace('t','').replace('nb','');
		this.name = name;// + '-' +id;		
		this.origid = id;
		this.ch = new Array;
		this.page = 'ws_a_index.asp';
		this.hg = (topparent==null);
		this.prio = prio;
		if (id=='hg0')
		{
			this.link = 'index.asp';
		}
		else if (topparent==null)
		{
			this.link = this.page + '?hoofdgroep_id='+ this.id;
		}
		else if (id.indexOf('sy')>=0)
		{
			var linkkk = this.page + '?hoofdgroep_id='+ topparent.id + '&amp;norrod=2';
			
			this.link = linkkk;
		}
		else if (id.indexOf('st')>=0)
		{
			var linkkk = this.page + '?hoofdgroep_id='+ topparent.id ;
			tid = parseInt(this.id);
			switch(tid)
			{
				case 1: 
					linkkk += '&amp;basis=2';
					break;
				case 2: 
					linkkk += '&amp;easy=2';
					break;
				case 3: 
					linkkk += '&amp;bare=2';
					break;
				case 4: 
					linkkk += '&amp;zelf=2';
					break;
				case 5: 
					linkkk += '&amp;digihome=2';
					break;
				default:
					break;
			}
			this.link = linkkk;
		}
		else if (id.indexOf('nb')>=0)
		{
			var linkkk = this.page + '?hoofdgroep_id='+ topparent.id ;
			tid = parseInt(this.id);
			switch(tid)
			{
				case 1: 
					linkkk += '&amp;basis=2';
					break;
				case 2: 
					linkkk += '&amp;zelf=2';
					break;				
				default: 
					break;
			}
			this.link = linkkk;
		}
		else if (id.indexOf('sgsel')>=0)
		{
			this.name = 'Selectie';
			//selectie systemen 
			this.link = this.page + '?hoofdgroep_id='+ topparent.id +'&amp;add='+ typegroep.id+'&amp;easy=2&amp;sel='+this.id;
			if (typegroep.id == 328)
			{	//home
				this.link = this.link + '&amp;homesys=2';
			}
			else if (typegroep.id == 327)
			{
				this.link = this.link + '&amp;officesys=2';
			}
		}
		else if (id.indexOf('sgaan')>=0)
		{
			this.name = 'Aanbiedingen';
			//aanbieding systemen  
			this.link = this.page + '?hoofdgroep_id='+ topparent.id +'&amp;add='+ typegroep.id+'&amp;basis=2&amp;sel='+this.id;
			if (typegroep.id == 328)
			{	//home
				this.link = this.link + '&amp;homesys=2';
			}
			else if (typegroep.id == 327)
			{
				this.link = this.link + '&amp;officesys=2';
			}
		}
		else if (id.indexOf('sgser')>=0)
		{
			this.link = this.page + '?hoofdgroep_id='+ topparent.id +'&amp;add='+ typegroep.id+'&amp;servers=2&amp;sel='+this.id;
		}
		else if (id.indexOf('sgs')>=0)
		{
			this.link = this.page + '?hoofdgroep_id='+ topparent.id +'&amp;add='+ typegroep.id+'&amp;digihome=2&amp;sel='+this.id;
		}
		else if (id.indexOf('sg')>=0)
		{
			this.link = this.page + '?hoofdgroep_id='+ topparent.id +'&amp;add='+ typegroep.id+'&amp;sel='+this.id;
			if (this.id == 971)
			{	//servers toevoegen
				this.link = this.link + '&amp;servers=2';
			}
		}
		else if(id.indexOf('t')>=0)//type
		{
			this.link = this.page + '?hoofdgroep_id='+ topparent.id +'&amp;add='+typegroep.id+'&amp;type='+this.id;
		}
		else
		{
			this.link = this.page + '?hoofdgroep_id='+ topparent.id +'&amp;add='+ this.id+'&amp;sel='+this.id;//+'&amp;bla='+id;
		}
		
	}
	
	function getWindowSize() {
		
		if( typeof( window.innerWidth ) == 'number' ) {
		 myWidth = window.innerWidth;
		 myHeight = window.innerHeight;
		} else if( document.documentElement &&
		   ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		 myWidth = document.documentElement.clientWidth;
		 myHeight = document.documentElement.clientHeight;
		} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		 myWidth = document.body.clientWidth;
		 myHeight = document.body.clientHeight;
		}  
		
	}

	
	function getPos(theObj){
	  x = y = 0;
	  	var oldstyle = theObj.style.display;	
	  	theObj.style.display = 'block';
	  h = theObj.offsetHeight;
	  w = theObj.offsetWidth;
  		theObj.style.display = oldstyle;
	  while(theObj){
	    x += theObj.offsetLeft;
	    y += theObj.offsetTop;
	    theObj = theObj.offsetParent;
	  }
	  return {height:h,width:w,x:x,y:y}
	}
	function getScrollY()
	{
		 var scrollY = 0; 
		 if (typeof window.pageYOffset == "number") scrollY = window.pageYOffset; 
		 else if (document.documentElement && document.documentElement.scrollTop) scrollY = document.documentElement.scrollTop;
		 else if (document.body && document.body.scrollTop) scrollY = document.body.scrollTop; 
		 else if (window.scrollY) scrollY = window.scrollY; 
		 return scrollY;
	}
	
	function isOutside(pos)
	{
		return (pos.y+pos.height)> (getScrollY()+myHeight);
	}

	
	function checkChildPos(id)
	{
		var menu  = getObject(id);
		var pos = getPos(menu);
			topf = 'auto';
			bottomf = '-16px';	
		if (menu && isOutside(pos)){menu.style.marginTop=((-1*pos.height))+'px';menu.style.top=topf;}
	}
	
	function dM(MI)
	{
		if (MI.ch.length>0){
			teller++;
			d.write('<li onmouseover="sL(\'ullie'+teller+'\',\'block\', this);" onmouseout="sL(\'ullie'+teller+'\' , \'none\', this);"><a title="'+ MI.name +'" href="'+MI.link+'"  class="exp">' + MI.name + '</a><ul id="ullie'+teller+'">');	for(var i=0;i<MI.ch.length;i++){dM(MI.ch[i]);}d.write('</ul>');
		}
		else
		{
			d.write('<li><a title="'+ MI.name +'" href="'+MI.link+'">'+ MI.name + '</a>');
		}
		d.write('</li>');	
		
	}
	function sLT()
	{
		window.clearTimeout(menutimer);
		args = sLT.arguments;
		var arg0 = args[0];
		var arg1 = args[1];
		var arg2 = args[2];
		menutimer = setTimeout("sL('" + arg0 + "','" + arg1 + "'," + arg2 + ")", 1000);
	}
	function sL()
	{
		window.clearTimeout(menutimer);
		args = sL.arguments;
		if(showMenu)
		{
			if (!hoverCompatible ) {
				var myObj = getObject(args[0]);
				myObj.style.display=args[1];
			}
			
			if (args[2])
			{
				if(args[1]=='block' && !hoverCompatible)
				{
					args[2].className += ' act';
				}
				else if(args[1]=='none' && !hoverCompatible)
				{
					args[2].className = args[2].className.replace('act','');
				}
			}
		}
	}
	/*
	function dM2(MI, visible)
	{
		globteller++;
		var grpname = MI.name;
		if(grpname.length>21)
			grpname = grpname.substring(0,21)+'..';
		/*if (MI.ch.length>0){	d.write('<li'+(visible? '':' class="invisible"')+' onmouseover="checkChildPos(\'2ul'+MI.id+'\');sL(\'2ul'+MI.id+'\',\'block\', this);" onmouseout="sLT(\'2ul'+MI.id+'\',\'none\', this);"><a title="'+ MI.name +'" href="'+MI.link+'" class="exp">' + grpname +'</a><ul style="z-index:'+(500-globteller)+'" id="2ul'+MI.id+'">'); for(var i=0;i<MI.ch.length;i++){dM2(MI.ch[i], true);}d.write('</ul>');}*/
		/*if (MI.ch.length>0){	d.write('<li'+(visible? '':' class="invisible"')+'><a title="'+ MI.name +'" href="'+MI.link+'" class="exp">' + grpname +'</a><ul style="z-index:'+(500-globteller)+'" id="2ul'+MI.id+'">'); for(var i=0;i<MI.ch.length;i++){dM2(MI.ch[i], true);}d.write('</ul>');}
		else{d.write('<li'+(visible? '':' class="invisible"')+'><a title="'+ MI.name +'" href="'+MI.link+'">' + grpname +'</a><ul></ul>');}
		d.write('</li>');
	}*/
	
	
	function dM2(MI)
	{
		globteller++;
		var grpname = MI.name;
		if(grpname.length>21)
			grpname = grpname.substring(0,21)+'..';
		
		if (MI.ch.length>0){	d.write('<li><a title="'+ MI.name +'" href="'+MI.link+'" class="exp">' + grpname +'</a><ul style="z-index:'+(500-globteller)+'" id="2ul'+MI.id+'">'); for(var i=0;i<MI.ch.length;i++){dM2(MI.ch[i]);}d.write('</ul>');}
		else{d.write('<li><a title="'+ MI.name +'" href="'+MI.link+'">' + grpname +'</a><ul></ul>');}
		d.write('</li>');
	}
		
	function writeCatMenu()
	{
		d.write('<ul onmouseover="callSelect(false);" onmouseout="callSelect(true);"><li onclick="sL(\'hoofdgroepmenu\',\'block\');" onmouseover="sL(\'hoofdgroepmenu\',\'block\');" onmouseout="sLT(\'hoofdgroepmenu\', \'none\');" style="background-image:url(fp_images/layout/kc_pijl.gif);background-repeat: no-repeat;background-position: top right;"><a href="#" >Kies categorie</a><ul id="hoofdgroepmenu" style="padding-top:0px;">');
		for (var j=0;j<pI.length;j++){dM(pI[j]);}
		d.write('</ul></li></ul>');
	}
	/*
	function writeBlokMenuItemsVan(hgid)
	{
		
		hgObj = fMI('hg'+hgid, pI);
		if(hgObj)
		{
			d.write('<ul id="hgul'+hgid+'" class="uitklap">');
			var hgChildren = sort(hgObj.ch);
			for (var j=0;j<hgChildren.length;j++)
			{
				dM2(hgChildren[j], j<maxGroepen);				
			}
			if (j>maxGroepen)
			{
				//d.write('<li class="toggler" id="togglehg'+hgid+'"><a href="#ahg'+hgid+'" onclick="toggleHG('+hgid+', true);"><img src="fp_images/blokken/meer_toggler.gif"/></a></li>');							
				d.write('<li class="toggler" id="togglehg'+hgid+'"><a href="#ahg'+hgid+'" onMouseOver="toggleHG('+hgid+', true);"><img src="fp_images/blokken/meer_toggler.gif"/></a></li>');
			}
			else
			{
				for (var k=j;k<maxGroepen;k++)
				{
					d.write('<li class="dummy">&nbsp;</li>');
				}
				d.write('<li class="toggler" id="togglehg'+hgid+'"></li>');							
			}
			d.write('</ul>');
		}
	}*/

	function writeBlokMenuItemsVan(hgid)
	{
		
		hgObj = fMI('hg'+hgid, pI);
		if(hgObj)
		{
			d.write('<ul id="hgul'+hgid+'" class="uitklap">');
			var hgChildren = sort(hgObj.ch);
			var lengte = hgChildren.length > maxGroepen  ? maxGroepen : hgChildren.length;
			for (var j=0;j<lengte;j++)
			{
				dM2(hgChildren[j]);				
			}
			if (hgChildren.length>maxGroepen )
			{
				
				//d.write('<li class="toggler" id="togglehg'+hgid+'"><a href="#ahg'+hgid+'" onclick="toggleHG('+hgid+', true);"><img src="fp_images/blokken/meer_toggler.gif"/></a></li>');							
				
				d.write('<li class="toggler" id="togglehg'+hgid+'"><a href="#ahg'+hgid+'" onMouseOut="toggleHG('+hgid+', false);" onMouseOver="toggleHG('+hgid+', true);"><img src="fp_images/blokken/meer_toggler.gif"/></a>');
				d.write('<ul id="blokvanul'+hgid+'" class="meerul"  onMouseOut="toggleHG('+hgid+', false);" onMouseOver="toggleHG('+hgid+', true);">');
				var strid = '';
				for (var k=j;k<hgChildren.length;k++)
				{
					d.write('<li onMouseOver="toggleHG('+hgid+', true);"><a href="'+hgChildren[k].link+'">'+hgChildren[k].name+'</a></li>');
				}
				
				d.write('</ul>');
				d.write('</li>');
				
			}
			else
			{
				for (var k=j;k<maxGroepen;k++)
				{
					d.write('<li class="dummy">&nbsp;</li>');
				}
				d.write('<li class="toggler" id="togglehg'+hgid+'"></li>');							
			}
			d.write('</ul>');
		}
	}
	function writeAltMenuItemsVan(hgid)
	{
		var td = d.getElementById('td'+hgid);
		var img = d.getElementById('img'+hgid);
		
		hgObj = fMI('hg'+hgid, pI);
		var myStr = ' ';
		if(hgObj)
		{
			var hgChildren = namesort(hgObj.ch);			
			for (var k=0;k<hgChildren.length;k++)
			{
				if (document.all) 
				{
					myStr += hgChildren[k].name + (k!=hgChildren.length-1 ? ' \n ' : '');
				}
				else
				{
					myStr += hgChildren[k].name + (k!=hgChildren.length-1 ? ', ' : '');
				}
			}
			td.title=myStr;
			img.alt = myStr;
		}
	}
	function up(mobj, visibility)
	{
		var tags = d.getElementsByTagName('ul');
		for (var k=0; k<tags.length;k++)
		{			
			if(tags[k].className=='uitklap')
			{
				tags[k].style.visibility= visibility ? 'visible' : 'hidden';
			}		
		}
		mobj.style.visibility= 'visible';		
	}
	function fMI(id,arr)
	{
		for (var k = 0; k<arr.length;k++)
		{
			if(arr[k].origid==id) return arr[k];
			else if (arr[k].ch.length>0)
			{				
				var obj = fMI(id,arr[k].ch);
				if (obj!=null && obj.origid==id) return obj;
			}			
		}
		return null;
	}
	
	function initHoverImages()
	{
		var imgArr = d.getElementsByTagName('IMG');
		for (var i=0; i<imgArr.length;i++)
		{
			if (imgArr[i].className.indexOf('hover')>=0)
			{
					var img = new Image();
					img.src = imgArr[i].src.replace('.gif','_over.gif');
					imagesLoadedArr[imagesLoadedArr.length] = img; //preload ze direct
					imgArr[i].onmouseover=function()
					{
						this.src = this.src.replace('.gif','_over.gif');						
					}
					imgArr[i].onmouseout=function()
					{
						this.src = this.src.replace('_over','');
					}
			}	
		}
	}
	
	function getObject(id)
	{
			return MM_findObj(id);
	}
	
	function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}
 
	function hideLoginLayer(quick)
	{
		if(maytoggle)
			timer = setTimeout('toggleLayer(\'loginlayer\',false);', quick? 1000 : 6000);
	}
	
	function toggleLayer(layer, show)
	{
		if (typeof layer == 'string') layer = getObject(layer);
		if (layer!=null && !show) {layer.style.visibility = 'hidden';layer.style.display = 'none';}
		if (layer!=null && show) {layer.style.visibility = 'visible';layer.style.display = 'block';}
	}
	
	function checkKeypress(e, formid)
	{
		if(e && e.keyCode==13) getObject(formid).submit();
	}
	
	function printpopup(url){
		urlstr = url;
		specswindow = window.open(urlstr, 'printpopup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=0,width=700,height=500,left=10,top=10');
		specswindow.focus();	
		return;
		
	}
	
	function popup(url){
		urlstr = url;
		specswindow = window.open(urlstr, 'Productspecs','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=0,copyhistory=0,width=460,height=500');
		if(navigator.appName == "Netscape"){
			specswindow.focus();
		}
	}
	
	function popupGroot(url){
		urlstr = url;
		specswindow = window.open(urlstr, 'Productspecs','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=0,copyhistory=0,width=800,height=600');
		if(navigator.appName == "Netscape"){
			specswindow.focus();
		}
	}	
	
	function popup_i(url){
		urlstr = url;
		verglwindow = window.open(urlstr, 'Productvergelijker','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=0,copyhistory=0,width=800,height=420');
		if(navigator.appName == "Netscape"){
			verglwindow.focus();
		}
		return;	
	}
	
	function popupaanvraag(url){
		urlstr = url;
		specswindow = window.open(urlstr, 'popupaanvraag','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=0,copyhistory=0,width=600,height=520');
		specswindow.focus();	
		return;
		
	}
	
	function makeOptions(n1, n2, selected) {
		for(var i=n1; i<=n2; i++) {
			//if(i<10) i='0'+i
			
			document.write('<option'+((i==selected)? ' selected':'')+ ' value="'+i+'">'+i+'</option>');
		}
	}
	
	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}
	
	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}
	
	
	function setMap(imagenaam, mapnaam)
	{	
		var obj;obj = MM_findObj(imagenaam);obj.useMap = '#'+mapnaam;
	}
	
	function MM_swapImage() { //v3.0
	
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}
	/*
	function toggleHG(hgid, show)
	{
		var togglerDiv = getObject('togglehg'+hgid);
		var hgUl = getObject('hgul'+hgid);
		var liArr = hgUl.getElementsByTagName('LI');
		showMenu = false;		
		for (var i=0; i<liArr.length;i++)
		{
			if(show && liArr[i].className.indexOf('invisible')>=0)
			{
				try{liArr[i].style.filter='progid:DXImageTransform.Microsoft.Fade(duration=1)';
				liArr[i].filters[0].Apply();}
				catch(exception){}
				liArr[i].className = liArr[i].className.replace('invisible',  'show');	
				try{liArr[i].filters[0].Play();
				}
				catch(exception){}
			}
			else 
			{
				liArr[i].className = liArr[i].className.replace('show', 'invisible');	
			}
		}	
		if(show)
		{
			togglerDiv.innerHTML= '<a href="#ahg'+hgid+'" onclick="toggleHG('+hgid+', false);"><img  src="fp_images/blokken/sluiten_toggler.gif"/></a>';
			//togglerImg.src=togglerImg.src.replace('meer_toggler', 'sluiten_toggler');
		}
		else
		{
			togglerDiv.innerHTML= '<a href="#ahg'+hgid+'" onMouseOver="toggleHG('+hgid+', true);"><img src="fp_images/blokken/meer_toggler.gif"/></a>';
			//togglerDiv.innerHTML= '<a href="#ahg'+hgid+'" onclick="toggleHG('+hgid+', true);"><img src="fp_images/blokken/meer_toggler.gif"/></a>';
			//togglerImg.src=togglerImg.src.replace('sluiten_toggler', 'meer_toggler');
		}
		setTimeout('showMenu =true;',500);
	}
	*/
	function toggleHG(hgid, show)
	{
		//var togglerDiv = getObject('togglehg'+hgid);
		
		
		
			if(show)
			{
				clearTimeout(blokTimer[hgid]);
				toggleLayer('blokvanul'+hgid, true );		
				checkChildPos('blokvanul'+hgid);
			}
			else
			{
				
				blokTimer[hgid]=setTimeout('toggleLayer(\'blokvanul'+hgid +'\',false);', 200);
				//hgUl.style.visibility = 'hidden';	
			}
			
		//setTimeout('showMenu =true;',500);
	}
	
	function gotoMerk(merk)
	{
		//alert(merk);	
		
		if(merk!=-1)
		{
			top.location.href='ws_a_merkindex.asp?merk='+merk;
		}
		else 
		{
			top.location.href='index.asp';
		}
	}