/* Js for , Version=1776181079 */
 var config={"webRoot":"\/","cookieLife":30,"cookiePath":"\/","requestType":"PATH_INFO","requestFix":"-","moduleVar":"m","methodVar":"f","viewVar":"t","defaultView":"html","themeRoot":"\/theme\/","currentModule":"company","currentMethod":"index","clientLang":"en","requiredFields":"","save":"Save","router":"\/index.php","runMode":"front","langCode":""}
;if(typeof(v) != "object") v = {};v.theme = {"template":"default","theme":"wide","device":"desktop"};;v.lang = {"confirmDelete":"Do you want to delete it?","deleteing":"Deleting","doing":"Doing","loading":"Loading","updating":"Updating","timeout":"Timeout. Please try it again.","errorThrown":"<h4> Error <\/h4>","continueShopping":"Continue shopping","required":"Required","back":"Back","continue":"Continue","bindWechatTip":"Posting sets the limit for binding WeChat. Please bind WeChat user first.","importTip":"Old layout data will be replaced","fullImportTip":"Old article, product, layout data will be replaced and import test data"};;var url = config.webRoot+'file.php?f=source/default/wide/';
var url_s = '.jpg&t=jpg&o=source&s=&v=1648134235';
if(v.categoryID == '7' ){
    var image = url + '15' + url_s;
    var alt = 'News';
    printPic(image,alt);
}else if( v.categoryID == '8'){
    var image = url + '9' + url_s;
    var alt = 'Cases';
    printPic(image,alt);
}else if( v.categoryID == '1'){
    var image = url + '18' + url_s;
    var alt = 'Beeswax';
    printPic(image,alt);
}else if(config.currentModule == 'message' && config.currentMethod == 'index'){
    var image = url +'wzly.jpg';
    var alt = '在线询价';
    printPic(image,alt);
}else if(config.currentModule == 'company' && config.currentMethod == 'index'){
    var image = url + '12' + url_s;
    var alt = 'About Us';
    printPic(image,alt);
}

function printPic(img,alt){
    var html ='';
    html += "<div class='Beehive_Category'>";
    html += "<img src='"+image+"' alt='"+alt+"'>";
    html += "</div>";
    if(config.currentModule == 'blog'){
        $('#blogNav').after(html);
    }else{
        $('.page-wrapper').before(html);
    }
}
;
var hash = window.location.hash.substring(1);
var browserLanguage = navigator.language || navigator.userLanguage; 
var resolution      = screen.availWidth + ' X ' + screen.availHeight;
$.get(createLink('log', 'record', "hash=" + hash), {browserLanguage:browserLanguage, resolution:resolution});
