import math


def window(outsideLux):
    """Returns the effect of windows on lux."""
    if outsideLux > 1:
        percent = 1/math.log(outsideLux)
        if percent > 100:
            percent = 100.0
        return outsideLux*percent
    else:
        return outsideLux / 10.0