
<!--


function IsImageOk(img) {
	/* Check if image is loaded, cross browser */
    if (!img.complete) {
        return false;
    }
    if (typeof img.naturalWidth != "undefined" && img.naturalWidth == 0) {
        return false;
    }
    return true;
}


function checkImages() 
{
	/* Check for bad images */	
    for (var i = 0; i < document.images.length; i++) {
        if (!IsImageOk(document.images[i])) {
        	        	
        	/* Hide bad image */
            document.images[i].style.display = "none";
        }
    }
};




/** Adultcash javascript, used in dialscreen **/

  function stopError(){return true}window.onerror=stopError;
  
  var NS=(document.layers) ? 1 : 0;
  var IE=(document.all) ? 1 : 0;
  var submitted=0;
  function DoSubmit(fromform){
    if(!submitted){
      var s=new String(document.f.code.value);
      if(s.length!=4){
        return false;
      }else{
        for(i=0;i<4;i++){
          if(!(s.charAt(i)>='0' && s.charAt(i)<='9')){
            return false;
          }
        }
      }
      submitted=1;
      document.f.go.disabled=true;
      if(!fromform){
        document.f.submit();
      }else{
        return true;
      }
    }
  }
  function CheckKey(e){
    if(NS){thekey=e.which;m=e.modifiers;}else{thekey=window.event.keyCode;m=window.event.shiftKey;}
    if(!(!m && (thekey==13 || thekey==8 || thekey==37 || thekey==39 || thekey==46 || (thekey>=48 && thekey<=57) || (thekey>=96 && thekey<=105)))){
      if(NS){e.which=0;}else{window.event.keyCode=0;window.event.returnValue=false;}
      return false;
    }else{
      return true;
    }
  }
function seton(id) {
	if (id == '0') {
			document.getElementById('telefoon').style.display='';
			document.getElementById('ideal').style.display='none';
	}else{
			document.getElementById('telefoon').style.display='none';
			document.getElementById('ideal').style.display='';
	}
		
}
// -->

<!--
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
// -->
