The functions
There are a couple of template functions that will help you out if your in the situation were you want to check for mobile devices.
Those functions are:
{if jrCore_is_mobile_device()}.....
and
{if jrCore_is_tablet_device()}.....
combined in an IF statement like this: