//jQuery browser plugin detection 1.0.2
(function(jQuery){if(typeof jQuery.browser==="undefined"||!jQuery.browser){var browser={};jQuery.extend(browser);}var pluginList={flash:{activex:"ShockwaveFlash.ShockwaveFlash",plugin:/flash/gim},sl:{activex:["AgControl.AgControl"],plugin:/silverlight/gim},pdf:{activex:"PDF.PdfCtrl",plugin:/adobe\s?acrobat/gim},qtime:{activex:"QuickTime.QuickTime",plugin:/quicktime/gim},wmp:{activex:"WMPlayer.OCX",plugin:/(windows\smedia)|(Microsoft)/gim},shk:{activex:"SWCtl.SWCtl",plugin:/shockwave/gim},rp:{activex:"RealPlayer",plugin:/realplayer/gim},java:{activex:navigator.javaEnabled(),plugin:/java/gim}};var isSupported=function(p){if(window.ActiveXObject){try{new ActiveXObject(pluginList[p].activex);jQuery.browser[p]=true;}catch(e){jQuery.browser[p]=false;}}else{jQuery.each(navigator.plugins,function(){if(this.name.match(pluginList[p].plugin)){jQuery.browser[p]=true;return false;}else{jQuery.browser[p]=false;}});}};jQuery.each(pluginList,function(i,n){isSupported(i);});})(jQuery);
