<!--

function videos(url, ventana) {
	w = 480;
	h = 376;
	x4 = screen.width/2 - (w/2);
	y4 = screen.height/2 - (h/2) - 20;
	window.open(url, ventana, 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar=0,status=1,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
}

function videoslasenalmakingof(url, ventana) {
	w = 480;
	h = 384;
	x4 = screen.width/2 - (w/2);
	y4 = screen.height/2 - (h/2) - 20;
	window.open(url, ventana, 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar=0,status=1,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
}

function videos320(url, ventana) {
	w = 320;
	h = 256;
	x4 = screen.width/2 - (w/2);
	y4 = screen.height/2 - (h/2) - 20;
	window.open(url, ventana, 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar=0,status=1,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
}


function videoschico(url, ventana) {
	w = 200;
	h = 166;
	x4 = screen.width/2 - (w/2);
	y4 = screen.height/2 - (h/2) - 20;
	window.open(url, ventana, 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar=0,status=1,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
}


function videosflash(url, ventana) {
	w = 480;
	h = 420;
	x4 = screen.width/2 - (w/2);
	y4 = screen.height/2 - (h/2) - 20;
	window.open(url, ventana, 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar=0,status=1,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
}

function videosflashelninopez(url, ventana) {
	w = 480;
	h = 400;
	x4 = screen.width/2 - (w/2);
	y4 = screen.height/2 - (h/2) - 20;
	window.open(url, ventana, 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar=0,status=1,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
}

function tracksplayer(url, ventana) {
	w = 300;
	h = 230;
	x4 = screen.width/2 - (w/2);
	y4 = screen.height/2 - (h/2) - 20;
	window.open(url, ventana, 'height='+h+',width='+w+',scrollbars=0,resizable=1,menubar=0,toolbar=0,status=1,location=0,directories=0,left=' + x4 + ',top=' + y4 + '');
}


function JSFLASH_tracks(xnumero,Varchivo,Vdisco,Vtema) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width=300 height=230>\n');
	document.write('<param name=movie value="img/tracks_player.swf?xnumero='+xnumero+'&archivo='+Varchivo+'&disco='+Vdisco+'&tema='+Vtema+'">\n');
	document.write('<param name=menu value=false>\n');
	document.write('<param name=quality value=high>\n');
	document.write('<param name=bgcolor value=#000000>\n');
	document.write('<embed src="img/tracks_player.swf?xnumero='+xnumero+'&archivo='+Varchivo+'&disco='+Vdisco+'&tema='+Vtema+'" menu=false quality=high bgcolor=#000000  width=300 height=230 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>\n');
	document.write('</object>\n');
}



function setTall() {
	if (document.getElementById) {
		// the divs array contains references to each column's div element
		var divs = new Array(document.getElementById('navBar'), document.getElementById('content'), document.getElementById('contenedor'));
		
		// determine the maximum height out of all columns specified
		var maxHeight = 0;
		for (var i = 0; i < divs.length; i++) {
			if (divs[i].offsetHeight > maxHeight) maxHeight = divs[i].offsetHeight;
		}
		
		// set all columns to maximum height
		for (var i = 0; i < divs.length; i++) {
			divs[i].style.height = maxHeight + 'px';

			// if the browser's working in standards-compliant mode, the height property
			// sets the height excluding padding, so we figure the padding out by subtracting the
			// old maxHeight from the new offsetHeight, and compensate!
			if (divs[i].offsetHeight > maxHeight) {
				divs[i].style.height = (maxHeight - (divs[i].offsetHeight - maxHeight)) + 'px';
			}
		}
	}
}


/*
window.onload = function() {
	setTall();
}

window.onresize = function() {
	setTall();
}
*/


function mostrar(nombreCapa) {
	var capa = document.getElementById(nombreCapa);
	var estilo_capa = capa.style;
	
	if (estilo_capa.display == "none") {
		estilo_capa.display = "";
	} else {
		estilo_capa.display = "none";
	}
}

// -->