// ********* ********* ********* ********* *********
// Handler functions
// edit as you see fit
//
// PARM         DESCRIPTION
// obj          a reference to the DIV object
// y            year
// m            month
// d            day
// ********* ********* ********* ********* *********

function fscCellOnMouseDown(e, obj, y, m, d) {
};

function fscCellOnMouseOver(e, obj, y, m, d) {
};

function fscCellOnMouseOut(e, obj, y, m, d) {
};

function fscCellOnMouseUp(e, obj, y, m, d) {
};

function fscDeadCellP (y, m) {
        var viewDate = new Date ();
        var viewString = fscRequestQueryString ('scDate');
        if (viewString.length != 0) { viewDate = new Date (viewString); }
        var viewMonth = viewDate.getMonth();
        var viewYear =  viewDate.getYear();
        if (viewYear < 1900) { viewYear += 1900; }

        return ((viewYear != y) || (viewMonth != m));
}

// ********* ********* ********* ********* *********
// * event handlers for Date Number DIV
function fscNumberOnMouseDown(e, obj, y, m, d) {
};
function fscNumberOnMouseOver(e, obj, y, m, d) {
        var dte = new Date(y, m, d);

        if (fscDeadCellP (y, m)) {
            return;
        }

        if (obj.innerHTML.indexOf ("title=") == -1) {
            obj.innerHTML = "<span class='daily' title='"
                            + Year[m + 1][d] + "'>" + obj.innerHTML + "</span>";
        }
};
function fscNumberOnMouseOut(e, obj, y, m, d) {
};
function fscNumberOnMouseUp(e, obj, y, m, d) {
};

// ********* ********* ********* ********* *********
// * event handlers for Event DIV
function fscEventOnMouseDown(e, obj, y, m, d) {
};
function fscEventOnMouseOver(e, obj, y, m, d) {
};
function fscEventOnMouseOut(e, obj, y, m, d) {
};
function fscEventOnMouseUp(e, obj, y, m, d) {
};

// ********* ********* ********* ********* *********
// * miscellanous function
function fscCancelBubbling(e)
{
        if (!e) var e = window.event;
        e.cancelBubble = true;
        if (e.stopPropagation) e.stopPropagation();
};

