http://www.octanner.com/etc/clientlibs/octanner/cmplogic/js/cmp_logic.js