function revision(form) 
{
	for (i = 0; i < form.elements.length; i++) 
	{
		if (form.elements[i].value == "") 
		{ 
			alert("Por favor, llene todos los campos.");
			form.elements[i].focus(); 
			return false; 
		}
	}
}

function popUp(URL, iWidth, iHeight) 
{
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=0,width='+iWidth+',height='+iHeight+',left='+(screen.width-iWidth)/2+',top='+(screen.height-iHeight)/2);");
}

