//JottWeb.Master client side code.

function OnLoad()
{
    //init the hidden div that contains the clients local time.
    var e = document.getElementById('ctl00_ctl00_ClientLocalTime');
    if (e)
    {
        e.value 
    }
}
WindowOnLoad(OnLoad);

var g_isSearchDefault = true;
function tbSearch_onfocus(object)
{
    if (g_isSearchDefault)
    {
        ClearField(object.id);
        g_isSearchDefault = false;
    }
    return true;
}

function bSearch_onclick(object)
{
    var e = document.getElementById('ctl00_ctl00_tbSearch');
    if (e && e.value && e.value != 'Search')
    {
        return true;
    }
    else 
    {
        return false;
    }
}