function ExplorerFix() 
	{ 
	for (a in document.links) document.links[a].onfocus = document.links[a].blur; 
	}

var tnavtimer;

function tnavover (id)
	{
	img = eval('document.tnavimg'+id);
	img.className='activeimage';
	/*
	img = eval('shadow1'+id);
	img.className='opacity25';
	img = eval('shadow2'+id);
	img.className='opacity25';
	*/
	overh('tnavimg'+id,'t'+id);
	}

function tnavout (id)
	{
	img = eval('document.tnavimg'+id);
	img.className='disabledimage';
	/*
	img = eval('shadow1'+id);
	img.className='opacity0';
	img = eval('shadow2'+id);
	img.className='opacity0';
	*/
	outh('tnavimg'+id,'t'+id);
	}

function pnavover (id)
	{
	img = eval('document.tnavimg'+id);
	img.className='activeimage';
	/* obsolete
	img = eval('shadow1'+id);
	img.className='opacity25';
	img = eval('shadow2'+id);
	img.className='opacity25';
	*/
	}

function pnavout (id)
	{
	img = eval('document.tnavimg'+id);
	img.className='disabledimage';
	/* obsolete
	img = eval('shadow1'+id);
	img.className='opacity0';
	img = eval('shadow2'+id);
	img.className='opacity0';
	*/
	
	}

function bgon(id, sub)
	{
	if (id != 'navsub0')
		{
		//whichlayer = eval(id);
		//whichlayer.show();
		//document.all[id].style.backgroundImage = 'url(img/bg_knopselected.gif)';
		}
	}

function bgoff(id)
	{
		if (id != 'navsub0')
		{
		//whichlayer = eval(id);
		//whichlayer.hide();
		//document.all[id].style.backgroundImage = '';
		}
	}

function knopon(id)
	{
	document.all[id].style.backgroundImage = 'url(img/bg_knopselected.gif)';
	}

function knopoff(id)
	{
	document.all[id].style.backgroundImage = '';
	}

function over(id, filename)
	{
	img = eval('document.'+id);
	if (filename != '')
		id = filename;
	img.src = 'img/'+id+'_over.gif';
	}

function out(id, filename)
	{
	img = eval('document.'+id);
	if (filename != '')
		id = filename;
	img.src = 'img/'+id+'.gif';
	}

function overh(id, filename)
	{
	img = eval('document.'+id);
	if (filename != '')
		id = filename;
	img.src = 'img/thumbs_home/'+id+'_over.jpg';
	}

function outh(id, filename)
	{
	img = eval('document.'+id);
	if (filename != '')
		id = filename;
	img.src = 'img/thumbs_home/'+id+'.jpg';
	}

function navOver(id)
	{
	document.all['navlink'+id].style.color = '#09857F';
	}

function navOut(id)
	{
	document.all['navlink'+id].style.color = '#414042';
	}

function go(url)
	{
	document.location = url;
	}


function popUp(url,width,height,name) 
	{
	OpenWin=window.open(url, name, "width="+width+",height="+height+",toolbar=no,focus=yes,menubar=no,location=no,scrollbars=yes,resizable=no,status");
	OpenWin.focus();
	}


function vergroting(id, w, h, base)
	{
	if (document.all)
		{
		
		var theimg = document.images["productimage"]; 
		
		sX = window.screenLeft;
		sY = window.screenTop;
		
		var l = theimg.offsetLeft + sX - 115; 
		var t = theimg.offsetTop + sY - 192; 
		}
	else
		{
		var l = 200;
		var t = 200;
		}
	vergrotingwin=window.open(base+'producten?s=vergroting&id='+id, 'VergrotingBalance', "width="+w+",top="+t+",left="+l+",height="+h+",toolbar=no,focus=yes,menubar=no,location=no,scrollbars=no,resizable=no");
	}
