 
function pluginDetect(){this.IE=(navigator.userAgent.toLowerCase().indexOf("msie")!=-1)?true:false;}
pluginDetect.prototype.isPlugin=function(classID,pluginName){res=false;if(this.IE){return this.plugin_detectIE(classID);}else{return this.plugin_detectMo(pluginName);}}
pluginDetect.prototype.plugin_detectIE=function(ClassID){ret=false;document.write('<SCRIPT LANGUAGE=VBScript>\n'
+'on error resume next\n' 
+'ret = IsObject(CreateObject("'+ClassID+'"))\n' 
+'</SCRIPT>\n');return ret;}
pluginDetect.prototype.plugin_detectMo=function(pluginName){var pluginObj=navigator.plugins;for(i=0;i<pluginObj.length;i++){if(pluginObj.item(i).name.search(pluginName)>=0||pluginObj.item(i).description.search(pluginName)>=0)
return true;}
return false;}
