// --------------------------------------------------------
function msout(name ,imgref )
{
  if (name != '')
  {
    document.images[name].src = imgref ;
  }
}
// --------------------------------------------------------
function msover(name ,imgref )
{
  if (name != '')
  {
    document.images[name].src = imgref ;
  }
}


//-----------------------------------------------------------------------
function showImage(imgname, imgurl, imgwidth, imgheight)
{
  var winwidth  = imgwidth + 40 ;
  var winheight = imgheight + 100 ;
  var win = window.open('','showImage','width=' + winwidth +',height='+ winheight +',resizable',true);
  win.focus();
  win.opener = window;
  win.document.write('<HTML><LINK REL="stylesheet" TYPE="text/css" HREF="../styles/inhoud.css">' +
                       '<BODY><TABLE border="0" width="100%">' +
                       '<TR><TD ALIGN="CENTER" VALIGN="CENTER">' +
                       '<IMG SRC=\"' + imgurl +'\"></TD></TR>' +
                       '<TR><TD ALIGN="CENTER" >' + imgname + '</TD></TR>' +
                       '<TR><TD ALIGN="CENTER" >&nbsp;</TD></TR>' +                       
                       '<TR><TD ALIGN="CENTER" ><A HREF="javascript: void null ;" onclick="window.close();">' +
                       '<IMG SRC="../images/sluiten.gif" border="0" vspace="0" hspace="0"></A>' +
                       '</TD></TR>' +
                       '</TABLE></BODY></HTML>') ;
}

