function Buscar(){
	var oObjForm=document.forms[0];
	var iTipBusq = Buscar.arguments[0]
		
	if (eval("Trim(oObjForm.txtStrBusq_"+iTipBusq+".value)==''")){
		alert("Debe ingresar Palabra Clave");
		eval("oObjForm.txtStrBusq_"+iTipBusq+".focus()");
		return;
	}
		
	oObjForm.txtStrBusq.value=eval("oObjForm.txtStrBusq_"+iTipBusq+".value");
		
		
	if ( !RetMsgFech(oObjForm.cmbDiaPubDes,oObjForm.cmbMesPubDes,oObjForm.txtAnoPubDes) ){
		return;
	}
	if ( !RetMsgFech(oObjForm.cmbDiaPubHas,oObjForm.cmbMesPubHas,oObjForm.txtAnoPubHas) ){
		return;
	}
	if ( !RetMsgFech(oObjForm.cmbDiaVtaHas,oObjForm.cmbMesVtaHas,oObjForm.txtAnoVtaHas) ){
		return;
	}
	if ( !RetMsgFech(oObjForm.cmbDiaVtaDes,oObjForm.cmbMesVtaDes,oObjForm.txtAnoVtaDes) ){
		return;
	}
	if ( !RetMsgFech(oObjForm.cmbDiaAperDes,oObjForm.cmbMesAperDes,oObjForm.txtAnoAperDes) ){
		return;
	}
	if ( !RetMsgFech(oObjForm.cmbDiaAperHas,oObjForm.cmbMesAperHas,oObjForm.txtAnoAperHas) ){
		return;
	}
	oObjForm.submit();
}
function CheckOpcionFech(){
	var oObjRad = CheckOpcionFech.arguments[0];
	var cTipObj = CheckOpcionFech.arguments[1];
	var bCheq
	bCheq =getCheckBox(oObjRad)
		
	if (bCheq)
		bCheq = false
	else		
		bCheq = true;
			
	eval("document.forms[0].cmbDia"+ cTipObj +"Des.disabled=" + bCheq) ;
	eval("document.forms[0].cmbMes"+ cTipObj +"Des.disabled=" + bCheq) ;
	eval("document.forms[0].txtAno"+ cTipObj +"Des.disabled=" + bCheq) ;
	eval("document.forms[0].cmbDia"+ cTipObj +"Has.disabled=" + bCheq) ;
	eval("document.forms[0].cmbMes"+ cTipObj +"Has.disabled=" + bCheq) ;
	eval("document.forms[0].txtAno"+ cTipObj +"Has.disabled=" + bCheq) ;
}
function CargFechBusq(){
	var oForm = document.forms[0];
	CheckOpcionFech(oForm.cOKFechPub,'Pub');
	CheckOpcionFech(oForm.cOKFechVta,'Vta');
	CheckOpcionFech(oForm.cOKFechAper,'Aper');
}
