<!--
//script om de een popup te openen van een bepaald formaat zonder andere balken
function popup_page(strUrl, intWidth, intHeight, strScrollbars, strResizable, strLocation, strToolbar){
	var strWindow = "height=" + intHeight + ", width=" + intWidth + ", scrollbars=" + strScrollbars + ", location=" + strLocation + ", status=no, toolbar=" + strToolbar + ", resizable=" + strResizable;
        newWin = window.open(strUrl, 'pagepopup', strWindow);
	newWin.focus();
	return false;
}
function popup_image(strUrl, intWidth, intHeight, strScrollbars, strResizable, strLocation, strToolbar){
         if(screen.width < intWidth + 20 || screen.height < intHeight + 65){
                 strScrollbars = "yes";
                 intWidth += 25;
         }
         myWin = window.open ('', 'imagepopup', 'width='+ (intWidth + 10) +', height='+ (intHeight+55) +', scrollbars=' + strScrollbars + ', resizable=yes, status=no, toolbar=no, menubar=no');
         myWin.window.resizeTo(intWidth + 10,intHeight+55);
         myWin.document.write('<html><head><title>afbeelding</title>');
         myWin.document.write('</head>');
         myWin.document.write('<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">')
         myWin.document.write('<div align=center><img src="' +  strUrl + '" border=0 vspace=0 hspace=0></img></div>');
         myWin.document.write('</body></html>');
         myWin.document.close();
         myWin.focus();
}
//script om contactformulier te valideren
function checkContactForm(){
         if(document.inputForm.txtContact.value == ""){
                alert('selecteer waarover u contact met RKDEO wilt opnemen');
                return false;
         }
         if(document.inputForm.txtName.value.length < 2){
                alert('Vul uw naam in');
                return false;
         }
         if (document.inputForm.txtEmail.value.indexOf("@",0) == -1 || document.inputForm.txtEmail.value.indexOf(".",0) == -1) {
                alert("Vul een geldig emailadres in");
                return false;
        }
        if(document.inputForm.txtMessage.value.length < 5){
                alert('Vul een normale opmerking, vraag of suggestie in');
                return false;
         }

}

//-->

