"
//导航1
str+="
"
//导航2
str+="
"
str+="

"
str+="
"
str+="
"
//名片
str+="
"
//聊天窗口
document.write("
发消息给深圳宝安鹏城废品回收有限公司
")
document.write("")
document.write("
");
suspendcode14=str
document.write(suspendcode12);
document.write(suspendcode14);
window.setInterval("heartBeat()",1);
//导航切换
$(document).ready(function(){
$("#vv_daohang1").click(function(){
$("#vv_daohang1").hide(300,function(){$("#vv_daohang2").show(100);});
});
//导航切换2
$("#vv_daohang_qh2").click(function(){
$("#vv_mingpian").hide();
$("#vv_daohang2").hide(300,function(){$("#vv_daohang1").show(100);});
});
//名片切换
$("#vv_mingpian_qh1").click(function(){
$("#vv_mingpian").toggle();
});
//名片关闭
$("#vv_mingpian_guanbi").click(function(){
$("#vv_mingpian").toggle();
});
var vv_i;
vv_i=0
//聊天切换
$("#vv_liaotian_qh").click(function(){
if(vv_i==0)
{
$("#vv_iframe",parent.document.body).attr("src","http://v.sonhoo.com/new_hikefu.aspx?u=pcfphs&sjs=24147287");
vv_i=1;
$("#vv_liaotian_windows").show();
}
else
{
vv_i=0
$("#vv_iframe",parent.document.body).attr("src","");
$("#vv_liaotian_windows").hide();
}
});
//关闭聊天窗口
$("#vv_xiaoxi_guanbi").click(function(){
$("#vv_liaotian_windows").hide();
});
});
//切换显隐聊天窗口
function qh_xiaoxi()
{
$("#vv_iframe",parent.document.body).attr("src","http://v.sonhoo.com/new_hikefu.aspx?u=pcfphs&sjs=24147287");
vv_i=1;
$("#vv_liaotian_windows").show();
};
//弹出留言
function vv_tt_001(){
$("#vv_card").toggle();
};
//关闭留言框
function vv_tt_close(){
$("#vv_name")[0].value='';
$("#vv_phone")[0].value='';
$("#vv_mobile")[0].value='';
$("#vv_qymc")[0].value='';
$("#vv_email")[0].value='';
$("#vv_card").hide();
};
function vv_tt_tj()
{
if($("#vv_name")[0].value=='')
{
alert('名字不能为空')
return false;
}
if($("#vv_phone")[0].value=='')
{
alert('电话不能为空');
return false;
}
var vv_canshu;
vv_canshu=$("#vv_iframe").contents().find("#kid")[0].value;
alert(vv_canshu);
$.ajax({
type: "POST",
url: "vv_canshu_js.aspx",
data: "name="+$('#vv_name')[0].value+"&phone="+$('#vv_phone')[0].value+"&mobile="+$('#vv_mobile')[0].value+"&qymc="+$('#vv_qymc')[0].value+"&email="+$('#vv_email')[0].value+"&kid="+vv_canshu+"",
success: function(msg){
alert( "Data Saved: " + msg );
vv_tt_close();
}
});
}
var init_pos2=last_pos2=vv_liaotian_windows.style.posTop
setInterval(function(){
var target_pos2=document.documentElement.scrollTop+init_pos2
var step=(target_pos2-last_pos2)/1|0
vv_liaotian_windows.style.posTop+=step
last_pos2+=step
},1);
//移动开始var x,y
var v=0
function vv_$(obj){
return document.getElementById(obj)
}
document.onmouseup=function(){
v=0;
}
function defer(){
try{vv_$("vv_liaotian_windows").onmousedown=function(){
v=1;
x=event.clientX-vv_$("vv_liaotian_windows").style.pixelLeft;
y=event.clientY-vv_$("vv_liaotian_windows").style.pixelTop;
}}
catch(e){
setTimeout("defer()",1000);
}}
defer()
document.onmousemove=function(){
if(v==1){
vv_$("vv_liaotian_windows").style.left=event.clientX-x;
vv_$("vv_liaotian_windows").style.top=event.clientY-y;
}else{
return;
}
}
var cookiephone=getCookiephone('gsidphonelist');
var result=0;
if(cookiephone!=0){
var gsidlist=cookiephone.split(',');
for(var i=0;i< gsidlist.length;i++){
if(gsidlist[i]=="426439"){
result=1;
break;
}
}
}
if(result==1){
if(document.getElementById("showtelphone")!=null)
document.getElementById("showtelphone").style.display="block";
}
else{
if(document.getElementById("showtelphone")!=null)
document.getElementById("hiddentelphone").style.display="block";
}
function getCookiephone(cookieName){
var cookieString = document.cookie;
var start = cookieString.indexOf(cookieName + '=');// 加上等号的原因是避免在某些 Cookie 的值里有与 cookieName 一样的字符串。
if (start == -1) // 找不到
return 0;
start += cookieName.length + 1;
var end = cookieString.indexOf(';', start);
if (end == -1) return unescape(cookieString.substring(start));
return unescape(cookieString.substring(start, end));
}
if(result==1){
if(document.getElementById("showtelphone")!=null)
document.getElementById("showtelphone").style.display="block";
}
else{
if(document.getElementById("hiddentelphone")!=null)
document.getElementById("hiddentelphone").style.display="block";
}
//移动结束