Clients = Class.create();
Clients.prototype = {
	
	
	slider: null,
	loaded: false,

	initialize: function() {
	},
	
	close: function() {
		if (this.slider) this.slider.reset();
	},
	
	awake: function() {
		if (!this.slider) {
			this.slider = new ScrollArea('vertical','clients_content','clients_track','clients_handle');
		}
		this.slider.update();
	},
	
	load_content: function() {
		new Ajax.Updater('clients', 'parts/clients.php',{
			asynchronous: false,
			evalScripts: true
		});
		this.loaded = true;
	}

	
}

clients     = new Clients();
