function popupPic(picUrl,title) 
{ 
	var w = 100;
	var h = 100;

	var winl = (screen.width - w) / 2;	var wint = (screen.height - h) / 2;
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',resizable=yes'	window.open("./popupc.php?image="+picUrl+"&titel="+title+"", "", winprops);} 

H = 450; // standaard waarde 
B = 500; // standaard waarde 

function popupPage(URL,B,H) 
{
    day = new Date();
    id = 'PopUp';
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + B + ',height=' + H + ',left=50,top=50');");
}

function popupnr(mylink, windowname, B, H, refocus){	var mywin, href;	if (typeof(mylink) == 'string')
	{   		href=mylink;
	}	else
	{   		// href=mylink.href;
   		href=mylink;
	}

	mywin = window.open('', windowname, 'width=' + B + ',height=' + H + ',scrollbars=yes');	// if we just opened the window	if 
	(		mywin.closed || 		(! mywin.document.URL) || 		(mywin.document.URL.indexOf("about") == 0)   	)

   	mywin.location=href;
	else if (refocus)   		mywin.focus();
	return false;}


function NewWindow(mypage, myname, w, h, scroll) 
{	var winl = (screen.width - w) / 2;	var wint = ((screen.height - 50)- h) / 2;	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize'	win = window.open(mypage, myname, winprops)	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }}

// Voorbeeld NewWindow : 
// <a href="/footer/disclaimer.html" class="footer" onclick="NewWindow(this.href,'Disclaimer',500,350,1);return false;" target="_blank">Disclaimer</a>

