// 1 figuur formaat 500x375 px
function PlaatjePopup(PNaam,figuur)
  { msgWindow = window.open("", 
		"displayWindow", 
		"toolbar=no,top=100,left=100,width=500,height=400,directories=no,status=no,scrollbars=no,resizable=no,menubar=no")
    msgWindow.document.write('<head><title>Product&nbsp;Informatie ' +PNaam +'<\/title>');
    msgWindow.document.write(  '<link rel="stylesheet" type="text/css" href="java/Tuinplezier.css">');

    msgWindow.document.write('<script language="javascript">');
    msgWindow.document.write('	var NS = (navigator.appName=="Netscape")?true:false;');
    msgWindow.document.write('	function fitPic() {');
    msgWindow.document.write('       		iWidth = (NS)?window.innerWidth:document.body.clientWidth;');
    msgWindow.document.write('       		iHeight = (NS)?window.innerHeight:document.body.clientHeight;');
    msgWindow.document.write('      		iWidth = document.images[0].width - iWidth + 50;');
    msgWindow.document.write('       		iHeight = document.images[0].height - iHeight + 60;');
    msgWindow.document.write('     		window.resizeBy(iWidth, iHeight);');
    msgWindow.document.write('       		self.focus();');
    msgWindow.document.write('	}');
    msgWindow.document.write('	</script>');

    msgWindow.document.write('<\/head>');
    msgWindow.document.write('<body onLoad="fitPic()" onblur="window.close()" onclick="window.close()">');
    msgWindow.document.write('<center><br><img border="1" src="' +figuur +'"><br>');
    msgWindow.document.write('<br>klik ergens om dit venster te sluiten<\/center>');
    msgWindow.document.write('<\/body><\/html>')
    msgWindow.document.close();
  }

// n figuren formaat 500x375 px
function PlaatjePopupN(PNaam,Tfiguur,aantal)
  { msgWindow = window.open("", 
		"displayWindow", 
		"toolbar=no,top=100,left=100,width=540,height=455,directories=no,status=no,scrollbars=yes,resizable=no,menubar=no")
    msgWindow.document.write('<head><title>Product&nbsp;Informatie ' +PNaam +'<\/title>');
    msgWindow.document.write(  '<link rel="stylesheet" type="text/css" href="java/Tuinplezier.css">');
    msgWindow.document.write('<\/head>');
    msgWindow.document.write('<body onblur="window.close()" onclick="window.close()"><center>');
    for ( idx=0 ; idx < aantal ; idx++ )
    {	msgWindow.document.write('<br><img border="1" src="' +Tfiguur[idx] +'" width="500" height="375"><br>');
	if ( idx < 1 )
	{   msgWindow.document.write("<br>meer foto's hieronder<br>");
	}
    } 
    msgWindow.document.write('<br>klik ergens om dit venster te sluiten<\/center>');
    msgWindow.document.write('<\/body><\/html>')
    msgWindow.document.close();
  }

