// JavaScript Document// JavaScript Documentfunction srchWhat(){	if (document.frmSearch.which[0].checked == true)	{		document.frmSearch.q.name = 'q';		document.frmSearch.action = '';		document.frmSearch.method = 'get';	}	if (document.frmSearch.which[1].checked == true)	{		document.frmSearch.q.name = 'last';		document.frmSearch.action = '';		document.frmSearch.method = 'post';	}	return true;}function checkValue(thisForm) {	if (thisForm.q.value=="  || thisForm.q.value == " firstname lastname" || thisForm.q.value == "")    			return false;	else		return true;}function focusClearInput(inputObject) {    var hasBeenFocused = inputObject.getAttribute("hasBeenFocused") != null;        if (!hasBeenFocused) {        inputObject.setAttribute("hasBeenFocused", "true");        inputObject.style.color = "#000000";        inputObject.value = "";        var thisForm = inputObject.form;        for (ii = 0;  ii < thisForm.elements.length; ii++) {            if (thisForm.elements[ii].type == "submit"){                thisForm.elements[ii].disabled = false;            }        }	    }                                }function setFocus () {	document.frmSearch.q.focus();}