MIN_EMPLOYEES = 0;
MAX_EMPLOYEES = 1;
MULTIPLIER = 2;

function quoteEngine(option, employees)
{
    if (option == null || isNaN(parseInt(option)) || option < 1 || option > 3)
    {
        return null;
    }
    
    if (employees == null || isNaN(parseInt(employees)) || employees < 1)
    {
        return null;
    }
    
    // All quotes for over 100 employees are POA
    if (employees > 100)
    {   
        return poaMessage;
    }
    
    for (var i = 0; i < employeeMultipliers.length; i ++)
    {
        if (employees >= employeeMultipliers[i][MIN_EMPLOYEES]  && employees <= employeeMultipliers[i][MAX_EMPLOYEES])
        {
            var employeesByMultiplier = employees * employeeMultipliers[i][MULTIPLIER];
            // Do some extra rounding to handle JS implementation of 'real' numbers
            var result = Math.round(Math.round(parseInt(employeesByMultiplier) * optionMultipliers[option] * 100) / 100);
            return result;
        }
    }
    
    // We should never reach here, if we have something's gone wrong
    return null;
}