var baseopacity=80;
function slowhigh(which) {
imgobj=which;
browserdetect=which.filters?"ie":typeof which.style.MozOpacity=="string"?"mozilla":"";
instantset(baseopacity);
highlighting=setInterval("gradualfade(imgobj)",80);
}
function slowlow(which) {cleartimer(); instantset(baseopacity);}
function instantset(degree) {
if (browserdetect=="mozilla") {imgobj.style.MozOpacity=degree/100;}else{if (browserdetect=="ie") {imgobj.filters.alpha.opacity=degree;}}
}
function cleartimer() {if (window.highlighting) {clearInterval(highlighting);}}
function gradualfade(cur) {
if (browserdetect=="mozilla" && cur.style.MozOpacity<1) {cur.style.MozOpacity=Math.min(parseFloat(cur.style.MozOpacity)+0.1,0.99);}else{if (browserdetect=="ie" && cur.filters.alpha.opacity<100) {cur.filters.alpha.opacity+=10;}else{if (window.highlighting) {clearInterval(highlighting);}}}
}