/** Sets the Array with tab names (must be alphanumeric). If a key is a string, 
	* it will be used als the tab label (must be HTML)
	* If the value is an array, it should start with the tab name at index 0,
	* followed by the getPart parameters. The array will be replaced by the tab name
	*/
	function setTabsSpec($tabsSpec) {
		$this->tabsSpec = is_string($tabsSpec)
			? explode(',', $tabsSpec)
			: $tabsSpec;
		
		$this->contentParts = array();
		$this->processPartArgumentsConvertTabsSpec();
		
		//make sure selection is valid
		if (!in_array($this->selected, $this->tabsSpec))
			$this->selected = current($this->tabsSpec);
	}