/* SWFObject v2.1 Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and Bobby van der Sluis This software is released under the MIT License */ var swfobject=function(){function E(){p.readyState=="complete"&&(p.parentNode.removeChild(p),S())}function S(){if(g)return;if(b.ie&&b.win){var e=H("span");try{var t=u.getElementsByTagName("body")[0].appendChild(e);t.parentNode.removeChild(t)}catch(n){return}}g=!0,d&&(clearInterval(d),d=null);var r=f.length;for(var i=0;i0){var r=P(n);r&&(l[t].width=r.getAttribute("width")?r.getAttribute("width"):"0",l[t].height=r.getAttribute("height")?r.getAttribute("height"):"0",j(l[t].swfVersion)?(b.webkit&&b.webkit<312&&C(r),I(n,!0)):l[t].expressInstall&&!y&&j("6.0.65")&&(b.win||b.mac)?k(l[t]):L(r))}else I(n,!0)}}function C(e){var n=e.getElementsByTagName(t)[0];if(n){var r=H("embed"),i=n.attributes;if(i){var s=i.length;for(var o=0;o');u.outerHTML='"+l+"",c[c.length]=n.id,o=P(n.id)}else if(b.webkit&&b.webkit<312){var p=H("embed");p.setAttribute("type",i);for(var d in n)n[d]!=Object.prototype[d]&&(d.toLowerCase()=="data"?p.setAttribute("src",n[d]):d.toLowerCase()=="styleclass"?p.setAttribute("class",n[d]):d.toLowerCase()!="classid"&&p.setAttribute(d,n[d]));for(var v in r)r[v]!=Object.prototype[v]&&v.toLowerCase()!="movie"&&p.setAttribute(v,r[v]);u.parentNode.replaceChild(p,u),o=p}else{var m=H(t);m.setAttribute("type",i);for(var g in n)n[g]!=Object.prototype[g]&&(g.toLowerCase()=="styleclass"?m.setAttribute("class",n[g]):g.toLowerCase()!="classid"&&m.setAttribute(g,n[g]));for(var y in r)r[y]!=Object.prototype[y]&&y.toLowerCase()!="movie"&&M(m,y,r[y]);u.parentNode.replaceChild(m,u),o=m}}return o}function M(e,t,n){var r=H("param");r.setAttribute("name",t),r.setAttribute("value",n),e.appendChild(r)}function _(e){var t=P(e);t&&(t.nodeName=="OBJECT"||t.nodeName=="EMBED")&&(b.ie&&b.win?t.readyState==4?D(e):o.attachEvent("onload",function(){D(e)}):t.parentNode.removeChild(t))}function D(e){var t=P(e);if(t){for(var n in t)typeof t[n]=="function"&&(t[n]=null);t.parentNode.removeChild(t)}}function P(e){var t=null;try{t=u.getElementById(e)}catch(n){}return t}function H(e){return u.createElement(e)}function B(e,t,n){e.attachEvent(t,n),h[h.length]=[e,t,n]}function j(e){var t=b.pv,n=e.split(".");return n[0]=parseInt(n[0],10),n[1]=parseInt(n[1],10)||0,n[2]=parseInt(n[2],10)||0,t[0]>n[0]||t[0]==n[0]&&t[1]>n[1]||t[0]==n[0]&&t[1]==n[1]&&t[2]>=n[2]?!0:!1}function F(n,r){if(b.ie&&b.mac)return;var i=u.getElementsByTagName("head")[0],s=H("style");s.setAttribute("type","text/css"),s.setAttribute("media","screen"),(!b.ie||!b.win)&&typeof u.createTextNode!=e&&s.appendChild(u.createTextNode(n+" {"+r+"}")),i.appendChild(s);if(b.ie&&b.win&&typeof u.styleSheets!=e&&u.styleSheets.length>0){var o=u.styleSheets[u.styleSheets.length-1];typeof o.addRule==t&&o.addRule(n,r)}}function I(e,t){var n=t?"visible":"hidden";g&&P(e)?P(e).style.visibility=n:F("#"+e,"visibility:"+n)}function q(e){var t=/[\\\"<>\.;]/,n=t.exec(e)!=null;return n?encodeURIComponent(e):e}var e="undefined",t="object",n="Shockwave Flash",r="ShockwaveFlash.ShockwaveFlash",i="application/x-shockwave-flash",s="SWFObjectExprInst",o=window,u=document,a=navigator,f=[],l=[],c=[],h=[],p,d=null,v=null,m=null,g=!1,y=!1,b=function(){var s=typeof u.getElementById!=e&&typeof u.getElementsByTagName!=e&&typeof u.createElement!=e,f=[0,0,0],l=null;if(typeof a.plugins!=e&&typeof a.plugins[n]==t)l=a.plugins[n].description,l&&(typeof a.mimeTypes==e||!a.mimeTypes[i]||!!a.mimeTypes[i].enabledPlugin)&&(l=l.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),f[0]=parseInt(l.replace(/^(.*)\..*$/,"$1"),10),f[1]=parseInt(l.replace(/^.*\.(.*)\s.*$/,"$1"),10),f[2]=/r/.test(l)?parseInt(l.replace(/^.*r(.*)$/,"$1"),10):0);else if(typeof o.ActiveXObject!=e){var c=null,h=!1;try{c=new ActiveXObject(r+".7")}catch(p){try{c=new ActiveXObject(r+".6"),f=[6,0,21],c.AllowScriptAccess="always"}catch(p){f[0]==6&&(h=!0)}if(!h)try{c=new ActiveXObject(r)}catch(p){}}if(!h&&c)try{l=c.GetVariable("$version"),l&&(l=l.split(" ")[1].split(","),f=[parseInt(l[0],10),parseInt(l[1],10),parseInt(l[2],10)])}catch(p){}}var d=a.userAgent.toLowerCase(),v=a.platform.toLowerCase(),m=/webkit/.test(d)?parseFloat(d.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,g=!1,y=v?/win/.test(v):/win/.test(d),b=v?/mac/.test(v):/mac/.test(d);return{w3cdom:s,pv:f,webkit:m,ie:g,win:y,mac:b}}(),w=function(){if(!b.w3cdom)return;x(N);if(b.ie&&b.win)try{u.write(""),p=P("__ie_ondomload"),p&&B(p,"onreadystatechange",E)}catch(t){}b.webkit&&typeof u.readyState!=e&&(d=setInterval(function(){/loaded|complete/.test(u.readyState)&&S()},10)),typeof u.addEventListener!=e&&u.addEventListener("DOMContentLoaded",S,null),T(S)}(),R=function(){b.ie&&b.win&&window.attachEvent("onunload",function(){var e=h.length;for(var t=0;t