// JavaScript Document
// Funciones Generales
// Autor: Dayan Betancourt
// Fecha: 19/02/2008

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function validarSiNumero(numero) {
	if(!/^([0-9])*$/.test(numero))
		alert("El valor " + numero + " no es un número");
}

function MM_goToURL() { //v3.0
	var i, args=MM_goToURL.arguments;
	document.MM_returnValue = false;
	for (i=0; i<(args.length-1); i+=2)
		eval(args[i]+".location='"+args[i+1]+"'");
}
