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