function ExplorerFix() 
	{ 
	for (a in document.links) document.links[a].onfocus = document.links[a].blur; 
	}


function knopon(id)
	{
	document.getElementById(id).style.backgroundImage = 'url(img/bg_knopselected.gif)';
	}

function knopoff(id)
	{
	document.getElementById(id).style.backgroundImage = '';
	}

function over(id, filename)
	{
	//img = eval('document.'+id);
	img = document.images[id];
	img.src = 'phpimg/navitem.png?t=2&s='+filename;
	}

function out(id, filename)
	{
	//img = eval('document.'+id);
	img = document.images[id];
	img.src = 'phpimg/navitem.png?t=1&s='+filename;
	}

function navOver(id,kleur)
	{
	//img = eval('document.navsel'+id);
	//img.src = 'img/selectiecirkel.gif';
	//alert(id);
	document.getElementById('td'+id+'a').style.backgroundColor = kleur;
	document.getElementById('td'+id+'b').style.backgroundColor = kleur;
	}

function navOut(id,kleur)
	{
	//img = eval('document.navsel'+id);
	//img.src = 'img/pixel.gif';
	document.getElementById('td'+id+'a').style.backgroundColor = kleur;
	document.getElementById('td'+id+'b').style.backgroundColor = kleur;
	}

function go(url)
	{
	document.location = url;
	}

function media(pid, lid, nr,w,h) 
	{
	window.open(basehref+'media?prod_id='+pid+'&langid='+lid+'&nr='+nr, pid+''+lid+''+nr, "width="+w+",height="+h+",toolbar=no,focus,menubar=no,location=no,scrollbars=no,resizable=no,status=no");
	}

function popUp(url,width,height,name) 
{
OpenWin=window.open(basehref+url, name, "width="+width+",height="+height+",toolbar=no,focus=yes,menubar=no,location=no,scrollbars=yes,resizable=no,status");
OpenWin.focus();
}



var newwindow = '';

function popitup(url,width,height)
{
	if (!newwindow.closed && newwindow.location)
	{
		//newwindow.location.href = url;
	}
	else
	{
		newwindow=window.open(basehref+url,'name','height='+height+',width='+width+',toolbar=no,focus=yes,menubar=no,location=no,scrollbars=no,resizable=no,status=no');
		if (!newwindow.opener) newwindow.opener = self;
	}
	if (window.focus) {newwindow.focus()}
	//return false;
}
