//打开对话框帮助
function do_help(url){
   window.open(url,"help");
}

function useGlassLayer(v) { //v6.0
	v=(v=='show')?'visible':(v=='hide')?'hidden':v;
	var lyr = document.getElementById('body');
	var layerStyle = lyr.style;
	layerStyle.width = document.body.clientWidth;
	layerStyle.height = document.body.clientHeight;
	if (v=='visible') {
		moveGlassLayer();
	}
	layerStyle.visibility = v;
}
function moveGlassLayer() {
	var lyr = document.getElementById('body');
	lyr.style.top=document.body.scrollTop+document.body.offsetHeight - document.body.clientHeight - 10;
	lyr.style.left=document.body.scrollLeft+document.body.offsetWidth - document.body.clientWidth - 30;
	setTimeout("moveGlassLayer();",80)
}
function resizeGlassLayer() {
	var lyr = document.getElementById('body');
	var layerStyle = lyr.style;
	layerStyle.width = document.body.clientWidth;
	layerStyle.height = document.body.clientHeight;
}
function showGlass(msg) {
    if(msg==null){
        msg = "";
    }
    document.getElementById("tip").innerHTML=msg;
    useGlassLayer('show');
}

function hideGlass() {
	useGlassLayer('hidden');
}