/*
 * Base on: platformSelector: a jQuery plugin
 *
 * For full documentation, visit:
 * http://github.com/alexrabarts/jquery-platformselector
 *
 */

(function ($) {
	 function t(str, test) { return str.indexOf(test) !== -1; }
	function uaIs(test) { return t(ua, test); }
	
	var ua = navigator.userAgent.toLowerCase();
	
 var os =
    (uaIs('x11') || uaIs('linux')) ? 'linux' :
    uaIs('mac')                    ? 'mac'   :
    uaIs('win')                    ? 'win'   : '';

 $(function () {
    //html.removeAttr('class');
    $('body').addClass(os);
  });
})(jQuery);
 
 
