added mobile redirect to mobile.html
fixed problem with some details not clearing
adjusted getVariables query to return variables associated with the
select parameter and all the parameter's subclasses
adding mobile detector from http://detectmobilebrowsers.com/