var color=getQuery("color");
var contact=getQuery("contact");
var qq=getQuery("qq");
var weixin=getQuery("weixin");
var tel=getQuery("tel");
document.writeln("");
document.writeln("
");
document.writeln("
");
document.writeln(" ");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln(" ");
document.writeln(" ");
document.writeln("
");
document.writeln("
");
document.writeln(qq);
document.writeln(" ");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln(" ");
document.writeln(" ");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln(" ");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln(" ");
document.writeln(" ");
document.writeln("
");
document.writeln("
");
document.writeln(" 咨询热线
");
document.writeln(tel);
document.writeln(" ");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
$('#top-back').hide();
$(window).scroll(function(){
if($(this).scrollTop() > 400){
$("#top-back").fadeIn();
}
else{
$("#top-back").fadeOut();
}
})
//置顶事件
function topBack(){
$('body,html').animate({scrollTop:0},300);
}
function getQuery(key)
{
var scripts=document.getElementsByTagName("script"),
script=scripts[scripts.length-1],
src=script.src;
return (src.match(new RegExp("(?:\\?|&)"+key+"=(.*?)(?=&|$)"))||['',null])[1];
}