function selText()
{
	document.getElementById("keywords_search").select();
}

function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}


function viewImage(iname,icap,iht,wname,wsize,hsize) {
  var bldArg = 'width=' + wsize + ',height=' + hsize + ',left=10,top=10,screenX=10,screenY=10';
  bldArg = bldArg + ',channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=0,status=0,toolbar=0';
     if(!(iname=="")) {
      popupWin=window.open('',wname,bldArg);
        if (!popupWin.opener) { 
            popupWin.opener = self;
        }
      popupWin.document.open();
      popupWin.document.writeln("<head>");
      popupWin.document.writeln("<title>Afbeelding</title>");
      popupWin.document.writeln("<SCRIPT language='JavaScript'>");
      popupWin.document.writeln("if (window.focus) {");
      popupWin.document.writeln(" self.focus();");
      popupWin.document.writeln("}");
      popupWin.document.writeln("function killWindow() {");
      popupWin.document.writeln("  killWin = window.close();");
      popupWin.document.writeln("}");
      popupWin.document.writeln("</SCRIPT>");
      popupWin.document.writeln("<LINK REL='stylesheet' HREF='stylesheet.css' TYPE='text/css'>");  
      popupWin.document.writeln("</head>");
      popupWin.document.writeln("<body text='black' marginheight=0 marginwidth=0 topmargin=0 leftmargin=0>");
      popupWin.document.writeln("<center>");
      popupWin.document.writeln("<a href='' onClick='killWindow();'><img src='" + iname + "' border=0></a><br><font size=2>" + icap + "</font>");
      popupWin.document.writeln("</center>");
      popupWin.document.close();
      } else {
          popupWin=window.open('noimage.htm');
          if (!popupWin.opener) { 
            popupWin.opener = self;
            }
      }
   }