This is a three state toggle switch that utilizes a range to provide values. Please note that the javascript window in fiddle was not working so I have put the javascript in the html box.