function fwgm_short_code($atts)
{
    ob_start();
    extract(shortcode_atts(array("name" => ''), $atts));
    fwbgm_front_show($name);
    show_lightbox($name);
    $output = ob_get_clean();
    return $output;
}
 function widget($args, $instance)
 {
     extract($args, EXTR_SKIP);
     echo $before_widget;
     $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
     $select_fwgm = esc_attr($instance['select_fwgm']);
     if (!empty($title)) {
         echo $before_title . $title . $after_title;
     }
     echo fwbgm_front_show($select_fwgm);
     echo show_lightbox($select_fwgm);
     echo $after_widget;
 }