
/*vaciar*/
function vaciarForm(obj,comp)
{
 if(obj.value == comp)
 {
	obj.value = '';
 }
 else if (obj.value == '')
 {
	obj.value = comp;
 }
 else {}
}
/*vaciar*/
function mostrar(obj1,obj2)
{
	document.getElementById(obj1).className = 'visible';
	document.getElementById(obj2).className = 'oculto';
	
	
}


/*submit*/
function submitir(obj)
{
	document.getElementById(obj).submit();	
}
/*submit*/

 /*confirmar*/
function confirmar(link)
{
	if (confirm("Quiere eliminar este registro?")) {
	window.open(link, '_self');
	}
	else {

	}
}
/*confirmar*/
