
    /* JAVASCRIPT FRAMEWORK - framework.js */
    /* Copyright (c) 1999-2009, Balfre.com. All rights reserved. */
    /* Code licensed under the BSD License: */
    /* http://balfre.com/#/license.txt */
    /* version: 1.0.0 */

    /* GENERAL FRAMES BUSTER */

    if (top.location != location) {top.location.href = location.href;}

    /* SITE SPECIFIC STATUS BAR MESSAGE */

    if (typeof site_message=="undefined") {site_message = "Welcome to our web site";}
    window.defaultStatus = site_message ;

    /* CLIENT DATE VARIABLES AND FUNCTIONS */

    theday = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday") ;
    themonth = new Array("January","February","March","April","May","June","July","August","September","October","November","December") ;
    thesuffix = new Array("","st","nd","rd","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st") ;
    thisday = new Date() ;
    var theyear = (thisday.getYear()<1900?thisday.getYear()+1900:thisday.getYear()) ;
    var thedate = theday[thisday.getDay()]+' '+thisday.getDate()+thesuffix[thisday.getDate()]+' '+themonth[thisday.getMonth()]+' '+ theyear+'' ;

    function showyear() { document.write(theyear); }
    function showdate() { document.write(thedate); }

    /* MAILTO FUNCTION */

    function showlink(person,display)
    {
        var domain = "schrs.com" ;
        var atsign = "@" ;
        var addr = person + atsign + domain + subj + bod ;
        var subj = "?subject=Information%20request%20from%20the%20web%20site" ;
        var bod = "&body=Please%20type%20your%20message%20here" ;

        document.write("<" + "a" + " c" + "lass" + "=em" + "ail " + "href=" + "mail" + "to:" + addr + ">" + display + "<\/a>") ;
    }

    /* END OF FILE */
