function show1(id) {
var d = document.getElementById(id);
d.style.display='block';
d.style.zIndex='24';
}

function hide1(id) {
var d = document.getElementById(id);
d.style.display='none';
d.style.zIndex='23';

}
 
function show(id) {
tshow = setTimeout(function () {
show1(id);
}, 1000);
}

function hide(id) {
thide = setTimeout(function () {
hide1(id);
}, 500);
clearTimeout(tshow);
}

