function Init()
	{
	myCookie = document.cookie;
//	alert(myCookie);
	pos =myCookie.indexOf("naam=");
	if (pos != -1)
		{
		naam = myCookie.substring(pos + 5,myCookie.length);
		pos = naam.indexOf(";");
		if (pos != -1)
			{
			myCookie = naam;
			naam = myCookie.substring(0,pos);
			}
		pos = naam.indexOf("%");
		if (pos != -1)
			{
			myCookie = naam;
			naam = myCookie.substring(0,pos);
			}
		this.myform.logon_id.value = naam;
		this.myform.password.focus();
		}
	else
		{
		this.myform.logon_id.focus();
		}
	return false;
	}
	
function Init2()
	{
	this.myform.oldpass.focus();
	return false;
	}
	
function SetCookie()
	{
	naam = document.myform.logon_id.value;
	if (naam == "")
		{
		return;
		}
	today = new Date();
	myExpireTime = new Date();
	myExpireTime.setTime(today.getTime() + (365 * 24 * 60 * 60 * 1000));
	myExpire = "; expires=" + myExpireTime.toGMTString();
	myCookie = "naam=" + escape(naam) + myExpire;
	document.cookie = myCookie;
	}
	
function DoSelection(myform,tourl)
	{
	mnd = myform.options[myform.selectedIndex].value;
	urlloc = tourl + "&Selectie=" + mnd;
	this.location.href=urlloc;
	}
