(function(){
    //the DC Namespace
	//this technique (and library elements) is derived from:
	//'AdvancED DOM scripting' by Jeffrey Sambells, Aaron Gustafson
    //declare a new object called DC in the windows object
    if(!window['DC']) {window['DC'] = {};
        }


function capitalise(str)
    {
	//extract the first letter of str
	var letter = str.substr(0,1);
	//return letter capitalised concatonated with
	//str minus it's first letter
	return letter.toUpperCase() + str.substr(1);
    }

//create the interface
window['DC']['capitalise'] = capitalise;
//FUNCTION END
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------

})();