function fetchAddress(name, domain) {
    location.href = 'mai' + 'lto:' + escape(name) + '@' + escape(domain);	
}

function printMail(name, domain) {
    document.write('<a href="#" onclick="fetchAddress(\'' + name  + '\', \'' + domain + '\');">' + name + '@' + domain + '</a>');
}

function updateResponseDiv1(req) {
    if( req.xhRequest.responseText == 1){
        Spry.Utils.setInnerHTML('form1', "Uw naam en telefoonnummer zijn verstuurd, wij nemen zo spoedig mogelijk contact met u op.");
        document.getElementById('form1').reset();
    }
}

function validateonsubmit1(form){
    if (Spry.Widget.Form.validate(form) == true){
        
        Spry.Utils.submitForm(form, updateResponseDiv1);
        
    }
    return false;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
}
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

