if (obj。style。display=="none" || obj。style。display=="") {
obj。style。display="block";
}
} else {
var obj = document。all(type num);