function urldecode(code){
code = decodeURI(code);
String.prototype.replaceAll = function(s1, s2) {
return this.replace(new RegExp(s1, "gm"), s2);
}
code = code.replaceAll('%3C','<');
code = code.replaceAll('%3E','>');
code = code.replaceAll('%3B',';');
code = code.replaceAll('%26','&');
code = code.replaceAll('%3F','?');
code = code.replaceAll('%3A',':');
code = code.replaceAll('%2F','/');
code = code.replaceAll('%3D','=');
code = code.replaceAll('%2B',' ');
code = code.replaceAll('%23','#');
code = code.replaceAll('%3b',' ');
return code;
}
var qq = urldecode('');
var mobile = urldecode('15076856000');
var pinpai = urldecode('-');
var qrcode = urldecode('');
var gcompany = urldecode('-');
var companymsn = urldecode('-');
var gtel = urldecode('15076856000');
$(function() {
var company = urldecode('-');
var uname = urldecode('%E7%94%B0%E5%A5%B3%E5%A3%AB');
var marginTop =0;
var bool=false;
setInterval(function(){
if(bool) return;
$(".infoList li:first").animate({marginTop:marginTop--},10,function(){
if(!($(this).is(":animated"))) {
if ((-marginTop) >= $(this).height()) {
$(this).css("margin", "0");
$(this).appendTo($(".infoList"));
marginTop = 0;
}
}
});
},100);
$(".infoList").mouseover(function(){
bool=true;
});
$(".infoList").mouseout(function(){
bool=false;
});
if($('.fixed').length != 0){
t = $('.fixed').offset().top;
mh = $('.main').height();
fh = $('.fixed').height();
$(window).scroll(function(e) {
s = $(document).scrollTop();
if (s > t - 760) {
$('.fixed').css('position', 'fixed');
$('.fixed').addClass('shadow');
if (s + fh > mh) {
$('.fixed').css('top', mh - s - fh + 'px');
} else {
$('.fixed').css('top', '0px');
}
} else {
$('.fixed').removeClass('shadow');
$('.fixed').css('position', '');
}
})
}
var address = urldecode('-');
var telphone = urldecode('15076856000');
var companymsn = urldecode('-');
var website = urldecode('http%3A%2F%2Fwww.jyjwy.com%2F');
var qrcode = urldecode('');
$('.company').html(company);
$('.mobile').html(mobile);
$('.uname').html(uname);
$('.telphone').html(telphone);
$('.address').html(address);
$('.website').html(website).attr('href',website);
$('.q1').html(qq);
$('.pinpai').html(pinpai);
$('.qq').attr('href','http://wpa.qq.com/msgrd?v=3&uin=' + qq + '&site=qq&menu=yes');
if(qrcode.length != 0 && qrcode.indexOf("http") !=-1){
$('.qrcode').attr('src',qrcode);
}else{
$(".fixed .nlist").height(300);
$('.qrcodebox').hide();
}$("#logo").css("background","url() 0 10px no-repeat");var banner1 = urldecode('%2Fuploads%2Fimage%2F210602010221.jpg');$('#b1').css('background-image','url(' + banner1 + ')');$('#m1').attr('src','/uploads/image/210602010221.jpg');var banner2 = urldecode('%2Fuploads%2Fimage%2F210602010213.jpg');$('#b2').css('background-image','url(' + banner2 + ')');$('#m2').attr('src','/uploads/image/210602010213.jpg');$('#tel').attr('href','tel:15076856000');
$('#sms').attr('href','sms:15076856000');
if(gcompany.length == 0){
$('.pagebottom_nr p').html('以上消息来自互联网,本网站不对以上信息真实性、准确性、合法性负责');
}else{
$('.pagebottom_nr p').html('版权所有:' + company + '提供服务,服务咨询热线:' + mobile + '
QQ:' + qq + ',联系人:'+uname+',地址:'+address+'');
}
});
var time = "";
var index = 1;
$(function () {
showimg(index);
$(".imgnum span").hover(function () {
clearTimeout(time);
var icon=$(this).text();
$(".imgnum span").removeClass("onselect").eq(icon-1).addClass("onselect");
$("#banner_img li").hide().stop(true,true).eq(icon-1).fadeIn("slow");
}, function () {
index=$(this).text() > 2 ? 1 :parseInt($(this).text())+1;
time = setTimeout("showimg(" + index + ")", 3000);
});
$("#goNext").on("click",function () {
clearTimeout(time);
showimg(index);
});
$("#goPrev").on("click",function () {
clearTimeout(time);
index -= 2;
if(index < 0)
index=2;
showimg(index);
});
});
function showimg(num) {
index = num;
$(".imgnum span").removeClass("onselect").eq(index-1).addClass("onselect");
$("#banner_img li").hide().stop(true,true).eq(index-1).fadeIn("slow");
index = index + 1 > 2 ? 1 : index + 1;
time = setTimeout("showimg(" + index + ")", 3000);
}
var strChar=['最佳','最具','最爱','最赚','最优','最优秀','最好','最大','最大程度','最高','最高级','最高档','最奢侈','最低','最低级','最低价','最底','最便宜','时尚最低价','最流行','最受欢迎','最时尚','最聚拢','最符合','最舒适','最先','最先进','最先进科学','最先进加工工艺','最先享受','最后','最后一波','最新','最新科技','最新科学','最','第一','中国第一','全网第一','销量第一','排名第一','唯一','第一品牌','唯一','独一无二','全国第一','遥遥领先','一流','一天','仅此一次','一款','最后一波','全国','大品牌','之一','国家级','国家级产品','全球级','宇宙级','世界级','顶级','顶尖','尖端','顶级工艺','顶级享受','高级','极品','极佳','绝佳','绝对','终极','极致','首个','首选','独家','独家配方','首发','全网首发','全国首发','首次','首款','全国销量冠军','国家级产品','国家领导人','填补国内空白','中国驰名','驰名商标','国际品质','大牌','金牌','名牌','王牌','领袖品牌','世界领先','遥遥领先','领导者','缔造者','创领品牌','领先上市','巨星','著名','掌门人','至尊','巅峰','奢侈','优秀','资深','领袖','之王','王者','冠军','史无前例','前无古人','永久','万能','祖传','特效','无敌','纯天然','100%','高档','正品','真皮','超赚','精准','老字号','特供','专供','专家推荐','免检','国家免检','无需国家质量检测','免抽检','领导人推荐','机关','机关推荐'];
function replaceStr(){
this.bodyBox=document.getElementsByTagName('body')[0];
this.bodyNode=this.bodyBox.getElementsByTagName("*");
this.nodePre=/[\s| ]*<[^<]+>/ig;
this.chPre = /[\u4e00-\u9fa5]+/ig;
this.stripPre = /<[^>]+>/ig;
this.runing();
}
//开始运行
replaceStr.prototype.runing=function(){
var srcPre=/\/tihuan\.js$/ig;
for(var i=0;i");
function msn(){
window.open(companymsn,"_blank");
}