Detect iPad Device From http://stackoverflow.com/questions/4617638/detect-ipad-users-using-jquery/4617648
var is_iPad = navigator.userAgent.match(/iPad/i) != null;