/*
// JavaScript Document
*/	

var testObj;

function initFade(nombreObjeto) {
	testObj = document.getElementById(nombreObjeto);
	for (var i=0;i<11;i++)
		setTimeout('setOpacity('+i+')',50*i);
	return false;
}

function setOpacity(value)
{
	testObj.style.opacity = value/10;
	testObj.style.filter = 'alpha(opacity=' + value*10 + ')';
	if(testObj.style.display != ''){
		testObj.style.display = '';						
	}
	
}
