//functie om tekst naar beginsituatie te zetten
function clearText(field)
{
	if (field.defaultValue == field.value)
	{
		field.value = "";
		field.style.fontStyle = "normal";
	}
}
//functie om de eventueel ingevoerde tekst te controleren
function checkText(field)
{
	if(field.value == "")
	{
		field.value = field.defaultValue;
		field.style.fontStyle = "italic";
	}
}

function getAgenda(maand, jaar, dir)
{
	$("#calendar_wrap").html("<div id=\"loading\"></div>");
	$("#calendar_wrap").load(dir+"includes/agenda.php?maand="+maand+"&jaar="+jaar+"&dir="+dir);
}
