function showFlashcodere() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="712" height="332" title="codere">' +
				'<param name="movie" value="img/presentacion.swf" />' +
				'<param name="quality" value="high" />' +
				'<param name="wmode" value="transparent" />' +
				'<embed src="img/presentacion.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="712" height="332" wmode="transparent"></embed>' +
			'</object>');
}
function showFlashsedesocial() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="754" height="477" title="Pons">' +
				'<param name="movie" value="img/sedesocial.swf" />' +
				'<param name="quality" value="high" />' +
				'<param name="wmode" value="transparent" />' +
				'<embed src="img/sedesocial.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="754" height="477" wmode="transparent"></embed>' +
			'</object>');
}
function showFlashhome() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="756" height="169" title="Pons">' +
				'<param name="movie" value="img/home.swf" />' +
				'<param name="quality" value="high" />' +
				'<param name="wmode" value="transparent" />' +
				'<embed src="img/home.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="756" height="169" wmode="transparent"></embed>' +
			'</object>');
}
function showFlashwho(titulo, imagen) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="755" height="169" title="Pons">' +
				'<param name="movie" value="img/head-quienes.swf" />' +
				'<param name="quality" value="high" />' +
				'<param name="wmode" value="transparent" />' +
				'<param name="flashvars" value="titulo=' + titulo + '&imagen=' + imagen +'">' +
				'<embed src="img/head-quienes.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="755" height="169" wmode="transparent"></embed>' +
			'</object>');
}
			
function menuID(menuItem, id) {
	var div = document.getElementById("menu"+id);
	var menu = document.getElementById("menuitem"+id);
	div.style.display = "";
	div.style.color = "#FFFFFF"; 
	menuItem.style.backgroundImage = "url(img/bg-deg.jpg)";
	menuItem.style.borderTop="1px solid #7892C4";	
	menuItem.style.borderLeft="1px solid #7892C4";	
	menuItem.style.borderRight="1px solid #7892C4";
	menuItem.style.paddingRight = "0px";	
	menuItem.style.paddingLeft = "0px";	
	menuItem.style.paddingTop = "0px";
	menuItem.style.marginBottom = "-1px";
	menu.style.borderBottom = "1px solid white";
	
} 

function quitarID(menuItem, id) { 
	var div = document.getElementById("menu"+id);
	var menu = document.getElementById("menuitem"+id);
	div.style.display = "none"; 
	div.style.color = "#000000"; 
	menuItem.style.backgroundImage = "";
	menuItem.style.borderTop="";
	menuItem.style.borderLeft="";	
	menuItem.style.borderRight="";	
	menuItem.style.paddingRight = "1px";	
	menuItem.style.paddingLeft = "1px";
	menuItem.style.paddingTop = "1px";
	menuItem.style.marginBottom = "0px";
	menu.style.borderBottom = "";
}

//menu
function hideMenu(){
	var div;
	var x = 1;
	while(x <= 20){
	    div = document.getElementById("menu"+x);
	    
	    if (div != null) {
		    div.style.display = "none";
		}
		
        x = x+1;
	}
}
//esta funcion es para el menu			

				