/* 检查是否引入jquery */
document.write('');
document.write('');
/* 中间弹窗 */
/*
document.write('
');
document.write('');
*/
document.write('');
document.write('');
document.write('
');
document.write('
');
//定义CLASS触动商务通
$(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.location = 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;
//openZoosUrl('chatwin');
});
})
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() {
$('#closeswtbot').click(function() {
$('#swtbot').hide();
setTimeout(function() {
$('#swtbot').show();
},
4000);
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('');
/*****************************遮罩层******************************/
//中间遮罩弹窗
/*
document.writeln("");
document.writeln("");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
document.writeln("
");
function showSwt(){
$("#c_swt").animate({top:"0"},1000);
}
$(function () {
$("#c_btn").on("click",function(){
$("#c_swt").stop().animate({top:"100%"},1000,function(){
setTimeout("showSwt()",8000); //关闭了再次弹出
});
});
setTimeout("showSwt()",8000); //第一次弹出时间
});
*/
//背景缩窗遮罩
document.writeln("");
document.write('');