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