id_anterior
=
""
;
function
exibirDiv
(
id
)
{
if
(
this
.
id_anterior
!=
""
)
document.
getElementById
(
this
.
id_anterior
)
.
style
.
visibility
=
'hidden'
;
document.
getElementById
(
id
)
.
style
.
visibility
=
'visible'
;
this
.
id_anterior
=
id
;
}