// WRITTEN 1/31/7 CMW
// MODIFIED 1/31/7 CMW
// 
//  INCLUDES PROTOTYPE.JS AND SCRIPTACULOUS.JS SCRIPTS
//  USE THIS ON EACH PAGE THAT REQUIRES THE ABOVE TWO SCRIPTS
//  THIS ALSO INCLUDES SUPPORTING FUNCTIONS THAT REFERENCE THE ABOVE, AS WELL
//
//

var Nursa = {
    
    include: function(library){
        document.write('<script type="text/javascript" src="'+library+'.js"></script>');
    },		
    
    path: "/scripts/",
    
    scripts: "prototype,scriptaculous",
    
    load: function(){
        var theScripts = Nursa.scripts.split(","); //array of the scripts to include
        var i = 0; // a counter variable
        for(i = 0; i < theScripts.length; i = i + 1){
            Nursa.include(Nursa.path+theScripts[i]);
        }
        
    }
};

Nursa.load();