var id = getParameter("id"); var kid = getParameter("kid"); var thetj_zid = 8891; var gid=12081; //给其他平台做的url标记 var flag = ""; //isMaxthon function isMaxthon(){ var isMaxthon = navigator.userAgent.indexOf("Maxthon") != -1; return isMaxthon; } function menuControl() { var numID = Math.floor(Math.random()*3) + 1; showOneSpan(numID); } function showOneSpan(obj) { var s = "k-menu_" + obj; if(document.getElementById(s)){ document.getElementById(s).className = "info_on"; } } function hiddenAllSpan() { for(var i=1; i<=3; i++) { var s = "k-menu_" + i; if(document.getElementById(s)){ document.getElementById(s).className = "info_off"; } } } function LTrim(s) { for(var i=0;i=0;i--) if(s.charAt(i)!=' ') return s.substring(0,i+1); return ""; } function Trim(s) { return RTrim(LTrim(s)); } function sel(val) { document.getElementById("content").value += val + "\n"; } function check(theform2,sp) { var str="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,./'[]{}`1234567890-=\~!@#$%^&*()_+|?><:"; if(Trim(theform2.guestname.value) =="") { alert("请输入姓名"); theform2.guestname.focus(); return false; } var c=theform2.guestname.value.substr(0,1); if(str.indexOf(c)>-1) { alert("姓名必须填写中文"); theform2.guestname.focus(); return false; } if (theform2.guestname.value.length<=1) { alert("请填写您的真实姓名,如不方便透露请用先生或者小姐代替!"); theform2.guestname.focus(); return false; } var mobile = Trim(theform2.other.value); if (mobile == "") { alert("请输入您的联系电话,座机或手机"); theform2.other.focus(); return false; } if (mobile.length<7 || mobile.length>13) { alert("请填写正确的电话号码,以便我们及时与您取得联系!"); theform2.other.focus(); return false; } if(!/^\d+-?\d+$/.test(mobile)) { alert("请填写正确的电话号码,以便我们及时与您取得联系!"); theform2.other.focus(); return false; } if(!(/^1[3-9]\d{9}$/.test(mobile))){ alert("手机号码有误,请重填"); theform2.other.focus(); return false; } /*if(Trim(theform2.address.value)=="") { alert("请填写您的联系地址"); theform2.address.focus(); return(false); }*/ if(theform2.content.value == "") { alert("请输入留言内容"); theform2.content.focus(); return false; } //Maxthon 兼容模式 if(isMaxthon()){ theform2.target = "mx_blank"; window.open('about:blank', 'mx_blank'); theform2.submit(); return false; }else{ return true; } } function getParameter(name) { var reg = new RegExp("(^|&)(" + name + ")=([^&]*)(&|$)"); if(name == "Sid" || name == "sid" || name == "sourceid"){ var reg = new RegExp("(^|&)(Sid|sid|sourceid)=([^&]*)(&|$)"); } var r = window.location.search.substr(1).match(reg); if (r!=null) return unescape(r[3]); return null; } function splitName(obj) { var str=obj.value; var result = ''; result = str.replace(/[ -~]/g, ''); obj.value = result; } function splitPhone(obj){ var str=obj.value; var result=""; for (var i = 0; i < str.length; i++){ if (str.charCodeAt(i)==12288){ result+= String.fromCharCode(str.charCodeAt(i)-12256); continue; } if (str.charCodeAt(i)>65280 && str.charCodeAt(i)<65375) result+= String.fromCharCode(str.charCodeAt(i)-65248); else result+= String.fromCharCode(str.charCodeAt(i)); } result=result.replace(/[^\d]/g, ''); obj.value=result; if(str!=result) { alert("您之前输入的号码有误,请重新输入!"); } } function mzsm() { alert("免责声明:以上所展示的信息由企业自行提供,内容的真实性、准确性和合法性由发布企业负责,创业商机网对此不承担任何责任。风险防范建议:为保障您的利益,请细致咨询,实地考察,以便成功加盟。本网站对投资者的投资风险概不负法律责任。"); } function deal_vpage(vpage){ if(vpage.indexOf('||')>0){ vpage +='%26nblz%3Dnblz_flag';//||表示?;%26表示&,%3D表示等号 }else{ vpage +='||nblz%3Dnblz_flag';// } return vpage; } function __$(id) { return document.getElementById(id); } function __hasClass(elements, cName) { return !!elements.className.match(new RegExp("(\\s|^)" + cName + "(\\s|$)")); }; function __addClass(elements, cName) { if (!__hasClass(elements,cName)) { elements.className += " " + cName; }; }; function __removeClass(elements,cName) { if (__hasClass(elements,cName)) { elements.className = elements.className.replace(new RegExp("(\\s|^)" + cName + "(\\s|$)" )," "); }; }; function show_phone_example(t) { var phone_example = __$('phone_example'); if (t==1) { phone_example.className='xl_phone info_off'; } else { if (phone_example.className=='xl_phone') { phone_example.className='xl_phone info_off'; } else { phone_example.className='xl_phone'; } } } function gbTongBaoLoaded(t, p){ __$('tb_res').style.display='none'; if (t.length>0) { var ret = '
'; ret += '

呼叫失败

'; ret += ' ' + p.replace(/<\/?[^>]*>/g, '') + ''; ret += '

您输入的电话号码有误!
请重新输入有效电话进行回呼!

'; ret += '
出错了...
请先挂断,再重新输入
'; ret += '

温馨提示:
此次通话您的电话处于接收状态,无需承担任何费用。

'; ret += '
'; __$('tb_msg').innerHTML = ret; } else { var ret = '
'; ret += '

呼叫成功

'; ret += ' ' + p + ''; ret += '

正在为您接通对方电话!
请保持线路畅通,3秒后即可接通

'; ret += '
正在呼叫...
请您耐心等待!
'; ret += '

温馨提示:
此次通话您的电话处于接收状态,无需承担任何费用。

'; ret += '
'; __$('tb_msg').innerHTML = ret; } } function show_begin_div(){ __$('tb_msg').innerHTML=''; __$('tb_res').style.display='block'; } function include_js(file, callback) { var js = document.createElement('script'); var _doc = document.getElementsByTagName('script')[0]; _doc.parentNode.insertBefore(js, _doc); js.setAttribute('type', 'text/javascript'); js.setAttribute('src', file); if (!window.ActiveXObject) { //if not IE js.onload = function () { callback && callback(); } } else { js.onreadystatechange = function () { if (js.readyState == 'loaded' ) { callback && callback(); } } } return false; } function TongBaoP(){ include_js('http://pe.tbkf.net/webclient/checktb.php', function(){ var id_ct = 5; var id_cpinfo = 27222; var appid = 33703; var callerNum = __$('callerNum').value; //新加 用户cookie var uid = 'no_data_89178'; if(__$('uid')){ uid = __$('uid').value; } var vpage = escape(window.location.href).replace("%3F",'||'); var url_referer = typeof(document.referrer)=="undefined"?'':escape(document.referrer).replace("%3F",'||'); var source = 'https://gb89.tbkf.net/Telphone_new.php?callback=gbTongBaoLoaded&id_ct='+id_ct+'&id_cpinfo='+id_cpinfo+'&idhhseat=1&callerNum='+callerNum+'&checkcallid='+checkcallid+'&vpage='+vpage+'&url_referer='+url_referer+'&rt='+Math.random()+'&gid='+gid+'&uid='+uid+'&appid='+appid; include_js(source); }); } document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('
'); document.writeln('
'); document.writeln('
'); document.writeln('
免费电话回呼
'); document.writeln('
'); document.writeln('

无需话费,立即沟通!

'); document.writeln(' '); document.writeln('

已有 123 人与该项目通话

'); 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('
'); 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('
'); /** 快捷输入留言 start **/ (function() { var gbf = __$("igbook_form"); var txtArea = gbf.content; var easyCheck = __$("k-menu_2"); function easyCheckhide() { setTimeout(function() { __addClass(easyCheck, "hide"); }, 30); } txtArea.onclick = function(event) { easyCheck.style.left = this.offsetLeft + this.offsetWidth + "px"; easyCheck.style.top = this.offsetTop + "px"; __removeClass(easyCheck, "hide"); event.stopPropagation(); }; document.onclick = function() { easyCheckhide(); }; var a = easyCheck.getElementsByTagName("a"); for (i=0; i