function getCMSFields_forPopup() {
		$fields = new FieldSet();
		
	//	$tabset = new HorizontalTabSet('Root');
	//	$tabset->push(new Tab('Main'));
	//	$tabset->push(new Tab('Formats'));
	//	$fields->push($tabset);
		
		$fields->push(new TextField('Title', 'Video Title'));

		
		$fields->push($blurbField = new SimpleTinyMCEField('Blurb'));
		$config = HtmlEditorConfig::get_active();
		$contentCSS = $config->getOption('content_css');
		// hack!
		$contentCSS = '/'.str_replace(', ', ', /', $contentCSS);
		$blurbField->setContentCSS($contentCSS);
		$blurbField->setExtraOptions("body_class : 'typography'");
		
		$fields->push(new ImageField('Poster', 'Poster Image'));
		
		
		
		
		$videoManager = new FileDataobjectManager(
			$this, // Controller
			'VideoFormats', // Source name
			'MediaElementVideoFormat', // Source class
			'Attachment',
			array(
				'Type' => 'Type',
				'LinkifiedLink' => 'Link'
			), // Headings 
			'getCMSFields_forPopup' // Detail fields (function name or FieldSet object)
			// Filter clause
			// Sort clause
			// Join clause
		);
		$videoManager->setPluralTitle('Formats');
		$videoManager->setAddTitle('Format');
	//	$videoManager->setWideMode(true);
		$videoManager->setPopupWidth(600);
		$videoManager->setDefaultView('list');
		$fields->push($videoManager);
//		$fields->push($videoManager);
		
		return $fields;
	}
 public static function set_default_extra_options($value)
 {
     self::$default_extra_options = $value;
 }