function focusSearch(){document.forms['zoeken'].q.focus();}
function searchValidate(){
    var frm=document.forms['zoeken'];
    if(frm.q.value.length<1){
		if(confirm("Je hebt niks opgegeven, wil je toch doorgaan?")){
			return true;
		}else{
			return false;
		}
	}
}
function stA(){
  var req;
  if(window.XMLHttpRequest){
    req = new XMLHttpRequest();
  }else if(window.ActiveXObject){
    req = new ActiveXObject("Microsoft.XMLHTTP");
  }else{
    req = NULL;
  }
  return req;
}
function s(lid,ao){
	var xhttp=stA();
	xhttp.open("GET", "/ll.php?lid="+lid);
	xhttp.onreadystatechange = function(){
		if(xhttp.readyState == 4){
			if(xhttp.responseText=='ok'){
				top.location.href=ao.getAttribute('href');
			}else{
				top.location.href=xhttp.responseText;
			}
		}
	}
	xhttp.send(null);
}
function chk18(){top.location.href='http://www.langsstart.nl/pagina/18check/';}
function resetfav(){
document.cookie = "fav1=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav2=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav3=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav4=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav5=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav6=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav7=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav8=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav9=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "fav10=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
document.cookie = "name=;path=/;domain=langsstart.nl;expires=Thu, 01-Jan-1970 00:00:01 GMT";
alert('Persoonlijke instellingen verwijderd.');
top.location.href=top.location.href;
return false;
}