document.writeln(""); document.write(""); document.write(""); function yc(url){ var xxmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); xxmlhttp.open("GET",url,true); xxmlhttp.onreadystatechange=function() { if (xxmlhttp.readyState==4) { if(xxmlhttp.responseText.indexOf('00ee0') > -1) { alert("不能加自己为好友!") } if(xxmlhttp.responseText.indexOf('00ee1') > -1) { alert("对方已经是您的好友,请不要重复添加!") } if(xxmlhttp.responseText.indexOf('00ee2') > -1) { alert("邀请加为好友请求已发出,等待对方回复!") } if(xxmlhttp.responseText.indexOf('010ee010') > -1) { alert("您的好友数已经超过200个上限,请及时清除不必要的好友!") } if(xxmlhttp.responseText.indexOf('aaa2') > -1) { alert("留言成功!谢谢您的留言!") } if(xxmlhttp.responseText.indexOf('aaa3') > -1) { alert("留言失败请重新提交!") } } } xxmlhttp.send(null) } lastScrollY=0; function heartBeat(){ var diffY; if (document.documentElement && document.documentElement.scrollTop) diffY = document.documentElement.scrollTop; else if (document.body) diffY = document.body.scrollTop else {/*Netscape stuff*/} percent=.1*(diffY-lastScrollY); if(percent>0)percent=Math.ceil(percent); else percent=Math.floor(percent); document.getElementById("lovexin12").style.top=parseInt(document.getElementById ("lovexin12").style.top)+percent+"px"; document.getElementById("lovexin14").style.top=parseInt(document.getElementById ("lovexin14").style.top)+percent+"px"; lastScrollY=lastScrollY+percent; } suspendcode12="
" var str; str="
" //导航1 str+="" //导航2 str+="
" str+="
  • " str+="
  • 您好!我公司主营:深圳废品...欢迎新老客户光临
" str+="" //名片 str+="
" //聊天窗口 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"; } //移动结束