/**
 * JSON (JavaScript Class) for executing custom generic sites scripts.
 *
 * Scott Hall [squiz.net.au]
 * July 2010
 *
 * Modification history:
 * 
 * 2010-07-22: Scott Hall
 *             - File Creation.
 */

var ExampleCustomScriptsObject = {

    examplePropertyOne: '',
    examplePropertyTwo: 0,
    
    init: function() {
      
        // Use self to gain scope of parent object.
        var self = this;
        self.documentHasLoaded();
        
    }, // End init.
    
    /**
     * Script to execute on page load.
     */
    documentHasLoaded: function(){
        
        // Use self to gain scope of parent object.
        var self = this;
        
        jQuery(document).ready( function() {
                
            self.exampleFunction();
            
        }); // End jQuery document ready.
        
    }, // End documentHasLoaded.
    
    /**
     * Example function.
     */
    exampleFunction: function(){

        // Use self to gain scope of parent object. 
        var self = this;
        
    } // End exampleFunction.
    
}; // End ExampleCustomScriptsObject.

// Initialise custom generic sites scripts.
ExampleCustomScriptsObject.init();

