function fncPersonalizarVista(pParam)
{
	if (pParam=="ONLOAD")
	{
		var vBotonContinuar = window.document.getElementById("divPaso1BtnContinuar").innerHTML;

		var mvarFormaPago;		
		mvarFormaPago = "<Select Name='FORMAPAGO' Id='FORMAPAGO' class='form_drops' style='WIDTH: 240px' onchange='ActualizarBotonCotizar();PersonalizarFormasPago();'>";
		mvarFormaPago =	mvarFormaPago + "<Option value='-1'>SELECCIONAR...</Option>";
		mvarFormaPago =	mvarFormaPago + "<Option value='4'>TARJETA</Option>";
		mvarFormaPago =	mvarFormaPago + "<Option value='5'>DEBITO EN CUENTA</Option>";
		mvarFormaPago =	mvarFormaPago + "</Select>";
		window.document.getElementById("divFORMAPAGO").innerHTML = mvarFormaPago;

		window.document.getElementById("PLANPAGO").value = 10;
		window.document.getElementById("FORMAPAGO").value = 4;
		window.document.getElementById("CLIENIVA").value = 1;
		//window.document.getElementById("divFORMAPAGO").style.display = 'none';
		//window.document.getElementById("divDescripcionFORMAPAGO").innerText = "TARJETA";		

		window.document.getElementById("divPaso1BtnContinuar").innerHTML = vBotonContinuar + "&nbsp;Solicitar Asesoramiento";
		//window.document.getElementById("divPLANPAGO").style.display = 'none';
		//window.document.getElementById("divPaso1BtnComprarOnline").style.display = 'inline';		
	}
	if (pParam=="CARGOCOBERTURAS")
	{
		window.document.getElementById ("cmbMuestraCoberturasAdicionales").value = "S";
		window.document.getElementById("divcmbMuestraCoberturasAdicionales").style.display = 'none';
		MuestraCoberturasAdicionales ("S");
	}
}

function fncContinuar()
{
	if (!ValidarDatosPaso1())
	{
		return;
	}

	frmCotizacion.DESACTIVIDAD.value = frmCotizacion.ACTIVIDAD.options[frmCotizacion.ACTIVIDAD.selectedIndex].text;
	frmCotizacion.DESPROVICOD.value = frmCotizacion.PROVICOD.options[frmCotizacion.PROVICOD.selectedIndex].text;
	frmCotizacion.DESCLIENIVA.value = frmCotizacion.CLIENIVA.options[frmCotizacion.CLIENIVA.selectedIndex].text;
	
	if (frmCotizacion.CLIEIBTP != null)			
		frmCotizacion.DESCLIEIBTP.value = frmCotizacion.CLIEIBTP.options[frmCotizacion.CLIEIBTP.selectedIndex].text;

	frmCotizacion.DESFORMAPAGO.value  = frmCotizacion.FORMAPAGO.options[frmCotizacion.FORMAPAGO.selectedIndex].text;
	frmCotizacion.DESPLANPAGO.value   = frmCotizacion.PLANPAGO.options[frmCotizacion.PLANPAGO.selectedIndex].text;
	fncRecuperarDeducibles();
	frmCotizacion.submit();
}
