function clickclear(thisfield, defaulttext, color) {

                if (thisfield.value == defaulttext) {

                               thisfield.value = "";

                               if (!color) {

                                               color = "000000";

                               }

                               thisfield.style.color = "#" + color;

                }

}

function clickrecall(thisfield, defaulttext, color) {

                if (thisfield.value == "") {

                               thisfield.value = defaulttext;

                               if (!color) {

                                               color = "999999";

                               }

                               thisfield.style.color = "#" + color;

                }

}


function clicksubmit() {
	var query = document.getElementById('zoekquery').value;
	document.getElementById("q").setAttribute("value",query);
	document.q.submit();
}