<!--
var stay = ";expires=Thu, 31-Dec-2008 00:00:00 GMT;";

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function findcookie(cn)
{
	var c = document.cookie
	var i

	while (c != '')
	{
		while (c.charAt(0) == ' ')
			c = c.substring(1, c.length)
		if (c.substring(0, cn.length + 1) == cn + '=')
		{
			c = c.substring(cn.length + 1, c.length)
			i = c.indexOf(';')
			if (i > -1)
				c = c.substring(0, i)
			return(unescape(c))
		}
		i = c.indexOf(';')
		if (i > -1)
			c = c.substring(i + 1, c.length)
		else
			break
	}
	return ""
}

function encode(what)
{
	var h = "0123456789abcdef";
	var a = ""
	var i
  	var p = ""

	for (i = 1; i < 255; i++)
		a += unescape("%" + h.charAt(i / 16) + h.charAt(i % 16));
	for (i = 0; i < what.length; i++)
		p += (i + "") + a.indexOf(what.charAt(i)) + a.charAt(i + 64)
	return(p)
}

function checkpass()
{
	var p = findcookie("FP")
	var tp

	if (p == "")
		return(true)
	tp = prompt("Voer het wachtwoord in waarmee u de gezinsvriendelijkheids instelling heeft beveiligd.", "");
	if (!tp)
		return(false)
	return(p == encodepass(tp))
}

function golink(p,l)
{
 if (p==1) {
  if (findcookie("favolink")) {
    ingave=prompt("Toets het gezinswachtwoord in en druk op OK om verbinding te maken met "+l+" (kosten ca. euro 0,69 per minuut).","");
	if (ingave==findcookie("favolink")) {
		document.location =l+".mxq";
	} else {
		alert ("Het ingegeven wachtwoord is onjuist, probeer het nogmaals.");
	}
  } else {
  	if (confirm(l.toUpperCase() + "\n\nDoor op de OK button te klikken geeft u aan dat\nu verbinding wilt maken met deze site.\nDeze snelle verbinding kost ca. 0,69 euro p/min.\nBeneden de 18 jaar moet je toestemming hebben van\nje wettelijke vertegenwoordiger om verder te gaan.\n\nKLIK OP   [ O K ]   VOOR SNELLE TOEGANG.")) {
		document.location =l+".mxq";
  	}
  }
 } else {
 	if (p==2)
 	{
		document.write ("<html><frameset rows='20,*' border=0>");
		document.write ("<frame  src='ms7531l.html' scrolling='no' noresize marginheight='0' marginwidth='0'>");
		document.write ("<frame src='http://www.ofp79cd.nl/versie29/link.asp?id="+l+"&lang=NL' scrolling='auto'>");
		document.write ("</frameset></html>");
		document.close();
	}
	else
	{
		document.write ("<html><frameset rows='20,*' border=0>");
		document.write ("<frame  src='ms7531l.html' scrolling='no' noresize marginheight='0' marginwidth='0'>");
		document.write ("<frame src='http://www.ofp79cd.nl/versie29/extlink.asp?id="+l+"&lang=NL' scrolling='auto'>");
		document.write ("</frameset></html>");
		document.close();		
	}
 }
}

function gosexy()
{
	if (findcookie("favolink")) {
	  ingave= (prompt("De volgende links zijn ongeschikt voor minderjarigen en afgeschermd met een wachtwoord. Voer uw wachtwoord in:",""));
		if (ingave==findcookie("favolink")) {
			document.location="ms7531e.html";
		} else {
			alert ("De gezinsbeveiliging is ingeschakeld. Het opgegeven wachtwoord is niet juist.");
		}
	} else {
	  var leeftijd =0;
	  leeftijd= (prompt("Let op! De volgende links zijn ongeschikt voor minderjarige bezoekers.\nVoer uw geboortejaar in om verder te gaan.",""));
	  
	  if (leeftijd < 1880) leeftijd = 2001;
	  
	  leeftijd=2001-leeftijd;
		if (leeftijd>17) {
			document.location="ms7531e.html";
		} else {
			alert ("Deze links zijn ongeschikt voor minderjarigen. U bent " + leeftijd + ". ");
		}
	}
}

function securelink()
{
if (findcookie("favolink")) {
	// cookie staat al, uitschakelen?
	ingave=prompt("De gezinsbeveiliging is ingeschakeld. Voer nogmaals uw wachtwoord in om de gezinsbeveiliging uit te schakelen:","")
	if (ingave==findcookie("favolink")) {
		document.cookie = "favolink=" + stay;
		alert ("De gezinsbeveiliging is uitgeschakeld. Betaallinks en het erotiekgedeelte zijn nu zonder wachtwoord toegankelijk.");
	} else {
		alert ("Het opgegeven wachtwoord is niet correct. De gezinsbeveiliging is NIET uitgeschakeld.");
	}
} else {
	// beveiliging inshakelen
	ingave=prompt("Voer een wachtwoord in om betaallinks en het erotiekgedeelte af te schermen. Schrijf dit wachtwoord op!","")
	if (ingave) {
		document.cookie = "favolink=" + ingave + stay;
		alert ("De gezinsbeveiliging is ingeschakeld. Uw wachtwoord is: " + ingave);
	} else {
		alert ("U heeft geen geldig wachtwoord opgegeven. De gezinsbeveiliging is NIET ingeschakeld.");
	}
}
}

function getsite() {
	parameters = location.search;
	pos = parameters.indexOf("?")+1;
	return parameters.substr(pos, (parameters.length-pos))
}

function whatsnow() {
	var nu = new Date();
	document.write(nu.getDate() + '-' + (nu.getMonth()+1) + '-' + nu.getYear());
}

function euro(){
	window.open("http://www.startplaza.nl/eurocalc.html","euro",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=210,height=230');
}

function wereldklok(){
	window.open("http://meteonet.nl/diversen/wrldklok.htm","klok",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=620,height=430');
}

function wRekenmachine(){
	window.open("http://www.startplaza.nl/handig/rekenmachine.htm","rekenmachinewindow",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=240,height=235');
}

function today()
{
	var nu = new Date();
	var maand="";
	if (nu.getMonth()==0)
				maand ='januari';
	if (nu.getMonth()==1)
				maand ='februari';
	if (nu.getMonth()==2)
				maand ='maart';
	if (nu.getMonth()==3)
				maand ='april';
	if (nu.getMonth()==4)
				maand ='mei';
	if (nu.getMonth()==5)
				maand ='juni';
	if (nu.getMonth()==6)
				maand ='juli';
	if (nu.getMonth()==7)
				maand ='augustus';
	if (nu.getMonth()==8)
				maand ='september';
	if (nu.getMonth()==9)
				maand ='oktober';
	if (nu.getMonth()==10)
				maand ='november';
	if (nu.getMonth()==11)
				maand ='december';
	document.write(nu.getDate() + ' ' + maand + ' ' + nu.getYear());	
}

function eurocalc() {
	var euroval = document.bla.euro.value;
	var hflval = document.bla.hfl.value;
		
	if (euroval == '') {
		if (hflval == '') {
			alert("U heeft niks ingevuld, probeer het nogmaals");
		} else {
			document.bla.euro.value = String(parseFloat(hflval)/2.203);
		}
	} else {
		if (hflval == '') {
			document.bla.hfl.value = String(parseFloat(euroval)*2.203);
		} else {
			alert("U mag slechts 1 van de 2 velden invullen, EURO of HFL. Probeer het nogmaals");
		}
	}
}

function MM_displayStatusMsg(msgStr) {
  status=msgStr;
  document.MM_returnValue = true;
}


document.onmouseover = hideit;
document.onmouseout = hideit;

function hideit()
{
 window.status='24Web Internetgids.'
 return true
}

function openFaq(theURL,winName,features) { //v2.0
  var win = window.open('/faq.htm','faq','width=350,height=420, scrollbars=yes, resizable=no, toolbar=no');
  win.focus();
  }
  
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function checkReferrer(){
  if (document.referrer) {
    sethomepage();
    }
  }

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

//-->
