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();
},
7000);
return false;
});
});
var now = new Date();
var hh = now.getHours();
var mm = now.getMinutes();
var ss = now.getSeconds();
var date1 = document.getElementById("nowtime-1");
var date2 = document.getElementById("nowtime-2");
function getDateWeek(obj) {
if (obj < 10) return "0" + obj;
else return obj;
}
date1.innerHTML = getDateWeek(hh) + ":" + getDateWeek(mm) + ":" + getDateWeek(ss);
date2.innerHTML = getDateWeek(hh) + ":" + getDateWeek(mm) + ":" + getDateWeek(ss + 5);