var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;

function ToonScherm(Code)
{
	if (isIE == 1)
		{ToonScherm1(Code);}
	else
		{ToonScherm1(Code);}
}



function ToonScherm1(Code)
{
URL = Code + '.asp';
Height = 550;
Left = 87;
Left = Math.round((screen.availWidth-1024)/2+Left);
if (Left < 1)
	{
	Left=1;
	}
Top = '100';
Width = '611';
if (Code == 'Bestelling')
	{Left = 137;
	Left = Math.round((screen.availWidth-1024)/2+Left);
	 Top = '150';}

list = 'scrollbars=yes,height='+Height+'px, left='+Left+'px, top='+Top+'px, width='+Width+'px,titlebar=no,menubar=no,toolbar=no,statusbar=no' ;
p = window.open(URL,"", list);
p.focus();
}

function ToonScherm2(Code)
{
URL = Code + '.asp';
//alert(URL);
Height = 550;
Left = 87;
Left = Math.round((screen.availWidth-1024)/2+Left);
if (Left < 1)
	{
	Left=1;
	}
Top = '102';
Width = '611';
list = 'dialogHeight: '+Height+'px;dialogLeft :'+Left+'px; dialogTop:'+Top+'px; dialogWidth:'+Width+'px;center: no;help:no;edge:raised;resizable:no;scroll:no;status:no;unadorned:no' ;
p=showModalDialog(URL,"",list);
}

function Recht(x)
	{document.getElementById(x).style.fontStyle='italic'};

function Cursief(x)
	{document.getElementById(x).style.fontStyle='normal'};