$(function(){
dataAnimate();
(function($,lanno){
if(lanno === "" || lanno === "default"){
return '';
}
$(".w-languege").each(function(){
$(this).find("a").each(function(){
if($(this).data("lanno") === lanno){
$(this).addClass("cur");
}else{
if($(this).hasClass("cur")){
$(this).removeClass("cur");
}
}
});
});
})(jQuery,"cn");
});
$(function(){if (isPC()) {$('div.position').addClass('a1');$('div.w-footer-in').addClass('footer-a1');} else {$('div.position').addClass('a2');$('div.w-footer-in').addClass('footer-a2');}});
function isPC() {var userAgentInfo = navigator.userAgent;console.log(navigator);var Agents = ["Android", "iPhone","SymbianOS", "Windows Phone","iPad", "iPod"];var flag = true;for (var v = 0; v < Agents.length; v++) {if (userAgentInfo.indexOf(Agents[v]) > 0) {flag = false;break;}}return flag;}