var TOF = new Object();


// Create a namespace object for an application.
// Throws an alert if the namespace is already taken.
// ex. TOF.namespace("ConsRegistry") => creates TOF.ConsRegistry
TOF.namespace = function(str){
    if(! this[str]){
	this[str] = new Object();
    }
    else{alert(str + " name is already taken.");}
}
