var Detect={};Detect.supportsWebSocket=function(){return window.WebSocket||window.MozWebSocket},Detect.userAgentContains=function(e){return navigator.userAgent.indexOf(e)!=-1},Detect.isTablet=function(e){if(e>640)if(Detect.userAgentContains("Android")&&Detect.userAgentContains("Firefox")||Detect.userAgentContains("Mobile"))return!0;return!1},Detect.isWindows=function(){return Detect.userAgentContains("Windows")},Detect.isChromeOnWindows=function(){return Detect.userAgentContains("Chrome")&&Detect.userAgentContains("Windows")},Detect.canPlayMP3=function(){return Modernizr.audio.mp3},Detect.isSafari=function(){return Detect.userAgentContains("Safari")&&!Detect.userAgentContains("Chrome")},Detect.isOpera=function(){return Detect.userAgentContains("Opera")};