// Preload images
/*
imgSamenOver = new Image( );
imgSamenOver.src = 'i/samen_over.jpg';
	
imgPlezierOver = new Image( );
imgPlezierOver.src = 'i/plezier_over.jpg';

imgOpMaatOver = new Image( );
imgOpMaatOver.src = 'i/opmaat_over.jpg';

// Image swap
function hover(id,src){
  document.getElementById(id).src=src;
}
*/

function hover(id,src){
  document.getElementById(id).className = src;
}
function ShowPopupImage ( file, width, height, description ){
			popupwindow = window.open("","popup","alwaysRaised,dependent,height="+height+",width="+width+",menubar=no,resizable=no,status=no,toolbar=no");
			popupwindow.document.open();
			popupwindow.document.write("<html><head><title>"+description+"</title><link rel=\"STYLESHEET\" type=\"text/css\" href=\"../stylesheet.css\"></head><body onBlur=\"window.close()\" onClick=\"window.close()\" style=\"margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;\"><img src=\""+file+"\" alt=\"\" width=\""+width+"\" height=\""+height+"\" hspace=\"0\" vspace=\"0\" border=\"0\"><div class=\"watermark\"></div></body></html>");
			popupwindow.document.close();
			popupwindow.focus();
		}	

