function MM_jumpMenu(selObj,restore){ //v3.0
  ira=selObj.options[selObj.selectedIndex].value;
  if (restore) selObj.selectedIndex=0;
  abreWindow(ira)
}

function abreWindow(jc, ventana, an, al, toolbar, location, status, menubar, scrollbars, resizable) {
var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (an + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	iMyHeight = (window.screen.height/2) - (al + 40); //half the screen height minus half the new window height (plus title and status bars).
	var win2 = window.open(jc, ventana);
	win2.focus();
}
function abreWindow_ajust(jc, ventana, an, al, toolbar, location, status, menubar, scrollbars, resizable) {
var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (an + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	iMyHeight = (window.screen.height/2) - (al + 40); //half the screen height minus half the new window height (plus title and status bars).
	var win = window.open(jc, ventana,"height="+al+",width="+an+",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + "toolbar=" + toolbar + "location=" + location + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + "");
	win.focus();
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function comprobar_datos()
{	
	var vacio=0;

	if (formulario.nombre.value=="")
	{
		alert("Tienes que poner un Nombre");
		vacio=1;
	}

	if (vacio!=1)
	{
		formulario.submit();
	}	
		
}
function comprobar_nombre()
{	
	var vacio=0;

	if (formulario.nombre.value=="")
	{
		alert("Tienes que poner un Nombre");
		vacio=1;
	}

	if (vacio!=1)
	{
		formulario.submit();
	}	
		
}