window.onload = function()
{
	document.getElementById("transparencia").style.height = parseInt(document.getElementById("contenedor").offsetHeight) - 2 + "px";
	//El 2 fue por el borde
	document.getElementById("transparencia").style.left = parseInt(document.getElementById("contenedor").offsetLeft) + "px";
	//alert('');
}

function transparencia()
{
	//2 pixeles por los bordes
	document.getElementById("transparencia").style.left = parseInt(document.getElementById("contenedor").offsetLeft) + "px";
}