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