/** * Same logic as before. Have removed some detection capabilities in an effort * to reduce reliance on browser detection in general. * * If there is a particualr detection you feel you need please file a ticket * with the request or add the detection yourself with the exact reason you * need said detection. Hopefully we'll be able to keep the number of * detection utility functions to a minimum in favor of behavioral testing. * * This may also be the place for very common behavioral functions. * */ if(typeof (AC)==="undefined"){AC={};}AC.Detector={getAgent:function(){return navigator.userAgent.toLowerCase();},isMac:function(x){var M=x||this.getAgent();return !!M.match(/mac/i);},isWin:function(x){var M=x||this.getAgent();return !!M.match(/win/i);},isWin2k:function(x){var M=x||this.getAgent();return this.isWin(M)&&(M.match(/nt\s*5/i));},isWinVista:function(x){var M=x||this.getAgent();return this.isWin(M)&&(M.match(/nt\s*6/i));},isWebKit:function(x){var M=x||this.getAgent();return !!M.match(/AppleWebKit/i);},isOpera:function(x){var M=x||this.getAgent();return !!M.match(/opera/i);},isIE:function(x){var M=x||this.getAgent();return !!M.match(/msie/i);},isIEStrict:function(x){var M=x||this.getAgent();return M.match(/msie/i)&&!this.isOpera(M);},isFirefox:function(x){var M=x||this.getAgent();return !!M.match(/firefox/i);},isiPhone:function(x){var M=x||this.getAgent();return this.isMobile(M);},isMobile:function(x){var M=x||this.getAgent();return this.isWebKit(M)&&M.match(/Mobile/i);},isiTunesOK:function(x){var M=x||this.getAgent();return this.isMac(M)||this.isWin2k(M);},isQTInstalled:function(){var M=false;if(navigator.plugins&&navigator.plugins.length){for(var x=0;x-1){M=true;}}}else{if(typeof (execScript)!="undefined"){qtObj=false;execScript("on error resume next: qtObj = IsObject(CreateObject(\"QuickTimeCheckObject.QuickTimeCheck.1\"))","VBScript");M=qtObj;}}return M;},getQTVersion:function(){var M="0";if(navigator.plugins&&navigator.plugins.length){for(var e=0;e>24).toString(16);}}}return M;},isQTCompatible:function(e,q){function x(C,s){var D=parseInt(C[0],10);if(isNaN(D)){D=0;}var T=parseInt(s[0],10);if(isNaN(T)){T=0;}if(D===T){if(C.length>1){return x(C.slice(1),s.slice(1));}else{return true;}}else{if(D