/*
 * Put convenience functions here
 */

function pkg(string) {
	var parts = string.split('.');
	var currentDepth = window;
	for(var i = 0; i < parts.length; i++) {
		if(typeof(currentDepth[parts[i]]) == 'undefined') {
			currentDepth[parts[i]] = {};
		}
		
		currentDepth = currentDepth[parts[i]];
	}
}
