var swfobject=function(){var au="undefined",az="object",Z="Shockwave Flash",ad="ShockwaveFlash.ShockwaveFlash",aC="application/x-shockwave-flash",Y="SWFObjectExprInst",ax="onreadystatechange",al=window,aH=document,aF=navigator,ae=false,af=[aJ],aM=[],ak=[],aj=[],aN,ab,av,ao,ag=false,aR=false,aL,at,aO=true,an=function(){var b=typeof aH.getElementById!=au&&typeof aH.getElementsByTagName!=au&&typeof aH.createElement!=au,i=aF.userAgent.toLowerCase(),g=aF.platform.toLowerCase(),k=g?/win/.test(g):/win/.test(i),j=g?/mac/.test(g):/mac/.test(i),a=/webkit/.test(i)?parseFloat(i.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,f=!+"\v1",e=[0,0,0],d=null;if(typeof aF.plugins!=au&&typeof aF.plugins[Z]==az){d=aF.plugins[Z].description;if(d&&!(typeof aF.mimeTypes!=au&&aF.mimeTypes[aC]&&!aF.mimeTypes[aC].enabledPlugin)){ae=true;f=false;d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");e[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);e[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);e[2]=/[a-zA-Z]/.test(d)?parseInt(d.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof al.ActiveXObject!=au){try{var c=new ActiveXObject(ad);if(c){d=c.GetVariable("$version");if(d){f=true;d=d.split(" ")[1].split(",");e=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)]}}}catch(h){}}}return{w3:b,pv:e,wk:a,ie:f,win:k,mac:j}}(),aI=function(){if(!an.w3){return}if((typeof aH.readyState!=au&&aH.readyState=="complete")||(typeof aH.readyState==au&&(aH.getElementsByTagName("body")[0]||aH.body))){aS()}if(!ag){if(typeof aH.addEventListener!=au){aH.addEventListener("DOMContentLoaded",aS,false)}if(an.ie&&an.win){aH.attachEvent(ax,function(){if(aH.readyState=="complete"){aH.detachEvent(ax,arguments.callee);aS()}});if(al==top){(function(){if(ag){return}try{aH.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}aS()})()}}if(an.wk){(function(){if(ag){return}if(!/loaded|complete/.test(aH.readyState)){setTimeout(arguments.callee,0);return}aS()})()}aA(aS)}}();function aS(){if(ag){return}try{var a=aH.getElementsByTagName("body")[0].appendChild(ap("span"));a.parentNode.removeChild(a)}catch(d){return}ag=true;var b=af.length;for(var c=0;c<b;c++){af[c]()}}function ah(a){if(ag){a()}else{af[af.length]=a}}function aA(b){if(typeof al.addEventListener!=au){al.addEventListener("load",b,false)}else{if(typeof aH.addEventListener!=au){aH.addEventListener("load",b,false)}else{if(typeof al.attachEvent!=au){aK(al,"onload",b)}else{if(typeof al.onload=="function"){var a=al.onload;al.onload=function(){a();b()}}else{al.onload=b}}}}}function aJ(){if(ae){ac()}else{ai()}}function ac(){var b=aH.getElementsByTagName("body")[0];var d=ap(az);d.setAttribute("type",aC);var a=b.appendChild(d);if(a){var c=0;(function(){if(typeof a.GetVariable!=au){var e=a.GetVariable("$version");if(e){e=e.split(" ")[1].split(",");an.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)]}}else{if(c<10){c++;setTimeout(arguments.callee,10);return}}b.removeChild(d);a=null;ai()})()}else{ai()}}function ai(){var a=aM.length;if(a>0){for(var l=0;l<a;l++){var f=aM[l].id;var d=aM[l].callbackFn;var b={success:false,id:f};if(an.pv[0]>0){var k=aQ(f);if(k){if(ar(aM[l].swfVersion)&&!(an.wk&&an.wk<312)){aE(f,true);if(d){b.success=true;b.ref=aw(f);d(b)}}else{if(aM[l].expressInstall&&aq()){var i={};i.data=aM[l].expressInstall;i.width=k.getAttribute("width")||"0";i.height=k.getAttribute("height")||"0";if(k.getAttribute("class")){i.styleclass=k.getAttribute("class")}if(k.getAttribute("align")){i.align=k.getAttribute("align")}var h={};var e=k.getElementsByTagName("param");var j=e.length;for(var c=0;c<j;c++){if(e[c].getAttribute("name").toLowerCase()!="movie"){h[e[c].getAttribute("name")]=e[c].getAttribute("value")}}aa(i,h,f,d)}else{aB(k);if(d){d(b)}}}}}else{aE(f,true);if(d){var g=aw(f);if(g&&typeof g.SetVariable!=au){b.success=true;b.ref=g}d(b)}}}}}function aw(d){var b=null;var c=aQ(d);if(c&&c.nodeName=="OBJECT"){if(typeof c.SetVariable!=au){b=c}else{var a=c.getElementsByTagName(az)[0];if(a){b=a}}}return b}function aq(){return !aR&&ar("6.0.65")&&(an.win||an.mac)&&!(an.wk&&an.wk<312)}function aa(b,c,e,d){aR=true;av=d||null;ao={success:false,id:e};var h=aQ(e);if(h){if(h.nodeName=="OBJECT"){aN=aT(h);ab=null}else{aN=h;ab=e}b.id=Y;if(typeof b.width==au||(!/%$/.test(b.width)&&parseInt(b.width,10)<310)){b.width="310"}if(typeof b.height==au||(!/%$/.test(b.height)&&parseInt(b.height,10)<137)){b.height="137"}aH.title=aH.title.slice(0,47)+" - Flash Player Installation";var a=an.ie&&an.win?"ActiveX":"PlugIn",g="MMredirectURL="+al.location.toString().replace(/&/g,"%26")+"&MMplayerType="+a+"&MMdoctitle="+aH.title;if(typeof c.flashvars!=au){c.flashvars+="&"+g}else{c.flashvars=g}if(an.ie&&an.win&&h.readyState!=4){var f=ap("div");e+="SWFObjectNew";f.setAttribute("id",e);h.parentNode.insertBefore(f,h);h.style.display="none";(function(){if(h.readyState==4){h.parentNode.removeChild(h)}else{setTimeout(arguments.callee,10)}})()}aG(b,c,e)}}function aB(b){if(an.ie&&an.win&&b.readyState!=4){var a=ap("div");b.parentNode.insertBefore(a,b);a.parentNode.replaceChild(aT(b),a);b.style.display="none";(function(){if(b.readyState==4){b.parentNode.removeChild(b)}else{setTimeout(arguments.callee,10)}})()}else{b.parentNode.replaceChild(aT(b),b)}}function aT(a){var f=ap("div");if(an.win&&an.ie){f.innerHTML=a.innerHTML}else{var e=a.getElementsByTagName(az)[0];if(e){var d=e.childNodes;if(d){var c=d.length;for(var b=0;b<c;b++){if(!(d[b].nodeType==1&&d[b].nodeName=="PARAM")&&!(d[b].nodeType==8)){f.appendChild(d[b].cloneNode(true))}}}}}return f}function aG(i,a,g){var f,b=aQ(g);if(an.wk&&an.wk<312){return f}if(b){if(typeof i.id==au){i.id=g}if(an.ie&&an.win){var h="";for(var k in i){if(i[k]!=Object.prototype[k]){if(k.toLowerCase()=="data"){a.movie=i[k]}else{if(k.toLowerCase()=="styleclass"){h+=' class="'+i[k]+'"'}else{if(k.toLowerCase()!="classid"){h+=" "+k+'="'+i[k]+'"'}}}}}var l="";for(var c in a){if(a[c]!=Object.prototype[c]){l+='<param name="'+c+'" value="'+a[c]+'" />'}}b.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+h+">"+l+"</object>";ak[ak.length]=i.id;f=aQ(i.id)}else{var e=ap(az);e.setAttribute("type",aC);for(var j in i){if(i[j]!=Object.prototype[j]){if(j.toLowerCase()=="styleclass"){e.setAttribute("class",i[j])}else{if(j.toLowerCase()!="classid"){e.setAttribute(j,i[j])}}}}for(var d in a){if(a[d]!=Object.prototype[d]&&d.toLowerCase()!="movie"){X(e,d,a[d])}}b.parentNode.replaceChild(e,b);f=e}}return f}function X(a,b,c){var d=ap("param");d.setAttribute("name",b);d.setAttribute("value",c);a.appendChild(d)}function ay(b){var a=aQ(b);if(a&&a.nodeName=="OBJECT"){if(an.ie&&an.win){a.style.display="none";(function(){if(a.readyState==4){aP(b)}else{setTimeout(arguments.callee,10)}})()}else{a.parentNode.removeChild(a)}}}function aP(a){var c=aQ(a);if(c){for(var b in c){if(typeof c[b]=="function"){c[b]=null}}c.parentNode.removeChild(c)}}function aQ(a){var b=null;try{b=aH.getElementById(a)}catch(c){}return b}function ap(a){return aH.createElement(a)}function aK(a,b,c){a.attachEvent(b,c);aj[aj.length]=[a,b,c]}function ar(a){var c=an.pv,b=a.split(".");b[0]=parseInt(b[0],10);b[1]=parseInt(b[1],10)||0;b[2]=parseInt(b[2],10)||0;return(c[0]>b[0]||(c[0]==b[0]&&c[1]>b[1])||(c[0]==b[0]&&c[1]==b[1]&&c[2]>=b[2]))?true:false}function aD(b,f,e,a){if(an.ie&&an.mac){return}var g=aH.getElementsByTagName("head")[0];if(!g){return}var d=(e&&typeof e=="string")?e:"screen";if(a){aL=null;at=null}if(!aL||at!=d){var c=ap("style");c.setAttribute("type","text/css");c.setAttribute("media",d);aL=g.appendChild(c);if(an.ie&&an.win&&typeof aH.styleSheets!=au&&aH.styleSheets.length>0){aL=aH.styleSheets[aH.styleSheets.length-1]}at=d}if(an.ie&&an.win){if(aL&&typeof aL.addRule==az){aL.addRule(b,f)}}else{if(aL&&typeof aH.createTextNode!=au){aL.appendChild(aH.createTextNode(b+" {"+f+"}"))}}}function aE(a,b){if(!aO){return}var c=b?"visible":"hidden";if(ag&&aQ(a)){aQ(a).style.visibility=c}else{aD("#"+a,"visibility:"+c)}}function am(c){var a=/[\\\"<>\.;]/;var b=a.exec(c)!=null;return b&&typeof encodeURIComponent!=au?encodeURIComponent(c):c}var aU=function(){if(an.ie&&an.win){window.attachEvent("onunload",function(){var b=aj.length;for(var a=0;a<b;a++){aj[a][0].detachEvent(aj[a][1],aj[a][2])}var c=ak.length;for(var f=0;f<c;f++){ay(ak[f])}for(var e in an){an[e]=null}an=null;for(var d in swfobject){swfobject[d]=null}swfobject=null})}}();return{registerObject:function(a,c,e,b){if(an.w3&&a&&c){var d={};d.id=a;d.swfVersion=c;d.expressInstall=e;d.callbackFn=b;aM[aM.length]=d;aE(a,false)}else{if(b){b({success:false,id:a})}}},getObjectById:function(a){if(an.w3){return aw(a)}},embedSWF:function(i,h,j,a,f,b,d,c,k,e){var g={success:false,id:h};if(an.w3&&!(an.wk&&an.wk<312)&&i&&h&&j&&a&&f){aE(h,false);ah(function(){j+="";a+="";var o={};if(k&&typeof k===az){for(var q in k){o[q]=k[q]}}o.data=i;o.width=j;o.height=a;var l={};if(c&&typeof c===az){for(var p in c){l[p]=c[p]}}if(d&&typeof d===az){for(var m in d){if(typeof l.flashvars!=au){l.flashvars+="&"+m+"="+d[m]}else{l.flashvars=m+"="+d[m]}}}if(ar(f)){var n=aG(o,l,h);if(o.id==h){aE(h,true)}g.success=true;g.ref=n}else{if(b&&aq()){o.data=b;aa(o,l,h,e);return}else{aE(h,true)}}if(e){e(g)}})}else{if(e){e(g)}}},switchOffAutoHideShow:function(){aO=false},ua:an,getFlashPlayerVersion:function(){return{major:an.pv[0],minor:an.pv[1],release:an.pv[2]}},hasFlashPlayerVersion:ar,createSWF:function(a,c,b){if(an.w3){return aG(a,c,b)}else{return undefined}},showExpressInstall:function(a,d,b,c){if(an.w3&&aq()){aa(a,d,b,c)}},removeSWF:function(a){if(an.w3){ay(a)}},createCSS:function(d,a,c,b){if(an.w3){aD(d,a,c,b)}},addDomLoadEvent:ah,addLoadEvent:aA,getQueryParamValue:function(d){var a=aH.location.search||aH.location.hash;if(a){if(/\?/.test(a)){a=a.split("?")[1]}if(d==null){return am(a)}var c=a.split("&");for(var b=0;b<c.length;b++){if(c[b].substring(0,c[b].indexOf("="))==d){return am(c[b].substring((c[b].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(aR){var a=aQ(Y);if(a&&aN){a.parentNode.replaceChild(aN,a);if(ab){aE(ab,true);if(an.ie&&an.win){aN.style.display="block"}}if(av){av(ao)}}aR=false}}}}();if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(o,k,d,i,j,l,g,e,n,m,f){if(!document.getElementById){return}this.DETECT_KEY=f?f:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(o){this.setAttribute("swf",o)}if(k){this.setAttribute("id",k)}if(d){this.setAttribute("width",d)}if(i){this.setAttribute("height",i)}if(j){this.setAttribute("version",new deconcept.PlayerVersion(j.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(l){this.addParam("bgcolor",l)}var b=e?e:"high";this.addParam("quality",b);this.setAttribute("useExpressInstall",g);this.setAttribute("doExpressInstall",false);var a=(n)?n:window.location;this.setAttribute("xiRedirectUrl",a);this.setAttribute("redirectUrl","");if(m){this.setAttribute("redirectUrl",m)}};deconcept.SWFObject.prototype={setAttribute:function(b,a){this.attributes[b]=a},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=new Array();var b;var c=this.getVariables();for(b in c){a.push(b+"="+c[b])}return a},getSWFHTML:function(){var f="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}f='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';f+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var d=this.getParams();for(var b in d){f+=[b]+'="'+d[b]+'" '}var a=this.getVariablePairs().join("&");if(a.length>0){f+='flashvars="'+a+'"'}f+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}f='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';f+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var c=this.getParams();for(var b in c){f+='<param name="'+b+'" value="'+c[b]+'" />'}var e=this.getVariablePairs().join("&");if(e.length>0){f+='<param name="flashvars" value="'+e+'" />'}f+="</object>"}return f},write:function(c){if(this.getAttribute("useExpressInstall")){var b=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(b)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var a=(typeof c=="string")?document.getElementById(c):c;a.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var c=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var d=navigator.plugins["Shockwave Flash"];if(d&&d.description){c=new deconcept.PlayerVersion(d.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(b){try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");c=new deconcept.PlayerVersion([6,0,21]);a.AllowScriptAccess="always"}catch(b){if(c.major==6){return c}}try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(b){}}if(a!=null){c=new deconcept.PlayerVersion(a.GetVariable("$version").split(" ")[1].split(","))}}return c};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(a){var c=document.location.search||document.location.hash;if(c){var d=c.substring(1).split("&");for(var b=0;b<d.length;b++){if(d[b].substring(0,d[b].indexOf("="))==a){return d[b].substring((d[b].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return}var c=document.getElementsByTagName("OBJECT");for(var a=0;a<c.length;a++){c[a].style.display="none";for(var b in c[a]){if(typeof c[a][b]=="function"){c[a][b]=function(){}}}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var a=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();a()}}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs}};if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){deconcept.SWFObjectUtil.prepUnload();oldBeforeUnload()}}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload}if(Array.prototype.push==null){Array.prototype.push=function(a){this[this.length]=a;return this.length}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;function setCookie(a,c,d){var b=new Date();b.setDate(b.getDate()+d);document.cookie=a+"="+escape(c)+((d==null)?"":";expires="+b.toUTCString())}function getCookie(a){if(document.cookie.length>0){c_start=document.cookie.indexOf(a+"=");if(c_start!=-1){c_start=c_start+a.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1){c_end=document.cookie.length}return unescape(document.cookie.substring(c_start,c_end))}}return""};
