// JavaScript Document

/* kcwcinc.com 2007 default.js

    



        Abstract:

            This javascript library froms the main framework of javascript behaviors.



        Contents:

            - onLoad Event Loader

            - Additional JavaScript Libraries to be included



        Revision History:

            1.0.2006.12.00 JL    -   Removed resizing function

            1.0.2006.10.00 JL    -   Original Release

*/



var hasInnerText = (document.getElementsByTagName("body")[0].innerText != undefined) ? true : false;



/* --- onLoad EVENTS ------------------------------------------------------------------------------------------------------------ */



// onLoad addLocalEvent function by Simon Willison (http://simon.incutio.com/archive/2004/05/26/addLoadEvent)

function addLoadEvent(func) {

    var oldonload = window.onload;

    if (typeof window.onload != 'function') {

        window.onload = func;

       } else {

        window.onload = function() {

            if (oldonload) {

                oldonload();

                }

            func();

            }

        }

    }



addLoadEvent(function() {

    });
