

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function open_helpwin(ganaar)
{
helpwin= window.open('unknown.html'+'#'+ganaar, 'helpwin', 'width=400,height=460,toolbar=yes,scrollbars=yes,menubar=no,resize=yes');
 if (window.focus) {helpwin.focus()}
}
function Sndmail(xa) { 
var StringArray = xa.split("|"); 
var ra = ""; 
for (var i = 0; i <= StringArray.length - 1; i++) { 
ra = ra + String.fromCharCode(StringArray[i]); 
} 
window.location.href = "mailto:" + ra; 
}


function Snd(xa) {
var ra = "";
for (var i = 0; i < xa.length; i+=2) { 
ra = ra + String.fromCharCode("0x"+xa.substring(i,i+2)); 
} 
window.location.href = "mailto:" + ra; 
}



var win01 = '';
var win02 = '';
var win03 = '';
var win04 = '';
var win05 = '';
var win06 = '';


function sluitalles(){
if (!win01.closed && win01.location){win01.close()}
if (!win02.closed && win02.location){win02.close()}
if (!win03.closed && win03.location){win03.close()}
if (!win04.closed && win04.location){win04.close()}
if (!win05.closed && win05.location){win05.close()}
if (!win06.closed && win06.location){win06.close()}

}

function pop01(){
	sluitalles()
	win01=window.open('foto2006/01bentjesdag-684.jpg','win01','height=479,width=694');
	if (!win01.opener){win01.opener = self}
	if (window.focus) {win01.focus()}
        return false;
	}
function pop02(){
	sluitalles()
	win02=window.open('foto2006/02bentjesdag-726.jpg','win02','height=425,width=736');
	if (!win02.opener){win02.opener = self}
	if (window.focus) {win02.focus()}
        return false;
	}
	
function pop03(){
	sluitalles()
	win03=window.open('foto2006/03bentjesdag-714.jpg','win03','height=427,width=724');
	if (!win03.opener){win03.opener = self}
	if (window.focus) {win03.focus()}
        return false;
	}
function pop04(){
	sluitalles()
	win04=window.open('foto2006/04bentjesdag-715.jpg','win04','height=500,width=725');
	if (!win04.opener){win04.opener = self}
	if (window.focus) {win04.focus()}
        return false;
	}
function pop05(){
	sluitalles()
	win05=window.open('foto2006/01hobovoorspeel-673.jpg','win05','height=450,width=683');
	if (!win05.opener){win05.opener = self}
	if (window.focus) {win05.focus()}
        return false;
	}
function pop06(){
	sluitalles()
	win06=window.open('foto2006/02hobovoorspeel-649.jpg','win06','height=463,width=659');
	if (!win06.opener){win06.opener = self}
	if (window.focus) {win06.focus()}
        return false;
	}



function popitup(url)
{
        if (!newwindow.closed && newwindow.location)
        {
                newwindow.location.href = url;
        }
        else
        {
                newwindow=window.open(url,'name','height=200,width=150');
                if (!newwindow.opener) newwindow.opener = self;
        }
        if (window.focus) {newwindow.focus()}
        return false;
}
