// JavaScript Document
var hastyped = 0;
function clearWord() {
	if(hastyped == 0) {
		document.forms[0].q.value = "";
	}
}
function hasTyped () {
	hastyped = 1;
}
function restore() {
	if(hastyped == 0) {
		document.forms[0].q.value = "search";
	}
}