function ufront_js()
 {
     $variables = array('url' => admin_url('admin-ajax.php'));
     $themeopt = new uwpqsfclass();
     $themeops = $themeopt->uwpqsf_theme();
     $themenames = $themeopt->uwpqsf_theme_val();
     if (isset($themenames)) {
         foreach ($themeops as $k) {
             if (in_array($k['themeid'], $themenames)) {
                 wp_register_style($k['themeid'], $k['link'], array(), 'all');
                 wp_enqueue_style($k['themeid']);
             }
             wp_enqueue_script('uwpqsfscript', plugins_url('/scripts/uwpqsfscript.js', __FILE__), array('jquery'), '1.0', true);
             wp_localize_script('uwpqsfscript', 'ajax', $variables);
         }
         // end foreach
     }
     //end if
 }