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

