var fade_id=1;
function highlighindex(which,start_op){
	if (which.filters){ 
		which.filters.alpha.opacity+=4;
		op=which.filters.alpha.opacity;
	} 
	else{
		if (which.style.opacity<start_op) which.style.opacity=start_op;
		op=which.style.opacity*100+4;
		which.style.opacity=op/100;
	};
	if (op>=100){
		if (which.filters){ which.filters.alpha.opacity=100; }
		else{ which.style.opacity=1; };
		clearInterval(highlighting);

		fade_id=fade_id+1;
		if (fade_id<6) {
			obj=document.getElementById('fade'+fade_id); highlighting=setInterval("highlighindex(obj,0)",15);
		}
		else return;
	}
}

function start_index(){obj=document.getElementById('fade'+fade_id); highlighting=setInterval("highlighindex(obj,0)",15);}






function highlightit(which,start_op){
	if (which.filters){ 
		which.filters.alpha.opacity+=4;
		op=which.filters.alpha.opacity;
	} 
	else{
		if (which.style.opacity<start_op) which.style.opacity=start_op;
		op=which.style.opacity*100+4;
		which.style.opacity=op/100;
	};
	if (op>=100){
		if (which.filters){ which.filters.alpha.opacity=100; }
		else{ which.style.opacity=1; };
		clearInterval(highlighting);
		return;
	}
}

function ImgOver(which,start_op){obj=which; sop=start_op; highlighting=setInterval("highlightit(obj,sop)",15)}

function ImgOut(which,start_op){
	clearInterval(highlighting);
	if (which.filters){which.filters.alpha.opacity=start_op*100;}
	else{which.style.opacity=start_op;};
}

