/* Highlight steps script by hovering list */

/* Script by Hesido.com                    */

/* All rights reserved                     */

if (document.getElementById && document.getElementsByTagName) {

if (window.addEventListener) window.addEventListener('load', initStepHighlight, false);

else if (window.attachEvent) window.attachEvent('onload', initStepHighlight);

}



function initStepHighlight() {



	var contElements = document.getElementById("mfstep").getElementsByTagName("li");

	for(var i=0; i<contElements.length; i++) {

		contElements.stepp = i+1;

		contElements[i].elemForHilite = document.getElementById("mfstep"+(i+1))

		contElements[i].onmouseover = hiliteStep;

		contElements[i].onclick = hiliteStep;

	}



	function hiliteStep() {

		doBGFade(this.elemForHilite,[255,255,100],[255,255,255],'transparent',10,30,4);

		doBGFade(this,[255,255,100],[255,255,255],'transparent',10,30,4);

	}



}
