function enlargeProduct( imagePath ) {
    var HTMLstring =
    '<html>' +
    '<head><title>Designium XPO</title></head>' +
    '<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" bgcolor="#e0dfe3">' +
    '<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">' +
    '<tr><td align="center" valign="middle">' +
    '<img name="productImg" src="enlarged/' + imagePath + '.jpg" border="0" alt="Klik op de afbeelding om dit scherm te sluiten" onClick="window.close();">' +
    '</td></tr></table>' +
    '</body>' +
    '</html>';
    
    productWin = window.open( '', 'productWin', 'channelmode=no,directories=no,fullscreen=no,height=100,left=0,location=no,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=yes,toolbar=no,top=0,width=100', true );
    productWin.document.write( HTMLstring );
    
    while ( ( productWin.productImg.width < 100 ) && ( productWin.productImg.height < 100 ) ) {}
    
    productWin.resizeTo( productWin.productImg.width, productWin.productImg.height );
    productWin.resizeBy( productWin.productImg.width - productWin.document.body.clientWidth, productWin.productImg.height - productWin.document.body.clientHeight );
    productWin.moveTo( ( ( screen.width - productWin.productImg.width ) / 2 ), ( ( screen.height - productWin.productImg.height ) / 2 ) );
}
