//window.onload = getMsg;
window.onresize = resizeDiv;
window.onerror = function(){}
//短信提示使用(FHB添加)
var tipsdivTop,tipsdivLeft,tipsdivWidth,tipsdivHeight,tipsdocHeight,tipsdocWidth,TipobjTimer,tipsi = 0;
function getMsg()
{
try{
tipsdivTop = parseInt(document.getElementById("eMeng").style.top,10)
tipsdivLeft = parseInt(document.getElementById("eMeng").style.left,10)
tipsdivHeight = parseInt(document.getElementById("eMeng").offsetHeight,10)
tipsdivWidth = parseInt(document.getElementById("eMeng").offsetWidth,10)
tipsdocWidth = document.body.clientWidth;
tipsdocHeight = document.body.clientHeight;
document.getElementById("eMeng").style.top = parseInt(document.body.scrollTop,10) + tipsdocHeight + 10;//   tipsdivHeight
document.getElementById("eMeng").style.left = parseInt(document.body.scrollLeft,10) + tipsdocWidth - tipsdivWidth
document.getElementById("eMeng").style.visibility="visible"
TipobjTimer = window.setInterval("moveDiv()",10)
}
catch(e){}
}
function resizeDiv()
{
tipsi+=1
//if(i>300) closeDiv() //想不用自动消失由用户来自己关闭就屏蔽这句
try{
tipsdivHeight = parseInt(document.getElementById("eMeng").offsetHeight,10)
tipsdivWidth = parseInt(document.getElementById("eMeng").offsetWidth,10)
tipsdocWidth = document.body.clientWidth;
tipsdocHeight = document.body.clientHeight;
document.getElementById("eMeng").style.top = tipsdocHeight - tipsdivHeight + parseInt(document.body.scrollTop,10)
document.getElementById("eMeng").style.left = tipsdocWidth - tipsdivWidth + parseInt(document.body.scrollLeft,10)
}
catch(e){}
}
function moveDiv()
{
try
{
if(parseInt(document.getElementById("eMeng").style.top,10) <= (tipsdocHeight - tipsdivHeight + parseInt(document.body.scrollTop,10)))
{
window.clearInterval(TipobjTimer)
TipobjTimer = window.setInterval("resizeDiv()",1)
}
tipsdivTop = parseInt(document.getElementById("eMeng").style.top,10)
document.getElementById("eMeng").style.top = tipsdivTop - 1
}
catch(e){}
}
function closeDiv()
{
document.getElementById('eMeng').style.visibility='hidden';
if(TipobjTimer) window.clearInterval(TipobjTimer)
video.removeNode()
}

function stopPlay(){
}
