
function Habitat () {
	this.client_type = new ClientType ( this );
	this.swf = new SWF ( this );
	this.css = new CSS ( this );
	this.dimensions = new Dimensions ( this );
	return this;
}

Habitat.prototype.run_habitat = function () {
	this.cookies = new Cookies ( this );
	this.producer = new Producer ( this );
	this.directives = new Directives ( this );
}

Habitat.prototype.set_vis = function ( id, state ) {
	if( document.getElementById ) {
		var element = document.getElementById( id );
		if( element ) {
			element.style.visibility = state;
			return true;
		}
	}
	return false;
};

