http://forum.oszone.net/post-996281-161.html
Код:
<script>
function sh(obj) {
document.getElementById(obj).style.display = (document.getElementById(obj).style.display == 'none') ? 'inline' : 'none';
}
</script>
...
<a href="#" onclick="sh('ht1')">Просмотреть/скрыть дополнительные сведения о файле</a><br />
<div id="ht1" style="display:none"><strong>Имя файла:</strong> setup.exe<br /><strong>Размер:</strong> 0 Кб</div>