/* jquery.flash v1.3.3 -  08/12/10 | (c)2009 Stephen Belanger - MIT/GPL | http://docs.jquery.com/License */
(function(g){var l=function(){var c=navigator.plugins;return c&&c.length?false:true};if(l())Array.prototype.indexOf=function(c,b){var d=this.length;for(b=b<0?b+d<0?0:b+d:b||0;b<d&&this[b]!==c;b++);return d<=b?-1:b};var m=function(){if(l()){try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(b){try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");return[6,0,21]}catch(d){}try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(a){}}if(c!=null)return c.GetVariable("$version").split(" ")[1].split(",")}else{c=
navigator.plugins;var e=c["Shockwave Flash"];if(e&&e.description)return e.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split(".");else if(c["Shockwave Flash 2.0"])return"2.0.0.11"}};g.fn.extend({flash:function(c){if(m()?true:false){var b=m();g(this).each(function(){var d=g(this),a=g.extend({id:d.attr("id"),"class":d.attr("class"),width:d.width(),height:d.height(),src:d.attr("href"),classid:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",pluginspace:"http://get.adobe.com/flashplayer",
type:"application/x-shockwave-flash",availattrs:["id","class","width","height","src","type"],availparams:["src","bgcolor","quality","allowscriptaccess","allowfullscreen","flashvars","wmode"],version:"9.0.24"},c),e=a.availattrs,h=a.availparams,f=a.version.split("."),i="<object";if(!a.codebase)a.codebase=("https:"==document.location.protocol?"https":"http")+"://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+f.join(",");if(a.express)for(var j in b){if(parseInt(b[j])>parseInt(f[j]))break;
if(parseInt(b[j])<parseInt(f[j]))a.src=a.express}if(a.flashvars)a.flashvars=unescape(g.param(a.flashvars));e=l()?e.concat(["classid","codebase"]):e.concat(["pluginspage"]);for(k in e){f=k==e.indexOf("src")?"data":e[k];i+=a[e[k]]?" "+f+'="'+a[e[k]]+'"':""}i+=">";for(k in h){f=k==h.indexOf("src")?"movie":h[k];i+=a[h[k]]?'<param name="'+f+'" value="'+a[h[k]]+'" />':""}i+="</object>";d.replaceWith(i)})}return this}})})(jQuery);

