This Javascript validates the users input to the search-text, before submitting it to Google.
The pre-defined text (Google search) will disappear when the user clicks on the input box (onfocus). The text will be shown again, when the user clicks elsewhere (onblur).
Here is the javascript to be included between <head> and </head>:
<script type="text/javascript">
function Validering()
{
error = 0;
if((document.sform.q.value=='Google search' ) && (error==0))
{
alert('Please write a text for your search :-)');
document.sform.q.focus();
error = 1;
}