	function msg(info,topnum){
	var p=document.createElement("DIV");
	if (!info) var info='^_^ 谢谢捧场！！';
	p.id="p";
	p.style.position="absolute";
	p.style.width=document.body.scrollWidth;
	if (window.screen.availHeight>=document.body.scrollHeight)
	p.style.height=(document.body.offsetHeight>window.screen.availHeight)?'100%':window.screen.availHeight;
	else
	p.style.height=(document.body.offsetHeight>document.body.scrollHeight)?'100%':document.body.scrollHeight;
	p.style.zIndex='998';
	p.style.top='0px';
    p.style.left='0%';
	p.style.backgroundColor="gray";
	p.style.opacity='0.5';
	p.style.filter="alpha(opacity=80)";
	document.body.appendChild(p);
	var p1=document.createElement("DIV");
	if (topnum==0)
	var top=parseInt(parseInt(document.body.scrollHeight)*0.25)+document.body.scrollTop;
	else
	top=topnum;
	p1.style.position="absolute";
	p1.style.width="500px";
	p1.id="p1";
	var left=Math.ceil(((document.body.scrollWidth)-parseInt(p1.style.width.replace('px','')))/2)+document.body.scrollLeft;
	p1.style.height="450px";
	p1.style.zIndex='999';	
	p1.style.top=top+'px';
  p1.style.left=left+'px';
	p1.style.border="0px solid #255DB2";
	var html="";
  html+="<center>"
  html+="<div class='p3' style='height:1px;overflow:hidden;background:#255DB2;width:494px;border-left:1px solid #255DB2;border-right:1px solid #255DB2;'></div>"
  html+="<div class='p2' style='height:1px;overflow:hidden;background:#255DB2;width:496px;border-left:1px solid #255DB2;border-right:1px solid #255DB2;'></div>"
  html+="<div class='p2' style='height:1px;overflow:hidden;background:#255DB2;width:498px;border-left:1px solid #255DB2;border-right:1px solid #255DB2;'></div>"
  html+="<div class='p1' style='height:20px;overflow:hidden;background:#255DB2;width:500px;border-left:1px solid #255DB2;border-right:1px solid #255DB2;color:#fff;font-size:9pt;font-weight:bold;text-align:left;'> ⊙ 食品机械行业网提醒您!</div>"
	html+="<div id='c' style='height:150px;width:500px;background-color:#e7e7e7;overflow:hidden;border-left:1px solid #255DB2;border-right:1px solid #255DB2;padding-top:40px;font-size:9pt;'><br><font color=red>"+info+"</font><br><br><br>[ <a href='javascript:this.cancle()'>关闭</a> ]</div>"
  html+="<div class='p1' style='height:1px;overflow:hidden;background:#e7e7e7;width:498px;border-left:1px solid #255DB2;border-right:1px solid #255DB2;'></div>"
  html+="<div class='p2' style='height:1px;overflow:hidden;background:#e7e7e7;width:496px;border-left:1px solid #255DB2;border-right:1px solid #255DB2;'></div>"
  html+="<div class='p3' style='height:1px;overflow:hidden;background:#255DB2;width:494px;border-left:1px solid #255DB2;border-right:1px solid #255DB2'></div>"
  html+="</center>"
	document.body.appendChild(p1);
	p1.innerHTML=html;
	var arr=document.getElementsByTagName("select");
	var i=0;
	while(i<arr.length){
	  arr[i].style.visibility='hidden';
	  i++;
	}
	this.cancle=function(){
		document.body.removeChild(document.getElementById('p'));
		document.body.removeChild(document.getElementById('p1'));
		var arr=document.getElementsByTagName("select");
	  var i=0;
	  while(i<arr.length){
	  arr[i].style.visibility='visible';
	  i++;
	  }
	}
}
