var blankRe = /^\W*$/i;

function isBlank(val)
{
    if (val.search(blankRe) != -1)
    {   
        return true;
    }
    return false;
}
