/*!
* iu-framework
* @version v3.1.45
*/
/*!
* IU Class Helper
* v3.0
* Adds JS class to html element
*/
(function (h) {
h.className = h.className.replace('no-js', 'js');
if (navigator.userAgent.indexOf("MSIE 9.0") == -1) {
h.className = h.className.replace('ie9', '');
};
}(document.documentElement));
(function($) {
$.fn.changeElementType = function(newType) {
var attrs = {};
$.each(this[0].attributes, function(idx, attr) {
attrs[attr.nodeName] = attr.nodeValue;
});
this.replaceWith(function() {
return $("<" + newType + "/>", attrs).append($(this).contents());
});
};
})(jQuery);
/*!
loadCSS: load a CSS file asynchronously.
[c]2014 @scottjehl, Filament Group, Inc.
Licensed MIT
*/
function loadCSS( href, before, media ){
"use strict";
// Arguments explained:
// `href` is the URL for your CSS file.
// `before` optionally defines the element we'll use as a reference for injecting our
// By default, `before` uses the first