/*  
Script made by Martial Boissonneault © 2001-2002 http://getElementById.com/
This script may be used and changed freely as long as this msg is intact
Visit http://getElementById.com/ for more free scripts and tutorials.
*/
var ie5 = (document.getElementById && document.all);
var ns6 = (document.getElementById && !document.all);

oHi=0.90   // Opacity to start and onmouseout
oLo=0.05   // Opacity onmouseover

divs = document.getElementsByTagName("div");
function opacHi(id) {
	if(ie5) divs[id].filters.alpha.opacity = oHi * 100;
	if(ns6) divs[id].style.MozOpacity = oHi;
}

function opacLo(id) {
	if(ie5) divs[id].filters.alpha.opacity = oLo * 100;
	if(ns6) divs[id].style.MozOpacity = oLo;
}

function opacTo(id,value)
{
	//decimal opacity conversion ie; 0.75 changed to 75
	var new_value = value;
	
	//if(ie5) divs[id].filters.alpha.opacity = new_value;
	if(ns6) { new_value = new_value / 100; divs[id].style.MozOpacity = new_value; }
}

/*
function ChangeOpacInit() {
	if(document.getElementById){
		divs = document.getElementsByTagName("div");
		for(var i=0; i<divs.length; i++) {
			divs[i].style.visibility = "visible";
				if(ie5) divs[i].style.filter="alpha(opacity="+ nStart * 100 +")";
			if(ns6) divs[i].style.MozOpacity = nStart;
		}
	}
}
*/

