﻿/// <reference path="jquery-1.4.1.js" />
/// <reference path="jquery.validate.js" />

$(function () {
    var $disable_cufon = jQuery("meta[name=disable_cufon]").attr('content');

    if ($disable_cufon != 'true') {
        Cufon.replace('h1,h2,h3,h4,h5,#blurb,#site_name,#intro_blurb_title,.dropcap1', { hover: 'true' });

        var userAgent = navigator.userAgent.toLowerCase();
        // Is this a version of IE?
        if (jQuery.browser.msie) {
            var $ieVersion = jQuery.browser.version.substring(0, 1);
            if ($ieVersion == 7) {
                jQuery("#intro_blurb_title span").css({ paddingTop: "8px" });
                jQuery(".dropcap1").css({ paddingTop: "0px" });
            }
        }
    }

});
