function VgoooBox(html){
	if(document.getElementById("vgoooBoxDiv")){
		document.body.removeChild(document.getElementById("vgoooBoxDiv"));
	}
	
	var sWidth,sHeight,dWidth,dHeight;
	sWidth=window.screen.width-22;
	if (window.navigator.userAgent.indexOf("MSIE")>=1) {
		sHeight=document.body.clientHeight;
		if(sHeight<(window.screen.availHeight-130))sHeight=window.screen.availHeight-130;
	}else{
		sHeight=document.documentElement.scrollHeight;
	}
	dHeight=document.documentElement.scrollTop+((window.screen.availHeight-300)/2);
	dWidth=((sWidth-380)/2);
	
	var msgObj=document.createElement("div");
	msgObj.setAttribute("id","vgoooBoxDiv");
	document.body.appendChild(msgObj);
	document.getElementById("vgoooBoxDiv").innerHTML="";
	
	var bgObj=document.createElement("div");
	bgObj.setAttribute("id","vgoooBgDiv");
	bgObj.style.position="absolute";
	bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
	bgObj.style.opacity="0.48";
	bgObj.style.width=sWidth+"px";
	bgObj.style.height=sHeight+"px";
	bgObj.style.top="0";
	bgObj.style.left="0";
	bgObj.style.background="#fafafa";
	document.getElementById("vgoooBoxDiv").appendChild(bgObj);
	
	var tipbigdivObj=document.createElement("div");
	tipbigdivObj.setAttribute("id","tipbigdivDiv");
	tipbigdivObj.setAttribute("className","tipbigdiv");	
	tipbigdivObj.setAttribute("class","tipbigdiv");
	
	tipbigdivObj.style.top=dHeight+"px";
	tipbigdivObj.style.left=dWidth+"px";
	document.getElementById("vgoooBoxDiv").appendChild(tipbigdivObj);
	
	var tipdivbgObj=document.createElement("div");
	tipdivbgObj.setAttribute("id","tipdivbgDiv");
	tipdivbgObj.setAttribute("className","tipdivbg");	
	tipdivbgObj.setAttribute("class","tipdivbg");
	document.getElementById("tipbigdivDiv").appendChild(tipdivbgObj);
	
	var tipslayerObj=document.createElement("div");
	tipslayerObj.setAttribute("id","tipslayerDiv");
	tipslayerObj.setAttribute("className","tipslayer");	
	tipslayerObj.setAttribute("class","tipslayer");
	document.getElementById("tipbigdivDiv").appendChild(tipslayerObj);
	
	var tipslayertitleObj=document.createElement("div");
	tipslayertitleObj.setAttribute("id","tipslayertitleDiv");
	tipslayertitleObj.setAttribute("className","tipslayer-title");	
	tipslayertitleObj.setAttribute("class","tipslayer-title");
	tipslayertitleObj.innerHTML='温馨提示';
	tipslayertitleObj.style.cursor="move";
	tipslayertitleObj.setAttribute("canmove","true");
	tipslayertitleObj.setAttribute("forid","tipbigdivDiv");
	document.getElementById("tipslayerDiv").appendChild(tipslayertitleObj);
	
	var tipslayercontentObj=document.createElement("div");
	tipslayercontentObj.setAttribute("id","tipslayercontentDiv");
	tipslayercontentObj.setAttribute("className","tipslayer-content");	
	tipslayercontentObj.setAttribute("class","tipslayer-content");
	document.getElementById("tipslayerDiv").appendChild(tipslayercontentObj);
	
	var tipcontenttext1Obj=document.createElement("div");
	tipcontenttext1Obj.setAttribute("id","VgoooBoxHtml");
	tipcontenttext1Obj.setAttribute("className","tipcontent-text1");	
	tipcontenttext1Obj.setAttribute("class","tipcontent-text1");
	tipcontenttext1Obj.innerHTML=html;
	document.getElementById("tipslayercontentDiv").appendChild(tipcontenttext1Obj);
	
	var tipbntObj=document.createElement("div");
	tipbntObj.setAttribute("id","tipbntDiv");
	tipbntObj.setAttribute("className","tipbnt");	
	tipbntObj.setAttribute("class","tipbnt");
	tipbntObj.innerHTML='<input type="button" value="关闭" onclick="CloseVgoooBox()"/>';
	document.getElementById("tipslayerDiv").appendChild(tipbntObj);
	
	var md=false,mobj,ox,oy;
	document.onmousedown=function(ev){
		var ev=ev||window.event;
		var evt=ev.srcElement||ev.target;
		if(typeof(evt.getAttribute("canmove"))=="undefined"){
			return;
		}
		if(evt.getAttribute("canmove")){
			md = true;
			mobj = document.getElementById(evt.getAttribute("forid"));
			ox = mobj.offsetLeft - ev.clientX;
			oy = mobj.offsetTop - ev.clientY;
		}
	}
	document.onmouseup = function(){md=false;}
	document.onmousemove = function(ev){
		var ev=ev||window.event;
		if(md){
			mobj.style.left= (ev.clientX + ox)+"px";
			mobj.style.top= (ev.clientY + oy)+"px";
		}
	}
	var sels = document.getElementsByTagName("SELECT");
	for(var i=0; i<sels.length; i++){
		sels[i].style.visibility = 'hidden';
	}
	this.CloseVgoooBox = function(){
		document.body.removeChild(document.getElementById("vgoooBoxDiv"));
		for(var i=0; i<sels.length; i++){
			sels[i].style.visibility = '';
		}
	}
}