$(function() {
//右侧滑块
var tag_txt="
";
tag_txt+="
";
tag_txt+="
";
tag_txt+="
";
tag_txt+="
";
tag_txt+=" ";
tag_txt+=" ";
tag_txt+="
";
tag_txt+="
+8675589808695
";
tag_txt+="
";
$(".footer").append(tag_txt);
$(".icon1b").hover(function(){
$(".icon1bb").toggle()
})
$(".nav li").hover(function(){
$(this).toggleClass("noww")
})
$(".fhdb").hover(function(){
$(".icon9b").toggleClass("icon9bnow")
$(".fhdbl").toggle()
})
$(".qq").hover(function(){
$(".icon9c").toggleClass("icon9cnow")
$(".qql").toggle()
})
$(".phone").hover(function(){
$(".icon9d").toggleClass("icon9dnow")
$(".phonel").toggle()
})
$('.fhdbl,.icon7').click(function() {
$('body,html').stop().animate({
'scrollTop': 0,
'duration': 100,
'easing': 'ease-in'
})
}); //回到顶部
w=$(window).width()
$(".icon7").css("right",(w-1200)/2-60)
//语言选择
var jSelect = $(".jsSelect");
$(jSelect).find("li:first").hover(function(){
$(".s").css("background","url(/images/68_60.png) 28px 0px no-repeat");
h=$(this).parent("ul").find("li").length;
$(this).parent("ul").css("height",28*h);
$(this).siblings("li:not(.s)").mouseenter(function(){
$(".s").css("background","url(/images/68_60.png) 28px 0px no-repeat");
$(this).css("background","#428bca")
});
$(this).siblings("li:not(.s)").mouseleave(function(){
$(this).css("background","#FFFFFF");
$(".s").css("background","url(/images/68_60.png) 28px -30px no-repeat");
});
$(this).parent(jSelect).mouseleave(function(){
$(this).css("height",28)
$(".s").css("background","url(/images/68_60.png) 28px -30px no-repeat");
});
});
$(jSelect).find("li:not(.s)").click(function(){
var cContent=$(jSelect).find("li:first").html();
var cdContent = $(this).html();
var localHref=window.location.href;
if(localHref!=""){
var arr = localHref.match(/(?:\w+)(?:\.(?:com|cn|net|org|name|biz|cc|info|tw|org|hk))+\S*/);
}
$(location).attr('href', "http://"+$(this).attr("id")+"."+arr);
$(jSelect).find("li:first").html(cdContent);
$(this).html(cContent);
$(this).find('a').removeClass('s');
$(this).find('a').removeAttr('style');
$(jSelect).find("li:first").addClass('s');
$(this).parent("ul").css("height",28);
$(".s").css("background","url(/images/68_60.png) 28px -30px no-repeat");
$(this).css("background","#FFFFFF");
});
$(".s").css("background","url(/images/68_60.png) 28px -30px no-repeat");
});
function countFlux(){
if(document.domain){
document.write("");
}
document.write("");
}