function validateForm()
{
    var x=document.forms["searchForm"]["q"].value;
    if (!x || /^\s*$/.test(x))
        return false;
}
