anchor.diff:    });
   
     <%-- derive p-value from slider --%>
  -  jQuery("#slider div.handle").mousemove(function(event) {
  +  jQuery("#slider div.handle").mouseup(function(event) {
       var handle = jQuery(this);
       jQuery("div.slider-wrap input.value").val(function() {
         var distance = handle.css('left').replace(/[^0-9.]/g, '');
  
positive.code: 
  <style>
  .slider { float:right; padding:6px 2px; margin-top:1px; }
  .slider-wrap input.value { border:1px solid #CCC; width:60px; float:left; padding:2px; font-size:11px; }
  .dragdealer { width:340px; position:relative; height:3px; background:url('model/images/scale.png') repeat-y top left; position:relative; }
  .dragdealer .handle { position:absolute; top:-9px; cursor:pointer; width:12px; height:23px; background-repeat:no-repeat; background-position:top left; }
  .dragdealer .handle.blue { background-image:url('model/images/slider-blue.gif'); }
  
negative.code:       // return new Number(value).toFixed(parseInt(2)); // rounded value to 2 decimal places
  
        // non linear
        var p = new Number((1/Math.pow(10, value * 10)).toPrecision(21)).toExponential(2);
        im.log("slider: " + value + ", p: " + p);
        return p;
      });
    });
  
    <%-- key points on the scale --%>
    jQuery("div.slider a").click(function() {
      jQuery("div.slider-wrap input.value").val(jQuery(this).attr('title'));
      adjustSliderPosition();
    });
  })();
  </script>