(function(j){var c=j.documentElement,f={screens:[320,480,640,768,1024,1280,1440,1680,1920],section:"-section",page:"-page",head:"head"},g=[];if(window.head_conf){for(var l in head_conf){if(head_conf[l]!==undefined){f[l]=head_conf[l]}}}function i(m){g.push(m)}function k(m){var n=new RegExp("\\b"+m+"\\b");c.className=c.className.replace(n,"")}function h(m,o){for(var n=0;n<m.length;n++){o.call(m,m[n],n)}}var e=window[f.head]=function(){e.ready.apply(null,arguments)};e.feature=function(o,n,m){if(!o){c.className+=" "+g.join(" ");g=[];return}if(Object.prototype.toString.call(n)=="[object Function]"){n=n.call()}i((n?"":"no-")+o);e[o]=!!n;if(!m){k("no-"+o);k(o);e.feature()}return e};var b=navigator.userAgent.toLowerCase();b=/(webkit)[ \/]([\w.]+)/.exec(b)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(b)||/(msie) ([\w.]+)/.exec(b)||!/compatible/.test(b)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(b)||[];if(b[1]=="msie"){b[1]="ie"}i(b[1]);e.browser={version:b[2]};e.browser[b[1]]=true;if(e.browser.ie){for(var d=3;d<11;d++){if(parseFloat(b[2])<d){i("lt-ie"+d)}}}h("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),function(m){j.createElement(m)});h(location.pathname.split("/"),function(o,n){if(this.length>2&&this[n+1]!==undefined){if(n){i(this.slice(1,n+1).join("-")+f.section)}}else{var p=o||"index",m=p.indexOf(".");if(m>0){p=p.substring(0,m)}c.id=p+f.page;if(!n){i("root"+f.section)}}});function a(){var m=window.outerWidth||c.clientWidth;c.className=c.className.replace(/ (w|lt)-\d+/g,"");i("w-"+Math.round(m/100)*100);h(f.screens,function(n){if(m<=n){i("lt-"+n)}});e.feature()}a();window.onresize=a;e.feature("js",true).feature()})(document);(function(){var el=document.createElement("i"),style=el.style,prefs=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),domPrefs="Webkit Moz O ms Khtml".split(" "),head_var=window.head_conf&&head_conf.head||"head",api=window[head_var];function testProps(props){for(var i in props){if(style[props[i]]!==undefined){return true}}}function testAll(prop){var camel=prop.charAt(0).toUpperCase()+prop.substr(1),props=(prop+" "+domPrefs.join(camel+" ")+camel).split(" ");return !!testProps(props)}var tests={gradient:function(){var s1="background-image:",s2="gradient(linear,left top,right bottom,from(#9f9),to(#fff));",s3="linear-gradient(left top,#eee,#fff);";style.cssText=(s1+prefs.join(s2+s1)+prefs.join(s3+s1)).slice(0,-s1.length);return !!style.backgroundImage},rgba:function(){style.cssText="background-color:rgba(0,0,0,0.5)";return !!style.backgroundColor},opacity:function(){return el.style.opacity===""},textshadow:function(){return style.textShadow===""},multiplebgs:function(){style.cssText="background:url(//:),url(//:),red url(//:)";return new RegExp("(url\\s*\\(.*?){3}").test(style.background)},boxshadow:function(){return testAll("boxShadow")},borderimage:function(){return testAll("borderImage")},borderradius:function(){return testAll("borderRadius")},cssreflections:function(){return testAll("boxReflect")},csstransforms:function(){return testAll("transform")},csstransitions:function(){return testAll("transition")},fontface:function(){var ua=navigator.userAgent,parsed;if(
/*@cc_on@if(@_jscript_version>=5)!@end@*/
0){return true}if(parsed=ua.match(/Chrome\/(\d+\.\d+\.\d+\.\d+)/)){return parsed[1]>="4.0.249.4"}if((parsed=ua.match(/Safari\/(\d+\.\d+)/))&&!/iPhone/.test(ua)){return parsed[1]>="525.13"}if(/Opera/.test({}.toString.call(window.opera))){return opera.version()>="10.00"}if(parsed=ua.match(/rv:(\d+\.\d+\.\d+)[^b].*Gecko\//)){return parsed[1]>="1.9.1"}return false}};for(var key in tests){if(tests[key]){api.feature(key,tests[key].call(),true)}}api.feature()})();
