savig,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
</head>
<body>
<div id="Layer7">надпись исчезнет через 2 секунды если скрипт рабочий</div>
<script language="JavaScript" type="text/javascript">
function changeState (LayerRef, state)
{
var blockElem = document.getElementById(LayerRef)
blockElem.style.visibility = state
}
setTimeout("changeState ('Layer7', 'hidden')", 2000)
</script>
</body>
</html>