ns4 = (document.layers)? true:false  // si se trata de Netscape 4
ie4 = (document.all)? true:false    // si se trata de Internet Explorer 4
/*function callbacks()
{
	//document.forms[nmbForm].onclick = callback_click;
	//document.forms[nmbForm].onchange = callback_change;
	
}*/
//alert(ie4)
/*if(ns4==true)
{	
	document.captureEvents(event.click);
}*/

function inform_obj(e)
{
	if(ie4==true)
	{
		accion_nmb=event.srcElement.name;
		accion_vlr=event.srcElement.value;
		accion_tipo=event.type;
	}
	else
	{
		accion_nmb=e.target.name;
		accion_vlr=e.target.value;
		accion_tipo=e.type;
	}
}


function  __callback(e)
{
	if(inform_obj(e)==1)
		return false;	

	recarga(nmbForm,nmbPag);
	
}

function ejecuta_evento(tipo,obj)
{
	accion_tipo=tipo;
	accion_nmb=obj.name;
	accion_vlr=obj.value;
	recarga(nmbForm,nmbPag);
}

function evento_btnVinculo(tipo,nombre,valor)
{
	accion_tipo=tipo;
	accion_nmb=nombre;
	accion_vlr=valor;
	recarga(nmbForm,nmbPag);
}