Java script fade effect:

<HTML>
<script>
var x=-1
function doit1()
{
x++

div1.style.filter="alpha(opacity="+x+")"
if(x>=100)
	{
	clearInterval(mooki1)
	}
}
y=101
function doit2()
{
y--

div1.style.filter="alpha(opacity="+y+")"
if(y<=0)
	{
	clearInterval(mooki2)
	}
}
</script>
<div id=div1 style=background-color:red;width:200;height:200>some stuff and some <a href="">links</a></div>
<input type=button onclick="mooki1=setInterval('doit1()', 50); x=-1" value="fade in">
<input type=button onclick="mooki2=setInterval('doit2()', 50); y=101" value="fade out">

</HTML>