/* Js for , Version=1754087177 */ v.theme = {"template":"mobile","theme":"default","device":"mobile"};;placefe8d23ec8f58618de6ecedfa4d768c81='IDLIST_PLACEHOLDERIDLIST_PLACEHOLDER';;v.pageLayout = "global";;$(function() { var $body=$(document).find('body'); $('#block27').on('touchstart','.panel-heading',function(e){ if($body.find('.sant-modal').length==0){ $('#block27').addClass('active enter-from-left'); $body.append("
"); } return false; }); $(document).find('body').on('touchstart','.sant-modal',function(e){ $('#block27').removeClass('active'); $(this).css('opacity',"0"); var _this=$(this); setTimeout(function(){_this.empty().remove();},300);//½â›QÒÆ„Ó¶Ëüc“ô´©Í¸†–î} }); }); ;$(function() { /* Set current active topNav. */ var hasActive = false; if(v.categoryID > 0 && $('.nav-product-' + v.categoryID).length >= 1) { hasActive = true; $('.nav-product-' + v.categoryID).addClass('active'); } if(v.categoryPath && v.categoryPath.length) { $.each(v.categoryPath, function(index, category) { if(!hasActive) { if($('.nav-product-' + category).length >= 1) hasActive = true; $('.nav-product-' + category).addClass('active'); } }); } else if(v.path && v.path.length) { $.each(v.path, function(index, category) { if(!hasActive) { if($('.nav-product-' + category).length >= 1) hasActive = true; $('.nav-product-' + category).addClass('active'); } }); if(!hasActive) $('.nav-product-0').addClass('active'); } if(v.categoryID !== 0) $('#category' + v.categoryID).parent().addClass('active'); }) ; var logLink = "/log-record.mhtml"; var browserLanguage = navigator.language || navigator.userLanguage; var resolution = screen.availWidth + ' X ' + screen.availHeight; $.get(logLink, {browserLanguage:browserLanguage, resolution:resolution});