function doPrint(text) {
	text = document.getElementById(text).innerHTML;
	text = text + "<br><center><a href='javascript: window.print()'>Pagina printen</a> &nbsp;&nbsp; <a href='javascript: window.close()'>Venster sluiten</a></center>";
	text = "<html><head><title>Printvriendelijke versie</title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><base href='http://www.polak-gallery.nl'><LINK media=screen href='css/print.css' rel=stylesheet><LINK media=print href='css/print.css' rel=stylesheet><SCR" + "IPT src=' test_bestanden/sifr.js'  type=text/javascript></SCR" + "IPT><SCR" + "IPT src=' test_bestanden/sifr_opmaak.js'  type=text/javascript></SCR" + "IPT></head><body bgcolor=#FFFFFF LINK=#000000 VLINK=#000000 ALINK=#000000 TEXT=#000000><div><img src='../img/printlogo.gif'><p>&nbsp;</p></div><div id='mainbar'>" + text + "</div></body></html>";
	printWin = window.open("", null, "width=700, height=600, scrollbars=yes, resizable=yes, titlebar=0");
	printWin.document.write(text);
/*	printWin.document.close();
	printWin.print(); */
}