Я вот об этом
CODE:
function Whos(id,idi) {
if (document.getElementById(id).style.display == "none"||document.all[id].visibility == "hidden"){
Show(id,idi)
}
else{Hide(id,idi)}
}
function Show(id,idi) {
if (document.getElementById) {
itm = document.getElementById(id);
itm.style.display = "block";
}
if (document.all){
itm = document.all[id];
itm.visibility = "show";
}
document[idi].src = "./templates/ForumTblock.org.ru/im/hide_f.gif";
}
function Hide(id,idi) {
if (document.getElementById) {
itm = document.getElementById(id);
itm.style.display = "none";
}
if (document.all){
itm = document.all[id];
itm.visibility = "hidden";
}
document[idi].src = "./templates/subsilver/im/show_f.gif";
}
function Whos(id,idi) {
if (document.getElementById(id).style.display == "none"||document.all[id].visibility == "hidden"){
Show(id,idi)
}
else{Hide(id,idi)}
}
function Show(id,idi) {
if (document.getElementById) {
itm = document.getElementById(id);
itm.style.display = "block";
}
if (document.all){
itm = document.all[id];
itm.visibility = "show";
}
document[idi].src = "./templates/ForumTblock.org.ru/im/hide_f.gif";
}
function Hide(id,idi) {
if (document.getElementById) {
itm = document.getElementById(id);
itm.style.display = "none";
}
if (document.all){
itm = document.all[id];
itm.visibility = "hidden";
}
document[idi].src = "./templates/subsilver/im/show_f.gif";
}