// JavaScript Document

function unfondo(iddiv,aFotos){
	var dire = aFotos[Math.floor(Math.random() * aFotos.length)];
	document.getElementById(iddiv).style.background = 'url(images/interfaz/'+dire+')';
	//alert(document.getElementById(iddiv).style.background);
}

function pegaLogo(){
	var flashvars = {};
	var params = {wmode:"transparent"};
	var attributes = {};
	swfobject.embedSWF("logo2.swf", "logo", "226", "123", "8.0.0","playerProductInstall.swf", flashvars, params, attributes);
}