

function xFlash(secc, subsecc){
	seccion=secc+","+subsecc;
	if(navigator.appName=="Microsoft Internet Explorer"){
		document.write('<div id="menuFlashExplorer">')
	}
	else{
		document.write('<div id="menuFlash">')
	}
	
	
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
			'width', '100%',
			'height', '100%',
			'src', 'flash/menu',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'transparent',
			'FlashVars', 'seccDefecto='+seccion,
			'devicefont', 'false',
			'id', 'menuFlashSwf',
			'bgcolor', '#ff0000',
			'name', 'menuFlashSwf',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'flash/menu',
			'salign', ''
			); //end AC code
	}
	//alert(document.getElementById("menuFlashExplorer").style.zIndex)
	//document.getElementById("menuFlashExplorer").style.zIndex=100000;
	//document.getElementById("menuFlash").style.zIndex=100000;
	//alert(document.getElementById("menuFlashExplorer").style.zIndex)
}

function cargaFlash(nombreSWF, nombreObj, ancho, alto){
	AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
			'width', ancho,
			'height', alto,
			'src', 'flash/'+nombreSWF,
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'transparent',
			'devicefont', 'false',
			'id', nombreObj,
			'bgcolor', '#ff0000',
			'name', nombreObj,
			 nombreSWF, 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'flash/'+nombreSWF,
			'salign', ''
			); //end AC code
}

function setFH(h){

	if(document.getElementById("menuFlash")){
		var fl = document.getElementById("menuFlash");
	}
	else{
		var fl = document.getElementById("menuFlashExplorer");
	}
	//alert("tama&ntilde;oIni="+fl.style.height)
//	alert(fl)
	fl.style.height=(218+h)+"px";
	fl.style.zIndex=100000;
	//alert("tama&ntilde;oFin="+fl2.style.height)
	//document.getElementById("menuFlash").style.height=200;
	//alert(document.getElementById("menu2").style.height)
}
