private function loadFormatFromName($name) {
    	$format = null;


        switch ($name) {
        	case Pap_Settings::TEXT_BANNER_FORMAT_SETTING_NAME:
        		$format = Pap_Common_Banner_Text::getBannerFormat();
        		break;
            case Pap_Settings::IMAGE_BANNER_FORMAT_SETTING_NAME:
                $format = Pap_Common_Banner_Image::getBannerFormat();
                break;
            case Pap_Settings::FLASH_BANNER_FORMAT_SETTING_NAME:
                $format = Pap_Common_Banner_Flash::getBannerFormat();
                break;
        }


    	return $format;
    }