var swfobject=function(){function J(a){if(!a)return"";var b=a.childNodes;var c=b.length;for(var d=0;d<c;d++){if(b[d].nodeType==1&&b[d].nodeName.toLowerCase()=="object"){b=b[d].childNodes;c=b.length;d=0}if(b[d].nodeType==1&&b[d].nodeName.toLowerCase()=="param"&&b[d].getAttribute("name")=="expressinstall"){return b[d].getAttribute("value")}}return""}function I(a){if(!a)return 0;var b=a.childNodes;var c=b.length;for(var d=0;d<c;d++){if(b[d].nodeType==1&&b[d].nodeName.toLowerCase()=="object"){b=b[d].childNodes;c=b.length;d=0}if(b[d].nodeType==1&&b[d].nodeName.toLowerCase()=="param"&&b[d].getAttribute("name")=="swfversion"){return b[d].getAttribute("value")}}return 0}function H(a,b){var c=b?"visible":"hidden";if(o){D(a).style.visibility=c}else{G("#"+a,"visibility:"+c)}}function G(c,d){if(q.ie&&q.mac){return}var e=h.getElementsByTagName("head")[0],f=E("style");f.setAttribute("type","text/css");f.setAttribute("media","screen");if(!(q.ie&&q.win)&&typeof h.createTextNode!=a){f.appendChild(h.createTextNode(c+" {"+d+"}"))}e.appendChild(f);if(q.ie&&q.win&&typeof h.styleSheets!=a&&h.styleSheets.length>0){var g=h.styleSheets[h.styleSheets.length-1];if(typeof g.addRule==b){g.addRule(c,d)}}}function F(a){var b=q.pv,c=a.split(".");c[0]=parseInt(c[0],10);c[1]=parseInt(c[1],10);c[2]=parseInt(c[2],10);return b[0]>c[0]||b[0]==c[0]&&b[1]>c[1]||b[0]==c[0]&&b[1]==c[1]&&b[2]>=c[2]?true:false}function E(a){return h.createElement(a)}function D(a){return h.getElementById(a)}function C(a,b,c){var d=E("param");d.setAttribute("name",b);d.setAttribute("value",c);a.appendChild(d)}function B(c,d,f){var g,h=D(f);if(typeof c.id==a){c.id=f}if(q.ie&&q.win){var i="";for(var j in c){if(c[j]!=Object.prototype[j]){if(j=="data"){d.movie=c[j]}else if(j.toLowerCase()=="styleclass"){i+=' class="'+c[j]+'"'}else if(j!="classid"){i+=" "+j+'="'+c[j]+'"'}}}var k="";for(var l in d){if(d[l]!=Object.prototype[l]){k+='<param name="'+l+'" value="'+d[l]+'" />'}}h.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+i+">"+k+"</object>";x(c.id);g=D(c.id)}else if(q.webkit&&q.webkit<312){var m=E("embed");m.setAttribute("type",e);for(var n in c){if(c[n]!=Object.prototype[n]){if(n=="data"){m.setAttribute("src",c[n])}else if(n.toLowerCase()=="styleclass"){m.setAttribute("class",c[n])}else if(n!="classid"){m.setAttribute(n,c[n])}}}for(var o in d){if(d[o]!=Object.prototype[o]){if(o!="movie"){m.setAttribute(o,d[o])}}}h.parentNode.replaceChild(m,h);g=m}else{var p=E(b);p.setAttribute("type",e);for(var r in c){if(c[r]!=Object.prototype[r]){if(r.toLowerCase()=="styleclass"){p.setAttribute("class",c[r])}else if(r!="classid"){p.setAttribute(r,c[r])}}}for(var s in d){if(d[s]!=Object.prototype[s]&&s!="movie"){C(p,s,d[s])}}h.parentNode.replaceChild(p,h);g=p}return g}function A(a){var c=E("div");if(q.win&&q.ie){c.innerHTML=a.innerHTML}else{var d=a.getElementsByTagName(b)[0];if(d){var e=d.childNodes;if(e){var f=e.length;for(var g=0;g<f;g++){if(!(e[g].nodeType==1&&e[g].nodeName.toLowerCase()=="param")&&!(e[g].nodeType==8)){c.appendChild(e[g].cloneNode(true))}}}}}return c}function z(a){if(q.ie&&q.win&&a.readyState!=4){var b=E("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(A(a),b);a.style.display="none";g.attachEvent("onload",function(){a.parentNode.removeChild(a)})}else{a.parentNode.replaceChild(A(a),a)}}function y(a){p=true;var b=D(a.id);if(b){if(a.altContentId){var c=D(a.altContentId);if(c){m=c;n=a.altContentId}}else{m=A(b)}if(!/%$/.test(a.width)&&parseInt(a.width,10)<310){a.width="310"}if(!/%$/.test(a.height)&&parseInt(a.height,10)<137){a.height="137"}h.title=h.title.slice(0,47)+" - Flash Player Installation";var d=q.ie&&q.win?"ActiveX":"PlugIn",e=h.title,i="MMredirectURL="+g.location+"&MMplayerType="+d+"&MMdoctitle="+e,j=a.id;if(q.ie&&q.win&&b.readyState!=4){var k=E("div");j+="SWFObjectNew";k.setAttribute("id",j);b.parentNode.insertBefore(k,b);b.style.display="none";g.attachEvent("onload",function(){b.parentNode.removeChild(b)})}B({data:a.expressInstall,id:f,width:a.width,height:a.height},{flashvars:i},j)}}function x(a){if(q.ie&&q.win&&F("8.0.0")){g.attachEvent("onunload",function(){var b=D(a);if(b){for(var c in b){if(typeof b[c]=="function"){b[c]=function(){}}}b.parentNode.removeChild(b)}})}}function w(a){var c=a.getElementsByTagName(b)[0];if(c){var d=E("embed"),e=c.attributes;if(e){var f=e.length;for(var g=0;g<f;g++){if(e[g].nodeName.toLowerCase()=="data"){d.setAttribute("src",e[g].nodeValue)}else{d.setAttribute(e[g].nodeName,e[g].nodeValue)}}}var h=c.childNodes;if(h){var i=h.length;for(var j=0;j<i;j++){if(h[j].nodeType==1&&h[j].nodeName.toLowerCase()=="param"){d.setAttribute(h[j].getAttribute("name"),h[j].getAttribute("value"))}}}a.parentNode.replaceChild(d,a)}}function v(){var a=k.length;for(var b=0;b<a;b++){var c=k[b].id;if(q.pv[0]>0){var d=D(c);if(d){k[b].width=d.getAttribute("width")?d.getAttribute("width"):"0";k[b].height=d.getAttribute("height")?d.getAttribute("height"):"0";if(F(k[b].swfVersion)){if(q.webkit&&q.webkit<312){w(d)}H(c,true)}else if(k[b].expressInstall&&!p&&F("6.0.65")&&(q.win||q.mac)){y(k[b])}else{z(d)}}}else{H(c,true)}}}function u(b){if(typeof g.addEventListener!=a){g.addEventListener("load",b,false)}else if(typeof h.addEventListener!=a){h.addEventListener("load",b,false)}else if(typeof g.attachEvent!=a){g.attachEvent("onload",b)}else if(typeof g.onload=="function"){var c=g.onload;g.onload=function(){c();b()}}else{g.onload=b}}function t(a){if(o){a()}else{j[j.length]=a}}function s(){if(o){return}if(q.ie&&q.win){var a=E("span");try{var b=h.getElementsByTagName("body")[0].appendChild(a);b.parentNode.removeChild(b)}catch(c){return}}o=true;if(l){clearInterval(l);l=null}var d=j.length;for(var e=0;e<d;e++){j[e]()}}var a="undefined",b="object",c="Shockwave Flash",d="ShockwaveFlash.ShockwaveFlash",e="application/x-shockwave-flash",f="SWFObjectExprInst",g=window,h=document,i=navigator,j=[],k=[],l=null,m=null,n=null,o=false,p=false;var q=function(){var e=typeof h.getElementById!=a&&typeof h.getElementsByTagName!=a&&typeof h.createElement!=a&&typeof h.appendChild!=a&&typeof h.replaceChild!=a&&typeof h.removeChild!=a&&typeof h.cloneNode!=a,f=[0,0,0],j=null;if(typeof i.plugins!=a&&typeof i.plugins[c]==b){j=i.plugins[c].description;if(j){j=j.replace(/^.*\s+(\S+\s+\S+$)/,"$1");f[0]=parseInt(j.replace(/^(.*)\..*$/,"$1"),10);f[1]=parseInt(j.replace(/^.*\.(.*)\s.*$/,"$1"),10);f[2]=/r/.test(j)?parseInt(j.replace(/^.*r(.*)$/,"$1"),10):0}}else if(typeof g.ActiveXObject!=a){var k=null,l=false;try{k=new ActiveXObject(d+".7")}catch(m){try{k=new ActiveXObject(d+".6");f=[6,0,21];k.AllowScriptAccess="always"}catch(m){if(f[0]==6){l=true}}if(!l){try{k=new ActiveXObject(d)}catch(m){}}}if(!l&&k){try{j=k.GetVariable("$version");if(j){j=j.split(" ")[1].split(",");f=[parseInt(j[0],10),parseInt(j[1],10),parseInt(j[2],10)]}}catch(m){}}}var n=i.userAgent.toLowerCase(),o=i.platform.toLowerCase(),p=/webkit/.test(n)?parseFloat(n.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,r=o?/win/.test(o):/win/.test(n),s=o?/mac/.test(o):/mac/.test(n);return{w3cdom:e,pv:f,webkit:p,ie:q,win:r,mac:s}}();var r=function(){if(!q.w3cdom){return}t(v);if(q.ie&&q.win){try{h.write("<scr"+"ipt id=__ie_ondomload defer=true src=//:></scr"+"ipt>");var b=D("__ie_ondomload");if(b){b.onreadystatechange=function(){if(this.readyState=="complete"){this.parentNode.removeChild(this);s()}}}}catch(c){}}if(q.webkit&&typeof h.readyState!=a){l=setInterval(function(){if(/loaded|complete/.test(h.readyState)){s()}},10)}if(typeof h.addEventListener!=a){h.addEventListener("DOMContentLoaded",s,null)}u(s)}();return{registerObject:function(a,b,c){if(!q.w3cdom||!a){return}var d=document.getElementById(a);var e=J(d);var f={};f.id=a;f.swfVersion=b?b:I(d);f.expressInstall=c?c:e!=""?e:false;k[k.length]=f;H(a,false)},getObjectById:function(c){var d=null;if(q.w3cdom&&o){var e=D(c);if(e){var f=e.getElementsByTagName(b)[0];if(!f||f&&typeof e.SetVariable!=a){d=e}else if(typeof f.SetVariable!=a){d=f}}}return d},embedSWF:function(c,d,e,f,g,h,i,j,k){if(!q.w3cdom||!c||!d||!e||!f||!g){return}e+="";f+="";if(F(g)){H(d,false);var l=typeof k==b?k:{};l.data=c;l.width=e;l.height=f;var m=typeof j==b?j:{};if(typeof i==b){for(var n in i){if(i[n]!=Object.prototype[n]){if(typeof m.flashvars!=a){m.flashvars+="&"+n+"="+i[n]}else{m.flashvars=n+"="+i[n]}}}}t(function(){B(l,m,d);if(l.id==d){H(d,true)}})}else if(h&&!p&&F("6.0.65")&&(q.win||q.mac)){H(d,false);t(function(){var a={};a.id=a.altContentId=d;a.width=e;a.height=f;a.expressInstall=h;y(a)})}},getFlashPlayerVersion:function(){return{major:q.pv[0],minor:q.pv[1],release:q.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(a,b,c){if(q.w3cdom&&o){return B(a,b,c)}else{return undefined}},createCSS:function(a,b){if(q.w3cdom){G(a,b)}},addDomLoadEvent:t,addLoadEvent:u,getQueryParamValue:function(a){var b=h.location.search||h.location.hash;if(a==null){return b}if(b){var c=b.substring(1).split("&");for(var d=0;d<c.length;d++){if(c[d].substring(0,c[d].indexOf("="))==a){return c[d].substring(c[d].indexOf("=")+1)}}}return""},expressInstallCallback:function(){if(p&&m){var a=D(f);if(a){a.parentNode.replaceChild(m,a);if(n){H(n,true);if(q.ie&&q.win){m.style.display="block"}}m=null;n=null;p=false}}}}}()
