function pelicula(swf) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[swf];
	} else {
		return document[swf];
	}
 }		
function expandir(alto){
	//document.getElementById('video_ancho').style.height = alto;
	$('#video_ancho').css('height', alto);
	//$('#video_ancho').css('height', '500px');
	$('#hide_button').show();
	$('#contenido').hide();
}

function ocultar(){
	pelicula('reproductorglobal').reducir();
	$("#hide_button").hide();
	$("#contenido").show();
	$("#video_ancho").css("height", "215px");
}
$(document).ready(function(){
	$("#nosotros_1").hover(function(){
		$("#nosotros_1_detalle").fadeIn("fast");
	}, function(){
		$("#nosotros_1_detalle").fadeOut("fast");
	});
	
	$("#nosotros_2").hover(function(){
		$("#nosotros_2_detalle").fadeIn("fast");
	}, function(){
		$("#nosotros_2_detalle").fadeOut("fast");
	});
});
function sobre_nosotros_player(url){
	if (AC_FL_RunContent == 0) {
		alert("Esta página requiere el archivo AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '100%',
			'height', '100%',
			'src', 'reproductorglobal',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'flashvars', 'flv='+url,
			'devicefont', 'false',
			'id', 'reproductorglobal',
			'bgcolor', '#000000',
			'name', 'reproductorglobal',
			'menu', 'true',
			'allowFullScreen', 'true',
			'allowScriptAccess','sameDomain',
			'movie', 'reproductorglobal',
			'salign', ''
			);
	}
}