Drupal.behaviors.atFontSwitch = {} || Drupal.behaviors.atFontSwitch;
(function ($) {
  Drupal.behaviors.atFontSwitch = {
    attach: function (context) {
      var osString = navigator.appVersion;
      if (osString.search('Windows') > 0) {
        $.each(Drupal.settings.atFontSwitch, 
          function() {
            $(this.selector).css({'font-family' : this.font});
          }
        );
        var fn = window['customAtFontSwitch'];
          if (typeof(fn) === 'function') {
            fn();
          }
        // hack leo
        $('#views_slideshow_cycle_main_front_page_categories-block_1 .views-field-nothing span').css({'font-weight' : 'bold', 'font-size' : '14px'});
        }
      }
    }
})(jQuery);
