/* Om lege images te verbergen */
function HideEmptyImages()
{
var regex = new RegExp("(shownoimg)\.gif$");
for (var i=0; i < document.images.length; i++)
if (regex.test(document.images[i].src))
document.images[i].style.display = "none";
}


function showfoto(fotoimg) 
{ 
var newInnerHTML = new String(); 
newInnerHTML = "<img src=\"/images/moooi/close.jpg\" alt=\"sluiten\" hspace=\"0\" vspace=\"0\" align=\"right\" style=\"margin-right:0px; margin-top:0px; cursor:pointer\" onClick=\"hidefoto()\"><img src=\"";
newInnerHTML = newInnerHTML.concat(fotoimg);
newInnerHTML = newInnerHTML.concat("\" width=\"600\" height=\"600\" style=\"margin-left:10px; margin-top:10px\">")
newInnerHTML = newInnerHTML.replace("_th!updatervar10!0!0!F!","");
document.getElementById('showfoto').innerHTML = newInnerHTML; 
document.getElementById('showfoto').style.visibility = 'visible';
} 


function hidefoto()
{
document.getElementById('showfoto').style.visibility = 'hidden';
}