﻿(function (window, doc, undefined) {
    var className = 'js';
    var isAppleDevice = navigator.userAgent.match(/iPad|iPhone/i) != null;
    if (isAppleDevice) {
        className += ' apple-device';
    }
    doc.documentElement.className = className;

})(this, this.document);

// load in fonts using google's font service
WebFontConfig = {
    custom: {
        families: ['TradeGothicLTStdBoldCondensed', 'TradeGothicLTStdCondensedNo.1'],
        urls: ['/Content/TradeGothicBold.css', '/Content/TradeGothic.css']
    }
};
(function () {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
            '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
})();
