var op_mini = 0.6;

if(navigator.appName == "Microsoft Internet Explorer") nav = "win";
else nav = "";


var tables=document.getElementsByTagName("div");
//alert('Nb de div : '+document.getElementsByTagName("div").length);
for(i = 0; i < tables.length; i++)
{
if(tables[i].className && tables[i].className.indexOf("ghost x") >= 0)
	{
	position1 = tables[i].className.indexOf("ghost x");
	position1 += 7;
	op_mini = (tables[i].className.substring(position1, position1+2)/100);
	
	if(nav == "win") tables[i].style.filter="alpha(opacity=" + 100 * op_mini +")";
	else tables[i].style.opacity=op_mini;
	}
}


var tables=document.getElementsByTagName("li");
//alert('Nb de div : '+document.getElementsByTagName("div").length);
for(i = 0; i < tables.length; i++)
{
if(tables[i].className && tables[i].className.indexOf("ghost x") >= 0)
	{
	position1 = tables[i].className.indexOf("ghost x");
	position1 += 7;
	op_mini = (tables[i].className.substring(position1, position1+2)/100);
	
	if(nav == "win") tables[i].style.filter="alpha(opacity=" + 100 * op_mini +")";
	else tables[i].style.opacity=op_mini;
	}
}
