var TabsOver = Class.create();
TabsOver.prototype = {
	initialize: function(idMenuTabs, idFramesWrapper, optionalParams) {
		optionalParams = optionalParams || {};
		this.disableTags = optionalParams.disableTags || false;
		this.appear = optionalParams.appear || false;
		this.firstActive = optionalParams.firstActive || 1;
		this.click = optionalParams.click || false;
		this.noresize = optionalParams.noresize || false;
		
		if (this.disableTags != false){
			this.disableTags = this.disableTags.join(", ");
		}
		
		$j("#"+idMenuTabs).parent().parent()
		.simpletabs({
			mouseover: !(this.click),
			activeTab: this.firstActive,
			noresize: this.noresize,
			hideTags: this.disableTags,
			navParent: $j("#"+idMenuTabs),
			framesParent: $j("#"+idFramesWrapper)
		});
	}
}