/* headjs 1.03 */ /*! head.core - v1.0.2 */ (function(n,t){"use strict";function r(n){a[a.length]=n}function k(n){var t=new RegExp(" ?\\b"+n+"\\b");c.className=c.className.replace(t,"")}function p(n,t){for(var i=0,r=n.length;in?(i.screensCss.gt&&r("gt-"+n),i.screensCss.gte&&r("gte-"+n)):tt);u.feature("landscape",fe?(i.browserCss.gt&&r("gt-"+f+e),i.browserCss.gte&&r("gte-"+f+e)):h2&&this[u+1]!==t)u&&r(this.slice(u,u+1).join("-").toLowerCase()+i.section);else{var f=n||"index",e=f.indexOf(".");e>0&&(f=f.substring(0,e));c.id=f.toLowerCase()+i.page;u||r("root"+i.section)}});u.screen={height:n.screen.height,width:n.screen.width};tt();b=0;n.addEventListener?n.addEventListener("resize",it,!1):n.attachEvent("onresize",it)})(window); /*! head.css3 - v1.0.0 */ (function(n,t){"use strict";function a(n){for(var r in n)if(i[n[r]]!==t)return!0;return!1}function r(n){var t=n.charAt(0).toUpperCase()+n.substr(1),i=(n+" "+c.join(t+" ")+t).split(" ");return!!a(i)}var h=n.document,o=h.createElement("i"),i=o.style,s=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),c="Webkit Moz O ms Khtml".split(" "),l=n.head_conf&&n.head_conf.head||"head",u=n[l],f={gradient:function(){var n="background-image:";return i.cssText=(n+s.join("gradient(linear,left top,right bottom,from(#9f9),to(#fff));"+n)+s.join("linear-gradient(left top,#eee,#fff);"+n)).slice(0,-n.length),!!i.backgroundImage},rgba:function(){return i.cssText="background-color:rgba(0,0,0,0.5)",!!i.backgroundColor},opacity:function(){return o.style.opacity===""},textshadow:function(){return i.textShadow===""},multiplebgs:function(){i.cssText="background:url(//),url(//),red url(//)";var n=(i.background||"").match(/url/g);return Object.prototype.toString.call(n)==="[object Array]"&&n.length===3},boxshadow:function(){return r("boxShadow")},borderimage:function(){return r("borderImage")},borderradius:function(){return r("borderRadius")},cssreflections:function(){return r("boxReflect")},csstransforms:function(){return r("transform")},csstransitions:function(){return r("transition")},touch:function(){return"ontouchstart"in n},retina:function(){return n.devicePixelRatio>1},fontface:function(){var t=u.browser.name,n=u.browser.version;switch(t){case"ie":return n>=9;case"chrome":return n>=13;case"ff":return n>=6;case"ios":return n>=5;case"android":return!1;case"webkit":return n>=5.1;case"opera":return n>=10;default:return!1}}};for(var e in f)f[e]&&u.feature(e,f[e].call(),!0);u.feature()})(window); /*! head.load - v1.0.3 */ (function(n,t){"use strict";function w(){}function u(n,t){if(n){typeof n=="object"&&(n=[].slice.call(n));for(var i=0,r=n.length;ii;i++)e=b[i].split("="),g=e[0],h=e[1],"undefined"==typeof c[g]?c[g]=h:"string"==typeof c[g]?(c[g]=[c[g]],c[g].push(h)):c[g].push(h);return c}catch(k){return[]}}}}(window); var scroll_on = this.getParameters.parameters()["scroll"]; var jq_load = this.getParameters.parameters()["jq"]; var scrolltop_img_url = '//m.hairongxcl.com/'; if (window.jQuery) { var JV = parseInt(jQuery.fn.jquery.split('.').join('')); var DJC = JV > 172 ? "Running jquery greater than 1.7.2" : "current jquery version is 1.7.2 or less"; } else { if (typeof jQuery === "undefined") {head.js("//m.hairongxcl.com/m/_j/jquery/1.12.4/jquery.min.js"); head.js("//m.hairongxcl.com/m/_j/jquery/jquery-migrate-1.4.1.min.js"); } } head.js("//m.hairongxcl.com/m/_j/jquery.hoverIntent.minified.js"); head.js("//m.hairongxcl.com/m/_j/jquery-placeholder2/jquery.placeholder.min.js"); if (typeof scroll_on != 'undefined' && scroll_on != 'no'){head.js("//m.hairongxcl.com/m/_j/scrolltotop/scrolltopcontrol.js"); } head.ready(function() { jQuery(document).ready(function(){ jQuery.ajax({url:"//m.hairongxcl.com/_js/i_header_footer_2015/", dataType:"jsonp", jsonpCallback:"json_callbcak", retryLimit: 3, cache:true, success:function(data){ jQuery('body').append(data.elements.tc); }, error:function(xhr,textStatus,error){ console.log('Sorry, Something Wrong!') } }); }); });