You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
682 B
JavaScript

function getOs(){var OsObject = ""; if(navigator.userAgent.indexOf("MSIE")>0) { return "MSIE";}
if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){ return "Firefox"; }
if(isSafari=navigator.userAgent.indexOf("Safari")>0) { return "Safari"; }
if(isCamino=navigator.userAgent.indexOf("Camino")>0){ return "Camino"; }
if(isMozilla=navigator.userAgent.indexOf("Gecko/")>0){ return "Gecko"; }
}
function isArray(item)
{
return item != null && ((item instanceof Array) || (typeof item.splice) == "function");
}
function IsNull(o)
{
return ("undefined" == typeof(o) || "unknown" == typeof(o) || null == o)
}
function $(id)
{
return document.getElementById(id);
}