
	defaultStatus=("Michel Kroon punt NL");

function checkForm() {
	if (document.frm_react.naam.value=="") {
		window.alert ("Vul aub een naam in!");
		return false;
	}
	if (document.frm_react.bericht.value=="") { 
		window.alert ("Vul aub een bericht in!");
		return false;
	}
}

plus = new Image(); plus.src = "images/plus.gif"
min = new Image(); min.src = "images/min.gif"

function toggle(img, node) {
	var target = document.getElementById(node);
	var arrow = node + "_arrow";
	var target2 = document.getElementById(arrow);

	  if (target.style.display == "none") {
		  target.style.display = "block";
		  target2.src  = min.src;
		  document.cookie = node + "_arrow=1";
	  } else {
		  target.style.display = "none";
		  target2.src  = plus.src;
		  document.cookie = node + "_arrow=0";
	 }
}

function telLink(link) {
	JQ.get('http://www.michelkroon.nl/tellink.php?link='+link)
}
