function mobileType()
{
var sUserAgent = navigator.userAgent;
if (sUserAgent.indexOf('Android') > -1 || sUserAgent.indexOf('Linux') > -1)
{
return "Android";
}
if (sUserAgent.indexOf('iPhone') > -1)
{
return "iPhone";
}
if (sUserAgent.indexOf('Windows Phone') > -1)
{
return "Windows Phone";
}
}