

function ModController(sf) {
	
	var selfName = sf;
	var modArray = Array();
	var movieArray = Array();
	
	
	this.addModerator = function(obj) {
		modArray.push(obj);
	}
	
	this.closeAllMod = function() {
		
		for(var i=0; i < modArray.length; i++) {
			try {
				modArray[i].moderationNextStep(false, true);
			}catch(e){}
		}
	}
	
	this.addMovie = function(obj) {
		movieArray.push(obj);		
	}
	
	this.stopAllMovies = function() {
		for(var i=0; i < movieArray.length; i++) {
			try {
				movieArray[i].sendEvent('STOP');
			}catch(e){}
		}
	}		
	
}