var wt_User = { status: "OFF"};var imOk = function(o) {	if(document.cookie.match(/DomAuthSessId|LtpaToken/))	{		document.getElementById("logon").style.display='none';		document.getElementById("loggedon").style.display='block';		location.href='http://www.apsitdiensten.nl/web/extranet/website.nsf/frameset';	} else {	 	wt_User.status="OFF";	 	alert("Logon is niet gelukt, probeer het opnieuw");	 	document.forms[0].Username.value="";	 	document.forms[0].Password.value="";	}	}var imBroken = function(o) {		wt_User.status="OFF";//	 	alert("Logon is niet gelukt\nFoutmelding is "+o.status+"-"+o.statusText+"\nProbeer het via\nhttp://www.apsitdiensten.nl/web/extranet/website.nsf/Frameset");	 	alert("Logon is niet gelukt");	 	document.forms[0].Username.value="";	 	document.forms[0].Password.value="";}var myCallBack = {	success:  imOk,	failure:  imBroken,	argument: {}}function logmein() {	var myForm = document.forms[0];	if(document.cookie.match(/DomAuthSessId|LtpaToken/)) {		alert("U bent al ingelogd");		return false;	}	nsfRoot="http://www.apsitdiensten.nl/web/extranet/website.nsf";	svrRoot="http://"+nsfRoot.split("/")[2];	logInUrl = svrRoot+"/names.nsf?login";	naam = myForm.Username.value;	pw = myForm.Password.value;	if(naam==""||pw=="") {		alert("Voer eerst een naam en wachtwoord in");		return false;	}	postData = "&username="+naam+"&password="+pw+"&redirectto="+svrRoot+"/login.txt";//	processMe = YAHOO.util.Connect.asyncRequest("POST",logInUrl,myCallBack,postData);	processMe = YAHOO.util.Connect.asyncRequest("GET",logInUrl+postData,myCallBack,null);	}function sendPW() {	var myForm = document.forms[0];	var win= null;	var breed = 350;	var hoog = 200;	var winl = (screen.width-breed)/2;	var wint = (screen.height-hoog)/2;	settings='height='+hoog+',width='+breed+',top='+wint+',left='+winl+',scrollbars=no,toolbar=no,location=no,status=no,menubar=no,resizable=no,dependent=no';	win=window.open('/wwverget.nsf/(ForgotPassword)?OpenForm&amp;RelCode='+myForm.Username.value, '' , settings);}