		// Print emailadres mbv JavaScript zodat deze verborgen blijft
		// voor email spiders. (tbv SPAM)
		//  
		function printEmail(theUser, theDomain, theTopDomain) {
			var at  = "@";
			var dot = ".";
			document.write('<a href="mailto:' + theUser + at  + theDomain + dot + theTopDomain + '">');
			document.write(theUser + at  + theDomain + dot + theTopDomain);
			document.write('</a>');
		}
        
        //
        // Een stap terug. In Mozilla is de history niet leesbaar (geen .
        //
        function goBack() {

            if (window.history) 
                window.history.go(-1);
            else 
                window.back();
        }
          
/**
 * Open het popup venster voor Argenta.
 */
function argenta_open_window(the_url, the_name, the_width, the_height){ 
	
	the_width -= 0;
	the_height -= 0;
	var screen_width = screen.availWidth;
	var screen_height = screen.availHeight;
	var the_toolbar = "no";
	var the_addressbar = "no";
	var the_directories = "no";
	var the_statusbar = "yes";
	var the_menubar = "no";
	var the_scrollbars = "yes";
	var the_do_resize =  "yes";
	var the_copy_history = "yes";
	
	if ((the_height+60) >= screen_height) {
		the_height = screen_height - 60;
	}
	if ((the_width+50) >= screen_width) {
		the_width = screen_width - 50;
	}	
	
	top_pos = (screen_height/2) -  (the_height/2) - 30;
	if (top_pos < 0) {
		top_pos = 0;
	}
	left_pos = (screen_width/2) -  (the_width/2);
	var option = "toolbar="+the_toolbar+",location="+the_addressbar+",directories="+the_directories+",status="+the_statusbar+",menubar="+the_menubar+",scrollbars="+the_scrollbars+",resizable="+the_do_resize+",Width="+the_width+",Height="+the_height+",copyhistory="+the_copy_history+",left="+left_pos+",top="+top_pos;
	site=open('', the_name, option);
	site.location=the_url;
	
	if(site.open){
		site.focus();
	}
}

/**
 * Open Argenta website in nieuw venster met Bloemendal (T00074)
 */
function argenta_start() {

	argenta_open_window("http://tp.argenta.nl/default.aspx?referer=T00074", "Argenta", 1000, 710);
	return false;
}

function digitalepolismap_start(url) {
   window.open(url, "digitalepolismap");
    return false;
}

function covepa_start(url) {
   window.open(url, "covepa");
    return false;
}




