var swfobject=function(){function x(){if(!q&&document.getElementsByTagName("body")[0]){try{var a,b=g.createElement("span");b.style.display="none";a=g.getElementsByTagName("body")[0].appendChild(b);a.parentNode.removeChild(a)}catch(c){return}q=!0;a=y.length;for(b=0;b<a;b++)y[b]()}}function Q(a){q?a():y[y.length]=a}function Y(){var a=g.getElementsByTagName("body")[0],b=g.createElement(s);b.setAttribute("style","visibility: hidden;");b.setAttribute("type",A);var c=a.appendChild(b);if(c){var d=0;(function j(){if(typeof c.GetVariable!=
i)try{var h=c.GetVariable("$version");if(h)h=h.split(" ")[1].split(","),e.pv=[k(h[0]),k(h[1]),k(h[2])]}catch(g){e.pv=[8,0,0]}else if(10>d){d++;setTimeout(j,10);return}a.removeChild(b);c=null;G()})()}else G()}function G(){var a=m.length;if(0<a)for(var b=0;b<a;b++){var c=m[b].id,d=m[b].callbackFn,f={success:!1,id:c};if(0<e.pv[0]){var j=o(c);if(j)if(B(m[b].swfVersion)&&!(e.wk&&312>e.wk)){if(v(c,!0),d)f.success=!0,f.ref=H(c),f.id=c,d(f)}else if(m[b].expressInstall&&I()){f={};f.data=m[b].expressInstall;
f.width=j.getAttribute("width")||"0";f.height=j.getAttribute("height")||"0";if(j.getAttribute("class"))f.styleclass=j.getAttribute("class");if(j.getAttribute("align"))f.align=j.getAttribute("align");for(var h={},j=j.getElementsByTagName("param"),k=j.length,t=0;t<k;t++)"movie"!=j[t].getAttribute("name").toLowerCase()&&(h[j[t].getAttribute("name")]=j[t].getAttribute("value"));J(f,h,c,d)}else c=j,e.ie&&4!=c.readyState?(c.style.display="none",h=g.createElement("div"),c.parentNode.insertBefore(h,c),h.parentNode.replaceChild(K(c),
h),L(c)):c.parentNode.replaceChild(K(c),c),d&&d(f)}else if(v(c,!0),d){if((c=H(c))&&typeof c.SetVariable!=i)f.success=!0,f.ref=c,f.id=c.id;d(f)}}}function H(a){var b=null;(a=o(a))&&"OBJECT"===a.nodeName&&(b=typeof a.SetVariable!==i?a:a.getElementsByTagName(s)[0]||a);return b}function I(){return!C&&B("6.0.65")&&(e.win||e.mac)&&!(e.wk&&312>e.wk)}function L(a){a&&(4==a.readyState?a.parentNode.removeChild(a):setTimeout(function(){L(a)},10))}function J(a,b,c,d){var f=o(c),c=D(c)?c.id:c;C=!0;M=d||null;R=
{success:!1,id:c};if(f){"OBJECT"==f.nodeName?(z=K(f),E=null):(z=f,E=c);a.id=S;if(typeof a.width==i||!/%$/.test(a.width)&&310>k(a.width))a.width="310";if(typeof a.height==i||!/%$/.test(a.height)&&137>k(a.height))a.height="137";g.title=g.title.slice(0,47)+" - Flash Player Installation";d=e.ie?"ActiveX":"PlugIn";d="MMredirectURL="+encodeURIComponent(l.location.toString().replace(/&/g,"%26"))+"&MMplayerType="+d+"&MMdoctitle="+g.title;b.flashvars=typeof b.flashvars!=i?b.flashvars+("&"+d):d;if(e.ie&&4!=
f.readyState)d=g.createElement("div"),c+="SWFObjectNew",d.setAttribute("id",c),f.parentNode.insertBefore(d,f),f.style.display="none",L(f);N(a,b,c)}}function K(a){var b=g.createElement("div");if(e.win&&e.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(s)[0])if(a=a.childNodes)for(var c=a.length,d=0;d<c;d++)!(1==a[d].nodeType&&"PARAM"==a[d].nodeName)&&8!=a[d].nodeType&&b.appendChild(a[d].cloneNode(!0));return b}function N(a,b,c){var d,f=o(c),c=D(c)?c.id:c;if(e.wk&&312>e.wk)return d;if(f){d=
e.ie?g.createElement("div"):g.createElement(s);var j,h;if(typeof a.id==i)a.id=c;for(h in b)if(b.hasOwnProperty(h)&&"movie"!==h.toLowerCase()){var c=d,k=h,t=b[h],l=g.createElement("param");l.setAttribute("name",k);l.setAttribute("value",t);c.appendChild(l)}if(e.ie)b=a.data,d=d.innerHTML,h=g.createElement("div"),h.innerHTML="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'><param name='movie' value='"+b+"'>"+d+"</object>",d=h.firstChild;for(j in a)a.hasOwnProperty(j)&&(b=j.toLowerCase(),
"styleclass"===b?d.setAttribute("class",a[j]):"classid"!==b&&"data"!==b&&d.setAttribute(j,a[j]));e.ie?F[F.length]=a.id:(d.setAttribute("type",A),d.setAttribute("data",a.data));f.parentNode.replaceChild(d,f)}return d}function T(a){var b=o(a);if(b&&"OBJECT"==b.nodeName)e.ie?(b.style.display="none",function d(){if(4==b.readyState){var f=o(a);if(f){for(var g in f)"function"==typeof f[g]&&(f[g]=null);f.parentNode.removeChild(f)}}else setTimeout(d,10)}()):b.parentNode.removeChild(b)}function D(a){return a&&
a.nodeType&&1===a.nodeType}function o(a){if(D(a))return a;var b=null;try{b=g.getElementById(a)}catch(c){}return b}function k(a){return parseInt(a,10)}function Z(a,b,c){a.attachEvent(b,c);w[w.length]=[a,b,c]}function B(a){var b=e.pv,a=(a+"").split(".");a[0]=k(a[0]);a[1]=k(a[1])||0;a[2]=k(a[2])||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?!0:!1}function U(a,b,c,d){var f=g.getElementsByTagName("head")[0];if(f){c="string"==typeof c?c:"screen";d&&(O=p=null);if(!p||O!=
c)d=g.createElement("style"),d.setAttribute("type","text/css"),d.setAttribute("media",c),p=f.appendChild(d),e.ie&&typeof g.styleSheets!=i&&0<g.styleSheets.length&&(p=g.styleSheets[g.styleSheets.length-1]),O=c;p&&(typeof p.addRule!=i?p.addRule(a,b):typeof g.createTextNode!=i&&p.appendChild(g.createTextNode(a+" {"+b+"}")))}}function v(a,b){if(V){var c=b?"visible":"hidden",d=o(a);q&&d?d.style.visibility=c:"string"===typeof a&&U("#"+a,"visibility:"+c)}}function W(a){return null!=/[\\\"<>\.;]/.exec(a)&&
typeof encodeURIComponent!=i?encodeURIComponent(a):a}var i="undefined",s="object",A="application/x-shockwave-flash",S="SWFObjectExprInst",l=window,g=document,n=navigator,X=!1,y=[],m=[],F=[],w=[],z,E,M,R,q=!1,C=!1,p,O,V=!0,P=!1,e=function(){var a=typeof g.getElementById!=i&&typeof g.getElementsByTagName!=i&&typeof g.createElement!=i,b=n.userAgent.toLowerCase(),c=n.platform.toLowerCase(),d=c?/win/.test(c):/win/.test(b),c=c?/mac/.test(c):/mac/.test(b),b=/webkit/.test(b)?parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,
"$1")):!1,f="Microsoft Internet Explorer"===n.appName,e=[0,0,0],h=null;if(typeof n.plugins!=i&&typeof n.plugins["Shockwave Flash"]==s){if((h=n.plugins["Shockwave Flash"].description)&&typeof n.mimeTypes!=i&&n.mimeTypes[A]&&n.mimeTypes[A].enabledPlugin)X=!0,f=!1,h=h.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),e[0]=k(h.replace(/^(.*)\..*$/,"$1")),e[1]=k(h.replace(/^.*\.(.*)\s.*$/,"$1")),e[2]=/[a-zA-Z]/.test(h)?k(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1")):0}else if(typeof l.ActiveXObject!=i)try{var m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
if(m&&(h=m.GetVariable("$version")))f=!0,h=h.split(" ")[1].split(","),e=[k(h[0]),k(h[1]),k(h[2])]}catch(t){}return{w3:a,pv:e,wk:b,ie:f,win:d,mac:c}}();(function(){e.w3&&((typeof g.readyState!=i&&"complete"==g.readyState||typeof g.readyState==i&&(g.getElementsByTagName("body")[0]||g.body))&&x(),q||(typeof g.addEventListener!=i&&g.addEventListener("DOMContentLoaded",x,!1),e.ie&&(g.attachEvent("onreadystatechange",function b(){"complete"==g.readyState&&(g.detachEvent("onreadystatechange",b),x())}),l==
top&&function c(){if(!q){try{g.documentElement.doScroll("left")}catch(d){setTimeout(c,0);return}x()}}()),e.wk&&function d(){q||(/loaded|complete/.test(g.readyState)?x():setTimeout(d,0))}()))})();y[0]=function(){X?Y():G()};(function(){e.ie&&window.attachEvent("onunload",function(){for(var a=w.length,b=0;b<a;b++)w[b][0].detachEvent(w[b][1],w[b][2]);a=F.length;for(b=0;b<a;b++)T(F[b]);for(var c in e)e[c]=null;e=null;for(var d in swfobject)swfobject[d]=null;swfobject=null})})();return{registerObject:function(a,
b,c,d){if(e.w3&&a&&b){var f={};f.id=a;f.swfVersion=b;f.expressInstall=c;f.callbackFn=d;m[m.length]=f;v(a,!1)}else d&&d({success:!1,id:a})},getObjectById:function(a){if(e.w3)return H(a)},embedSWF:function(a,b,c,d,f,g,h,k,l,m){var n=D(b)?b.id:b,o={success:!1,id:n};e.w3&&!(e.wk&&312>e.wk)&&a&&b&&c&&d&&f?(v(n,!1),Q(function(){c+="";d+="";var e={};if(l&&typeof l===s)for(var r in l)e[r]=l[r];e.data=a;e.width=c;e.height=d;r={};if(k&&typeof k===s)for(var p in k)r[p]=k[p];if(h&&typeof h===s)for(var u in h)if(h.hasOwnProperty(u)){p=
P?encodeURIComponent(u):u;var q=P?encodeURIComponent(h[u]):h[u];r.flashvars=typeof r.flashvars!=i?r.flashvars+("&"+p+"="+q):p+"="+q}if(B(f))u=N(e,r,b),e.id==n&&v(n,!0),o.success=!0,o.ref=u,o.id=u.id;else{if(g&&I()){e.data=g;J(e,r,b,m);return}v(n,!0)}m&&m(o)})):m&&m(o)},switchOffAutoHideShow:function(){V=!1},enableUriEncoding:function(a){P=typeof a===i?!0:a},ua:e,getFlashPlayerVersion:function(){return{major:e.pv[0],minor:e.pv[1],release:e.pv[2]}},hasFlashPlayerVersion:B,createSWF:function(a,b,c){if(e.w3)return N(a,
b,c)},showExpressInstall:function(a,b,c,d){e.w3&&I()&&J(a,b,c,d)},removeSWF:function(a){e.w3&&T(a)},createCSS:function(a,b,c,d){e.w3&&U(a,b,c,d)},addDomLoadEvent:Q,addLoadEvent:function(a){if(typeof l.addEventListener!=i)l.addEventListener("load",a,!1);else if(typeof g.addEventListener!=i)g.addEventListener("load",a,!1);else if(typeof l.attachEvent!=i)Z(l,"onload",a);else if("function"==typeof l.onload){var b=l.onload;l.onload=function(){b();a()}}else l.onload=a},getQueryParamValue:function(a){var b=
g.location.search||g.location.hash;if(b){/\?/.test(b)&&(b=b.split("?")[1]);if(null==a)return W(b);for(var b=b.split("&"),c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return W(b[c].substring(b[c].indexOf("=")+1))}return""},expressInstallCallback:function(){if(C){var a=o(S);if(a&&z){a.parentNode.replaceChild(z,a);if(E&&(v(E,!0),e.ie))z.style.display="block";M&&M(R)}C=!1}}}}();
