var sOut;

function fnOpen() {
  var lvoOut = window.open(sOut);	  
return false;
}

function gotoURL(sLocation, target) // support for selectboxes
{
    sOut = eval(sLocation);
	if (target==0)
      document.location.href = eval(sLocation);
	else if (sOut != "")
	  setTimeout("fnOpen()", 100);  
    return;
}	



 var lvoAdv = null;
 var winhoogte;
 var winbreedte;
 var wintop;
 var winleft;
 var winpage;
 
 function popwin(pagina,hoog,breed){	
   if (lvoAdv && lvoAdv.open && !lvoAdv.closed) fnClose();
   // bepalen instellingen
   winhoogte = screen.height
   winbreedte = screen.width
   wintop = 20
   winleft = 20
   winpage = pagina
     if(winhoogte <= 550) {
 	   winhoogte = winhoogte - 90;
	   winbreedte = winbreedte - 90
     }
     else {
       winhoogte = hoog;
	   winbreedte = breed;
	   wintop = 40;
 	   winleft = 40;
     }
	 setTimeout("fnAdvOpen()", 200); 			
  }
	
  function fnAdvOpen() {
  lvoAdv = window.open(winpage,'popup','status=no,scrollbars=yes,resizable=no,left=' + winleft + ',top=' + wintop + ',width=' + winbreedte +',height=' + winhoogte);
  return false;
  }
	
  // close resultaat-window
  function fnClose() {     
  if (lvoAdv && lvoAdv.open && !lvoAdv.closed) lvoAdv.close();  
    lvoAdv = null;
	return false;
  }
function disclaimer(message, openWhat)
{    
  var question = confirm(message); 
  if (question) 	 
    eval("setTimeout(\"open('" + openWhat + "')\", 1000)");
}