用display属性
obj.style.display = "none";   //应藏
obj.style.display = "";       //显示