var welive_tt = 0; function welive_intval(v){ v = parseInt(v); return isNaN(v) ? 0 : v; } function welive_getpos(e){ var l = 0; var t = 0; while (e.offsetParent){ l += e.offsetLeft + (e.currentStyle?welive_intval(e.currentStyle.borderLeftWidth):0); t += e.offsetTop + (e.currentStyle?welive_intval(e.currentStyle.borderTopWidth):0); e = e.offsetParent; } l += e.offsetLeft + (e.currentStyle?welive_intval(e.currentStyle.borderLeftWidth):0); t += e.offsetTop + (e.currentStyle?welive_intval(e.currentStyle.borderTopWidth):0); return {x:l, y:t}; } function ShowWeLiveM(me) { clearTimeout(welive_tt); var ei = document.getElementById("welive-righDivM"); if(!ei) return; var me_pos = welive_getpos(me); ei.style.top = me_pos.y + me.offsetHeight + "px"; ei.style.left = (me_pos.x-80) + "px"; ei.style.display = "block"; var welive_mainM = document.getElementById("welive_mainM"); if(welive_mainM){ welive_mainM.innerHTML = "
"; } ei.onmouseover = function() { clearTimeout(welive_tt); }; ei.onmouseout = function() { clearTimeout(welive_tt); welive_tt = setTimeout(function(){ ei.style.display = "none"; }, 200); }; me.onmouseover = function() { clearTimeout(welive_tt); }; me.onmouseout = function() { clearTimeout(welive_tt); welive_tt = setTimeout(function(){ ei.style.display = "none"; }, 800); }; me.onClick = function() { clearTimeout(welive_tt); welive_tt = setTimeout(function(){ ei.style.display = "none"; }, 800); }; } function CloseFlow(me){ clearTimeout(welive_tt); var ei = document.getElementById("welive-righDivM"); welive_tt = setTimeout(function(){ ei.style.display = "none"; }, 200); } //var welive_panel_top = "" + //var welive_panel_top = "" + var welive_panel_top = "" + " "; document.write(welive_panel_top); document.write(welive_panel_main); document.write(welive_panel_foot);