


//function show(tekening,tekenstijl,breedte,hoogte,titel)
function showImg(tekening,breedte,hoogte)
	{
		titel='MAGIM Assen : Extra informatie';
		tekenstijl = titel;
		width0 = parseInt(breedte);
		height0 = parseInt(hoogte);
		width1= width0+40;
		height1 = height0+40;
		zinbreed = 'width='+width1;
		zinhoogte = 'height='+height1;
		objMyWin = open('','nieuw_venster', zinbreed+','+zinhoogte+', resizable=yes, scrollbars=no, status=no,toolbar=no,menubar=no');

		// open document om in te vullen
		objMyWin.document.open();

		// beschrijf het document
		objMyWin.document.write('<html>');
		objMyWin.document.write('<head>');
		//strTitel='<title>'+titel+'</title><link rel="stylesheet" type="text/css" href="/styles/standaard.css">';
		strTitel='<title>'+titel+'</title>';
		objMyWin.document.write(strTitel);
		objMyWin.document.write('</head>');
		objMyWin.document.write('<body>');
		//objMyWin.document.write(tekenstijl+'&nbsp;&nbsp;&nbsp;&nbsp;');
		objMyWin.document.write(tekenstijl+'&nbsp;&nbsp;&nbsp;&nbsp;');
		strSluiter='<a href="javascript:window.close()">sluiten</a>';
		objMyWin.document.write(strSluiter)
		strTekening='<img src="'+tekening+'", width="'+width0+'", height="'+height0+'">';
		
		objMyWin.document.write(strTekening);
		objMyWin.document.write('</body>');
		objMyWin.document.write('</html>');
		// klaar met het schrijven van tekst:sluit document maar niet venster
		objMyWin.document.close();
	}

function showPDF(strBestandsnaam,iPagina)
		{
			var strWindowNaam = 'NWin';
			strTeOpenen = strBestandsnaam + '#page=' + iPagina;
			NewWin=window.open(strTeOpenen,strWindowNaam,',,status=no,toolbar=yes,menubar=yes,location=no,directories=no,resizable=1');
			window['NewWin'].focus();
		}
