function changeIt(ImageToChange, ImageToShow){ if (document.getElementById){ document.getElementById(ImageToChange).src = ImageToShow; } } function changeItDetail(ImageToChange, ImageToShow, Titel, Subtitel){ if (document.getElementById){ // Zorgen dat de variabelen goed staan if ( Subtitel == "") { Subtitel =" "; } document.getElementById('detailtext').style.display= 'none'; document.getElementById('detailBlock').style.display= 'block'; document.getElementById('toontekst').style.display= 'block'; /* document.getElementById(ImageToChange).src = ImageToShow;*/ document.getElementById('FotoLink').innerHTML = '
Detail
' document.getElementById('detailTitel').innerHTML= Titel; document.getElementById('detailSubTitel').innerHTML= Subtitel; } } function ToonTekst(){ document.getElementById('detailtext').style.display= 'block'; document.getElementById('detailBlock').style.display= 'none'; document.getElementById('toontekst').style.display= 'none'; } function showElement(elid) { document.getElementById(elid).style.display= 'block'; } function hideElement(elid) { document.getElementById(elid).style.display= 'none'; } function ShowPopup(InfoURL,Naam,B,H,SB) { // open the popup window window.name = 'Karlmeersman'; var popupURL = InfoURL; /* var popup = window.open(popupURL,Naam,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+SB+',resizable=0,width='+B+',height='+H+',left='+((screen.width - B) / 2)+',top='+ ((screen.height - H) / 2) );*/ var popup = window.open(popupURL,Naam,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+SB+',resizable=0,width='+B+',height='+H+',left=20,top=20'); // set the opener if it's not already set. it's set automatically // in netscape 3.0+ and ie 3.0+. if( navigator.appName.substring(0,8) == "Netscape" ) { popup.location = popupURL; } popup.focus(); } function ChangeClass(elID, cssclass) { document.getElementById(elID).className = cssclass; //document.getElementById(elID).style.color = "#000000"; }