Adding original code from Warren Ondras and "Big Red" (JAH) as found at
http://www.docsrockbandmods.net/viewtopic.php?f=3&t=4639