<!-- Begin

function Calculo()
{
	PrecioBase = 65;
	FactorDisenoBase = 65;
	FactorPrincipal = 1;
	FactorSecciones = 1;
	FactorImagenes  = 4;
	PrecioHospedaje = 0;
	PrecioRegistro = 35;
	FactorDisenoBase = 1;
	PrecioConfiguracion = 35; //dolares
	ConfiguracionHospedaje = 0;


	if ((Cotizador.elements[5].type=="radio") && (Cotizador.elements[5].value=="NO") && (Cotizador.elements[5].checked))
	{
		Cotizador.Imagenes.value = 0;
	
	}
	
	if (Cotizador.Registro.value == "No")
	{
		PrecioRegistro = 0;		
	}
	
	if (Cotizador.Hospedaje.value == "Bulb")
	{
		PrecioHospedaje = 15;
		ConfiguracionHospedaje = 35;
	}

	if (Cotizador.Hospedaje.value == "Light")
	{
		PrecioHospedaje = 20;
		ConfiguracionHospedaje = 35;
	}

	if (Cotizador.Hospedaje.value == "Normal")
	{
		PrecioHospedaje = 25;
		ConfiguracionHospedaje = 35;
	}

	if (Cotizador.Hospedaje.value == "Typical")
	{
		PrecioHospedaje = 35;
		ConfiguracionHospedaje = 35;
	}

	if (Cotizador.Hospedaje.value == "Extra")
	{
		PrecioHospedaje = 40;
	}
	
	if (Cotizador.Hospedaje.value == "Super")
	{
		PrecioHospedaje = 50;
		ConfiguracionHospedaje = 35;
	}
	
	if (Cotizador.Hospedaje.value == "Ninguno")
	{
		PrecioHospedaje = 0;
	}
	
	

	Total = (PrecioBase * Cotizador.Principal.value)
					+ (PrecioBase * Cotizador.Secciones.value)
					+ (FactorImagenes * Cotizador.Imagenes.value)					
					+ (PrecioHospedaje) * 12
					+ (PrecioRegistro)
					+ (ConfiguracionHospedaje)
	

	Cotizador.Total.value = "US$" + Total + ".00";

	Cotizador.Detalle.value = "Página Principal (" + Cotizador.Principal.value + "): $" + (PrecioBase * Cotizador.Principal.value) + "\n"
														+"Sub-páginas Interiores (" + Cotizador.Secciones.value + "): $" + (PrecioBase * Cotizador.Secciones.value) + "\n"
														+"Fotografias a tomar (" + Cotizador.Imagenes.value + "): $" + (FactorImagenes * Cotizador.Imagenes.value) + "\n"
														+"Paquete de Hospedaje (" + Cotizador.Hospedaje.value + "): $" + (PrecioHospedaje * 12) + " anual \n"
														+"Configuración de Hospedaje: $" + ConfiguracionHospedaje + "\n"
														+"Registro de Dominio: $" + PrecioRegistro + "\n"
	
}
//End -->

