/*-------------------------------------------------------------------
							showMsg (info,[obj]) 执行提示
							参数 info 提示信息
---------------------------------------------------------------------*/
var top = -40;
var speed = 0.1
showMsg = function showMsg(info, obj) {
	if (obj != null) {
		obj.style.backgroundColor = "#ffeeee";
		obj.focus();
	}
	document.all.msgInfo_showmsg.innerHTML = "<img src='littlealert.gif'>&nbsp;&nbsp;&nbsp;<b>"
			+ info + "</b>"
	if (top == -40) {
		intv = setInterval("showmsg_tmp()", 10)
	}
}
function showmsg_tmp() {
	if (top < 0) {
		top = parseInt(top) + 4;
	}

	if (top >= 0) {
		clearInterval(intv);
		intv1 = setInterval("latemsg_tmp()", 3000)
	}
	document.all.msgInfo_showmsg.style.top = top;
}
function latemsg_tmp() {
	if (top == 0) {
		intv2 = setInterval("hidemsg_tmp()", 10)
	}
	clearInterval(intv1);
}
function hidemsg_tmp() {
	if (top > -40) {
		top = parseInt(top) - 4;
	}

	if (top <= -40) {
		clearInterval(intv2);
	}
	document.all.msgInfo_showmsg.style.top = top;
}

// document.write('<div id="msgInfo_showmsg"
// style="position:absolute;width:100%;height:32;background-color:' + MSG_COLOR
// + ';top:-40px;left:0px;border:1px solid
// #AAAAAA;z-index:10;padding-left:5px;padding-top:3px;padding-right:5px;padding-bottom:3px;filter:Alpha(Opacity=80);color:red"></div>');
