<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function menu_DoFSCommand(command, args) {
  var menuObj = InternetExplorer ? menu : document.menu;
  //
  // Place your code here...
  //
}
// Hook for Internet Explorer 
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Sub menu_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call menu_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}
//-->
function cargarflash(idioma)
{
	window.document.menu.SetVariable("idioma", idioma);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
			  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
			    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
			  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
			}
			MM_reloadPage(true);
			
function amagaprj(divid, accion, origen){

		var o = document.getElementById(divid);
		//alert(o.style.display);
		if (accion=='ver'){
			if ((divid == origen) && (o.style.display == 'block')){
				o.style.display = 'none';
			}else{
				o.style.display = 'block';
			}

		}else{
			if ((divid == origen) && (o.style.display == 'block')){
				o.style.display = 'block';
			}else{
				o.style.display = 'none';
			}

		}

		}
function openWindow(URL)
	{	
		var W, H, L, T;
		
		//W = 0.5 * screen.width;
		//H = 0.7 * screen.height;
		W = 350;
		H = 350;
		L = 0.50 * (screen.width - 350);
		T = 0.50 * (screen.height - 350);
		strAttr = "location=no, scrollbars=no, resizable=no, width=" + W + ", height=" + H + ", top=" + T + ", left=" + L;
		window.open(URL, '', strAttr);
	}
function openWindow2(URL,alto,ancho)
	{	
		var W, H, L, T;
		
		W = 0.5 * screen.width;
		H = 0.7 * screen.height;
		//W = alto;
		//H = ancho;
		L = 0.50 * (screen.width - W);
		T = 0.50 * (screen.height - H);
		strAttr = "location=no, scrollbars=yes, resizable=no, width=" + ancho + ", height=" + alto + ", top=" + T + ", left=" + L;
		window.open(URL, '', strAttr);
	}
function cambiarIdioma()
{
	valor=document.cambIdioma.idioma[document.cambIdioma.idioma.selectedIndex].value;
	DeleteCookie ('idioma');
	SetCookie('idioma',valor)
	//alert(document.cambIdioma.idioma[document.cambIdioma.idioma.selectedIndex].value);
	window.location.reload();
}
<!-- Original:  Ronnie T. Moore -->
<!-- Web Site:  The JavaScript Source -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var expDays = 365;
var exp = new Date(); 
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

function getCookieVal (offset) {  
var endstr = document.cookie.indexOf (";", offset);  
if (endstr == -1)    
endstr = document.cookie.length;  
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {  
var arg = name + "=";  
var alen = arg.length;  
var clen = document.cookie.length;  
var i = 0;  
while (i < clen) {    
var j = i + alen;    
if (document.cookie.substring(i, j) == arg)      
return getCookieVal (j);    
i = document.cookie.indexOf(" ", i) + 1;    
if (i == 0) break;   
}  
return null;
}
function SetCookie (name, value) {  
var argv = SetCookie.arguments;  
var argc = SetCookie.arguments.length;  
var expires = (argc > 2) ? argv[2] : null;  
var path = (argc > 3) ? argv[3] : null;  
var domain = (argc > 4) ? argv[4] : null;  
var secure = (argc > 5) ? argv[5] : false;  
document.cookie = name + "=" + escape (value) + 
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
((path == null) ? "" : ("; path=" + path)) +  
((domain == null) ? "" : ("; domain=" + domain)) +    
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {  
var exp = new Date();  
exp.setTime (exp.getTime() - 1);  
var cval = GetCookie (name);  
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}


	

