// JavaScript Document
//12/04/2004
//Josué Adib Cervantes García
// Fade Image

/*
<style type="text/css">
#picfade{
FILTER: alpha(opacity=50)
}
</style>

Colocar dentro del tag IMG 
<img id="picfade" onmouseover="high(this)" onmouseout="low(this)">
*/

function high(which2)
{
theobject=which2;
highlighting=setInterval("highlightit(theobject)",50);
	
}
function low(which2)
{
clearInterval(highlighting);
which2.filters.alpha.opacity=50;
}
function highlightit(cur2)
{
if(cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if(window.highlighting)
clearInterval(highlighting)
}


