function ShowFlash(filepath,width,height,transparent) {
	document.write('<object codeBase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+width+'" height="'+height+'">\n');
	document.write('<param name="Movie" value="'+filepath+'">\n');
	document.write('<param name="Src" value="'+filepath+'">\n');
	document.write('<param name="Play" value="-1">\n');
	document.write('<param name="Loop" value="-1">\n');
	document.write('<param name="Quality" value="High">\n');
	document.write('<param name="EmbedMovie" value="0">\n');
	document.write('<param name="menu" value="false">\n');
	if (transparent == true)
    {
		document.write('<param name="WMode" value="Transparent">\n');
		document.write('<embed src="'+filepath+'" quality="high" wmode="transparent" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"/>\n');
	} else {
		document.write('<embed src="'+filepath+'" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"/>\n');	
	}		
	document.write('</object>\n');
}


function escribe_email(usuario,dominio){
   return usuario + '@' + dominio
}
function mostrar_email(usuario, dominio){
   document.write("<a href='mailto:" + escribe_email(usuario, dominio) + "'>" + escribe_email(usuario, dominio) + "</a>")
}

function mostrar(nombreCapa){ 
document.getElementById(nombreCapa).style.display="block"; 
}

function ocultar(nombreCapa){ 
document.getElementById(nombreCapa).style.display="none"; 
}

 function abrir_ventana (pagina,ancho,alto) {
   
	var anchura=ancho || 1024;
	var altura=alto || 768;
	var opciones="toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, height="+altura+", width="+anchura;
	window.open(pagina,"",opciones);
 }

