var d = document;
function checkFields() {
    var v = false;
    if(isEmpty(d.search.position) &&
       isEmpty(d.search.state))
        alertField("Please select a position and/or state.");
    else v = true;
    return v;
}