/* 检查是否引入jquery */
document.write('');
/* 中间弹窗 */
/*
document.write('
');
document.write('');
*/
//定义CLASS触动商务通
function close_invite(){
$('#swt').hide();
setTimeout(function(){
$('#swt').show();
}, 5000);
return false;
}
/* 底部弹窗 */
/*
document.writeln('');
document.writeln("");
document.writeln("
");
document.writeln("
");
document.writeln(" ");
document.writeln(" - ");
document.writeln("
10:45:52
");
document.writeln(" 您好,我是曲靖九洲医院在线客服,请问有什么可以帮助您?
");
document.writeln(" ");
document.writeln("
");
document.writeln("
");
document.writeln("
");
*/
var swtbotnum = 1;
setTimeout(function(){document.getElementById('swtbot').style.display = "block";}, 5000);
setTimeout(function(){document.getElementById('swtbot-inner3').style.display = "block";}, 5000);
function openSwtBot() {
if (document.getElementById("swtbot")) {
if (document.getElementById("swtbot").style.display == "none") {
document.getElementById("swtbot").style.display = "block";
}
}
swtbotnum = swtbotnum + 1;
}
function closeSwtBot() {
document.getElementById("swtbot").style.display = "none"
if(swtbotnum == 1) {
setTimeout(openSwtBot(), 5000);
}else if(swtbotnum == 2) {
setTimeout(openSwtBot(), 6000);
}else if(swtbotnum == 3) {
setTimeout(openSwtBot(), 7000);
}else{
setTimeout(openSwtBot(), 8000);
}
};
$(document).ready(function() {
$('.J_SWT').click(function(){
var lr_p = window.location.href;
var href = window.location.href.toString();
var url ='http://dut.zoosnet.net/LR/Chatpre.aspx' + '?id=' + LR_websiteid + '&cid=' + LR_cid + '&lng=' + LR_lng + '&sid=' + LR_sid + '&p=' + escape(lr_p) + '&r=' + escape(href);
var oWindow;
try {
oWindow = window.open(url);
if (oWindow == null) {
LR_ClientEnd = 0;
window.location = url;
return;
}
oWindow.focus();
} catch(e) {
if (oWindow == null) {
LR_ClientEnd = 0;
window.location = url;
}
}
LR_HideInvite();
return false;
});
$('#closeswtbot').click(function() {
$('#swtbot').hide();
setTimeout(function() {
$('#swtbot').show();
},
7000);
return false;
});
var d = new Date()
var vYear = d.getFullYear()
var vMon = d.getMonth() + 1
var vDay = d.getDate()
var h = d.getHours();
var m = d.getMinutes();
var se = d.getSeconds();
s=(h<10 ? "0"+ h : h)+':'+(m<10 ? "0" + m : m)+':'+(se<10 ? "0" +se : se);;
$('#nowtime-100').html(s);
});
//百度统计
//百度统计代码集合
document.writeln('');