function wp_design_map_and_places($attr, $content = null, $code = null)
    {
        $attrs = shortcode_atts(array('id' => '', 'lang' => ''), $attr);
        ob_start();
        wpdmp_print_map_b($attrs['id'], false, $attrs['lang'], true);
        ?>
		<script type="text/javascript">
			reload_map('<?php 
        echo $map;
        ?>
','map-front',false,'front');	
		</script>
		<?php 
        wpdmp_print_css_and_effects();
        $out = ob_get_contents();
        ob_end_clean();
        return $out;
    }
 function wpdmp_reload_map_callback()
 {
     $mapid = $_POST['mapid'];
     $mode = $_POST['mode'];
     ob_start();
     if ($mode == "backend_map_manager") {
         wpdmp_get_ref_points_help($mapid);
         wpdmp_print_map_b($mapid, true);
     } else {
         if ($mode == "backend_marker_manager") {
             wpdmp_print_map_b($mapid, false);
         } else {
             if ($mode == "backend_map_manager_google") {
                 wpdmp_print_map_manager($mapid, $mode);
             }
         }
     }
     $content = ob_get_contents();
     ob_end_clean();
     echo $content;
     die;
     exit;
 }