ie4=(document.all)?true:false;
ns4=(document.layers)?true:false;

function setShow(){
	//设置隐藏层显示
	var args=setShow.arguments;
	var visible=args[0];
	if(ns4){
		//如果浏览器是ＮＳ，设置显示或隐藏
		theObj=eval("document.layers[\'"+args[1]+"\']");
		if(theObj)theObj.visibility=visible;
	}else if(ie4){
		//如果浏览器是ＩＥ，设置显示或隐藏。
		if(visible=='show')visible='visible';
		if(visible=='hide')visible='hidden';
		theObj=eval("document.all[\'"+args[1]+"\']");
		if(theObj)theObj.style.visibility=visible;
	}else {
	
		if(visible=='show')visible='visible';
		if(visible=='hide')visible='hidden';
		document.getElementById(args[1]).style.visibility=visible;
	}
}
