var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);
/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/
return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return}f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S)}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null)}R(E)}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E()}}function E(){if(e){return}if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u)}catch(w){return}}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r<q;r++){o[r]()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false)}else{if(typeof j.attachEvent!=b){I(j,"onload",r)}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r)}W(u,true)}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q])}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue)}else{w.setAttribute(y[u].nodeName,y[u].nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310"}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137"}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u)};I(j,"onload",v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t)};I(j,"onload",q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB]}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"'}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"'}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />'}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z])}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z])}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z])}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y])}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x])}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x])}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w])}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u)}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r)}else{j.attachEvent("onload",function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false}function V(v,r){if(h.ie&&h.mac){return}var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"))}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r)}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r}else{V("#"+t,"visibility:"+r)}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2])}var t=i.length;for(var u=0;u<t;u++){X(i[u])}for(var r in h){h[r]=null}h=null;for(var q in swfobject){swfobject[q]=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return}var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return}AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v]}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u]}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t]}else{y.flashvars=t+"="+r[t]}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block"}}M=null;l=null;A=false}}}}}();if(typeof com=="undefined"){var com={}}if(typeof com.asual=="undefined"){com.asual={}}if(typeof com.asual.util=="undefined"){com.asual.util={}}com.asual.util.Browser=new function(){var b=-1;var d=navigator.userAgent;var j=false,h=false,f=false,a=false,c=false,g=false,k=false;var e=function(m,l){return parseFloat(d.substr(d.indexOf(m)+l))};if(j=/MSIE/.test(d)){b=e("MSIE",4)}if(f=/AppleWebKit/.test(d)){b=e("Safari",7)}if(a=/Opera/.test(d)){b=parseFloat(navigator.appVersion)}if(h=/Camino/.test(d)){b=e("Camino",7)}if(c=/Firefox/.test(d)){b=e("Firefox",8)}if(g=/Netscape/.test(d)){b=e("Netscape",9)}if(k=/Mozilla/.test(d)&&/rv:/.test(d)){b=e("rv:",3)}this.getVersion=function(){return b};this.isIE=function(){return j};this.isSafari=function(){return f};this.isOpera=function(){return a};this.isCamino=function(){return h};this.isFirefox=function(){return c};this.isNetscape=function(){return g};this.isMozilla=function(){return k}};com.asual.util.Events=new function(){var c=[];var a=com.asual.util.Browser;var d="DOMContentLoaded";if(a.isIE()||a.isSafari()){(function(){try{if(a.isIE()||!/loaded|complete/.test(document.readyState)){document.documentElement.doScroll("left")}}catch(g){return setTimeout(arguments.callee,0)}for(var f=0,g;g=c[f];f++){if(g.t==d){g.l.call(null)}}})()}this.addListener=function(g,e,f){c.push({o:g,t:e,l:f});if(!(e==d&&(a.isIE()||a.isSafari()))){if(g.addEventListener){g.addEventListener(e,f,false)}else{if(g.attachEvent){g.attachEvent("on"+e,f)}}}};this.removeListener=function(k,g,h){for(var f=0,j;j=c[f];f++){if(j.o==k&&j.t==g&&j.l==h){c.splice(f,1);break}}if(!(g==d&&(a.isIE()||a.isSafari()))){if(k.removeEventListener){k.removeEventListener(g,h,false)}else{if(k.detachEvent){k.detachEvent("on"+g,h)}}}};var b=function(){for(var f=0,e;e=c[f];f++){if(e.t!=d){com.asual.util.Events.removeListener(e.o,e.t,e.l)}}};this.addListener(window,"unload",b)};SWFAddressEvent=function(c){this.toString=function(){return"[object SWFAddressEvent]"};this.type=c;this.target=[SWFAddress][0];this.value=SWFAddress.getValue();this.path=SWFAddress.getPath();this.pathNames=SWFAddress.getPathNames();this.parameters={};var d=SWFAddress.getParameterNames();for(var b=0,a=d.length;b<a;b++){this.parameters[d[b]]=SWFAddress.getParameter(d[b])}this.parametersNames=d};SWFAddressEvent.INIT="init";SWFAddressEvent.CHANGE="change";SWFAddress=new function(){var _browser=com.asual.util.Browser;var _events=com.asual.util.Events;var _version=_browser.getVersion();var _supported=false;if(_browser.isIE()){_supported=_version>=6}if(_browser.isSafari()){_supported=_version>=312}if(_browser.isOpera()){_supported=_version>=9.02}if(_browser.isCamino()){_supported=_version>=1}if(_browser.isFirefox()){_supported=_version>=1}if(_browser.isNetscape()){_supported=_version>=8}if(_browser.isMozilla()){_supported=_version>=1.8}var _t=top;var _d=_t.document;var _h=_t.history;var _l=_t.location;var _st=setTimeout;var FUNCTION="function";var UNDEFINED="undefined";var SWFADDRESS="swfaddress";var _iframe,_form,_url;var _title=_d.title;var _length=_h.length;var _silent=false;var _listeners={};var _stack=[];var _ids=[];var _opts={};_opts.history=true;_opts.html=false;_opts.strict=true;_opts.tracker="_trackDefault";if((!_supported&&_l.href.indexOf("#")!=-1)||(_browser.isSafari()&&_version<412&&_l.href.indexOf("#")!=-1&&_l.search!="")){_d.open();_d.write('<html><head><meta http-equiv="refresh" content="0;url='+_l.href.substr(0,_l.href.indexOf("#"))+'" /></head></html>');_d.close()}var _getHash=function(){var index=_l.href.indexOf("#");if(index!=-1){var hash=unescape(_l.href.substr(index+1));if(/^[a-z0-9 ,=_&\-\.\?\+\/]*$/i.test(hash)){return hash}else{_l.replace(_l.href.substr(0,index))}}return""};var _value=_getHash();var _strictCheck=function(value,force){if(_opts.strict){value=force?(value.substr(0,1)!="/"?"/"+value:value):(value==""?"/":value)}return value};var _ieLocal=function(value){return(_browser.isIE()&&_l.protocol=="file:")?_value.replace(/\?/,"%3F"):value};var _searchScript=function(el){if(el.src&&/swfaddress\.js(\?.*)?$/.test(el.src)){return el}for(var i=0,l=el.childNodes.length,s;i<l;i++){if(s=_searchScript(el.childNodes[i])){return s}}};var _titleCheck=function(){if(_browser.isIE()&&_d.title!=_title){SWFAddress.setTitle(_title)}};var _listen=function(){if(!_silent){var hash=_getHash();if(_browser.isIE()){if(_value!=hash){if(_version<7){_l.reload()}else{SWFAddress.setValue(hash)}}}else{if(_browser.isSafari()&&_version<523){if(_length!=_h.length){_length=_h.length;if(typeof _stack[_length-1]!=UNDEFINED){_value=_stack[_length-1]}_update()}}else{if(_value!=hash){_value=hash;_update()}}}_titleCheck()}};var _jsDispatch=function(type){if(SWFAddress.hasEventListener(type)){SWFAddress.dispatchEvent(new SWFAddressEvent(type))}type=type.substr(0,1).toUpperCase()+type.substr(1);if(typeof SWFAddress["on"+type]==FUNCTION){SWFAddress["on"+type]()}};var _jsInit=function(){_jsDispatch("init")};var _jsChange=function(){_jsDispatch("change")};var _swfChange=function(){for(var i=0,id,value=SWFAddress.getValue(),setter="setSWFAddressValue";id=_ids[i];i++){var obj=document.getElementById(id);if(obj){if(obj.parentNode&&typeof obj.parentNode.so!=UNDEFINED){obj.parentNode.so.call(setter,value)}else{if(!(obj&&typeof obj[setter]!=UNDEFINED)){var objects=obj.getElementsByTagName("object");var embeds=obj.getElementsByTagName("embed");obj=((objects[0]&&typeof objects[0][setter]!=UNDEFINED)?objects:((embeds[0]&&typeof embeds[0][setter]!=UNDEFINED)?embeds[0]:null))}if(obj){obj[setter](value)}}}else{if(obj=document[id]){if(typeof obj[setter]!=UNDEFINED){obj[setter](value)}}}}};var _update=function(){_swfChange();_jsChange();_st(_track,10)};var _trackDefault=function(value){if(typeof urchinTracker==FUNCTION){urchinTracker(value)}if(typeof pageTracker!=UNDEFINED&&typeof pageTracker._trackPageview==FUNCTION){pageTracker._trackPageview(value)}};eval("var _trackDefault = "+_trackDefault+";");var _track=function(){if(typeof _opts.tracker!=UNDEFINED&&eval("typeof "+_opts.tracker+' != "'+UNDEFINED+'"')){var fn=eval(_opts.tracker);if(typeof fn==FUNCTION){fn((_l.pathname+(/\/$/.test(_l.pathname)?"":"/")+SWFAddress.getValue()).replace(/\/\//,"/").replace(/^\/$/,""))}}};var _htmlWrite=function(){var doc=_iframe.contentWindow.document;doc.open();doc.write("<script>var "+SWFADDRESS+' = "'+_getHash()+'";<\/script>');doc.close()};var _htmlLoad=function(){var win=_iframe.contentWindow;if(_opts.html){var src=win.location.href;_value=(src.indexOf("?")>-1)?src.substr(src.indexOf("?")+1):""}else{_value=(typeof win[SWFADDRESS]!=UNDEFINED)?win[SWFADDRESS]:""}win.document.title=_d.title;if(_value!=_getHash()){_update();_l.hash=_ieLocal(_value)}};var _load=function(){var attr='id="'+SWFADDRESS+'" style="position:absolute;top:-9999px;"';if(_browser.isIE()){document.body.appendChild(document.createElement("div")).innerHTML="<iframe "+attr+' src="'+(_opts.html?_url.replace(/\.js(\?.*)?$/,".html")+"?"+_getHash():"javascript:false;")+'" width="0" height="0"></iframe>';_iframe=document.getElementById(SWFADDRESS);_st(function(){_events.addListener(_iframe,"load",_htmlLoad);if(!_opts.html&&typeof _iframe.contentWindow[SWFADDRESS]==UNDEFINED){_htmlWrite()}},10)}else{if(_browser.isSafari()){if(_version<412){document.body.innerHTML+="<form "+attr+' method="get"></form>';_form=document.getElementById(SWFADDRESS)}if(typeof _l[SWFADDRESS]==UNDEFINED){_l[SWFADDRESS]={}}if(typeof _l[SWFADDRESS][_l.pathname]!=UNDEFINED){_stack=_l[SWFADDRESS][_l.pathname].split(",")}}else{if(_browser.isOpera()&&_ids.length==0&&typeof navigator.plugins["Shockwave Flash"]=="object"){document.body.innerHTML+="<embed "+attr+' src="'+_url.replace(/\.js(\?.*)?$/,".swf")+'" type="application/x-shockwave-flash" />'}}}_st(_jsInit,1);_st(_jsChange,2);_st(_track,10);setInterval(_listen,50)};this.onInit=null;this.onChange=null;this.toString=function(){return"[class SWFAddress]"};this.back=function(){_h.back()};this.forward=function(){_h.forward()};this.go=function(delta){_h.go(delta)};this.href=function(url,target){target=(typeof target!=UNDEFINED)?target:"_self";if(target=="_self"){self.location.href=url}if(target=="_top"){_l.href=url}if(target=="_blank"){window.open(url)}else{_t.frames[target].location.href=url}};this.popup=function(url,name,options,handler){var popup=window.open(url,name,eval(options));eval(handler)};this.addEventListener=function(type,listener){if(typeof _listeners[type]==UNDEFINED){_listeners[type]=[]}_listeners[type].push(listener)};this.removeEventListener=function(type,listener){if(typeof _listeners[type]!=UNDEFINED){for(var i=0,l;l=_listeners[type][i];i++){if(l==listener){break}}_listeners[type].splice(i,1)}};this.dispatchEvent=function(event){if(typeof _listeners[event.type]!=UNDEFINED&&_listeners[event.type].length){event.target=this;for(var i=0,l;l=_listeners[event.type][i];i++){l(event)}return true}return false};this.hasEventListener=function(type){return(typeof _listeners[type]!=UNDEFINED&&_listeners[type].length>0)};this.getBaseURL=function(){var url=_l.href;if(url.indexOf("#")!=-1){url=url.substr(0,url.indexOf("#"))}if(url.substr(url.length-1)=="/"){url=url.substr(0,url.length-1)}return url};this.getStrict=function(){return _opts.strict};this.setStrict=function(strict){_opts.strict=strict};this.getHistory=function(){return _opts.history};this.setHistory=function(history){_opts.history=history};this.getTracker=function(){return _opts.tracker};this.setTracker=function(tracker){_opts.tracker=tracker};this.getIds=function(){return _ids};this.getId=function(index){return _ids[0]};this.setId=function(id){_ids[0]=id};this.addId=function(id){this.removeId(id);_ids.push(id)};this.removeId=function(id){for(var i=0;i<_ids.length;i++){if(id==_ids[i]){_ids.splice(i,1);break}}};this.getTitle=function(){return _d.title};this.setTitle=function(title){if(!_supported){return null}if(typeof title==UNDEFINED){return}if(title=="null"){title=""}_title=_d.title=title;_st(function(){if(_iframe&&_iframe.contentWindow&&_iframe.contentWindow.document&&_iframe.contentWindow.title){_iframe.contentWindow.document.title=_title}},1000)};this.getStatus=function(){return _t.status};this.setStatus=function(status){if(!_supported){return null}if(typeof status==UNDEFINED){return}if(!_browser.isSafari()){status=_strictCheck((status!="null")?status:"",true);if(status=="/"){status=""}if(!(/http(s)?:\/\//.test(status))){var index=_l.href.indexOf("#");status=(index==-1?_l.href:_l.href.substr(0,index))+"#"+status}_t.status=status}};this.resetStatus=function(){_t.status=""};this.getValue=function(){if(!_supported){return null}return _strictCheck(_value,false)};this.setValue=function(value){if(!_supported){return null}if(typeof value==UNDEFINED){return}if(value=="null"){value=""}value=_strictCheck(value,true);if(value=="/"){value=""}if(_value==value){return}_value=value;_silent=true;_update();_stack[_h.length]=_value;if(_browser.isSafari()){if(_opts.history){_l[SWFADDRESS][_l.pathname]=_stack.toString();_length=_h.length+1;if(_version<412){if(_l.search==""){_form.action="#"+_value;_form.submit()}}else{if(_version<523){var evt=document.createEvent("MouseEvents");evt.initEvent("click",true,true);var anchor=document.createElement("a");anchor.href="#"+_value;anchor.dispatchEvent(evt)}else{_l.hash="#"+_value}}}else{_l.replace("#"+_value)}}else{if(_value!=_getHash()){if(_opts.history){_l.hash="#"+_ieLocal(_value)}else{_l.replace("#"+_value)}}}if(_browser.isIE()&&_opts.history){if(_opts.html){var loc=_iframe.contentWindow.location;loc.assign(loc.pathname+"?"+_getHash())}else{_htmlWrite()}}if(_browser.isSafari()){_st(function(){_silent=false},1)}else{_silent=false}};this.getPath=function(){var value=this.getValue();return(value.indexOf("?")!=-1)?value.split("?")[0]:value};this.getPathNames=function(){var path=SWFAddress.getPath();var names=path.split("/");if(path.substr(0,1)=="/"){names.splice(0,1)}if(path.substr(path.length-1,1)=="/"){names.splice(names.length-1,1)}return names};this.getQueryString=function(){var value=this.getValue();var index=value.indexOf("?");return(index!=-1&&index<value.length)?value.substr(index+1):""};this.getParameter=function(param){var value=this.getValue();var index=value.indexOf("?");if(index!=-1){value=value.substr(index+1);var params=value.split("&");var p,i=params.length;while(i--){p=params[i].split("=");if(p[0]==param){return p[1]}}}return""};this.getParameterNames=function(){var value=this.getValue();var index=value.indexOf("?");var names=[];if(index!=-1){value=value.substr(index+1);if(value!=""&&value.indexOf("=")!=-1){var params=value.split("&");var i=0;while(i<params.length){names.push(params[i].split("=")[0]);i++}}}return names};if(_supported){for(var i=1;i<_length;i++){_stack.push("")}_stack.push(_getHash());if(_browser.isIE()&&_l.hash!=_getHash()){_l.hash="#"+_ieLocal(_getHash())}try{_url=String(_searchScript(document).src);var qi=_url.indexOf("?");if(_url&&qi>-1){var param,params=_url.substr(qi+1).split("&");for(var i=0,p;p=params[i];i++){param=p.split("=");if(/^(history|html|strict)$/.test(param[0])){_opts[param[0]]=(isNaN(param[1])?eval(param[1]):(parseFloat(param[1])>0))}if(/^tracker$/.test(param[0])){_opts[param[0]]=param[1]}}}}catch(e){}if(/file:\/\//.test(_l.href)){_opts.html=false}_titleCheck();_events.addListener(document,"DOMContentLoaded",_load)}else{_track()}};new function(){var b,a;var c="undefined";if(typeof swfobject!=c){SWFObject=swfobject}if(typeof FlashObject!=c){SWFObject=FlashObject}if(typeof SWFObject!=c){if(SWFObject.prototype&&SWFObject.prototype.write){b=SWFObject.prototype.write;SWFObject.prototype.write=function(){a=arguments;if(this.getAttribute("version").major<8){this.addVariable("$swfaddress",SWFAddress.getValue());((typeof a[0]=="string")?document.getElementById(a[0]):a[0]).so=this}var d;if(d=b.apply(this,a)){SWFAddress.addId(this.getAttribute("id"))}return d}}else{b=SWFObject.registerObject;SWFObject.registerObject=function(){a=arguments;b.apply(this,a);SWFAddress.addId(a[0])};b=SWFObject.createSWF;SWFObject.createSWF=function(){a=arguments;b.apply(this,a);SWFAddress.addId(a[0].id)};b=SWFObject.embedSWF;SWFObject.embedSWF=function(){a=arguments;b.apply(this,a);SWFAddress.addId(a[8].id)}}}if(typeof UFO!=c){b=UFO.create;UFO.create=function(){a=arguments;b.apply(this,a);SWFAddress.addId(a[0].id)}}if(typeof AC_FL_RunContent!=c){b=AC_FL_RunContent;AC_FL_RunContent=function(){a=arguments;b.apply(this,a);for(var e=0,d=a.length;e<d;e++){if(a[e]=="id"){SWFAddress.addId(a[e+1])}}}}};function hideAdPanels(){}function addAdPanel(){}function addAdTracking(){}function changeBackgroundColor(){}function setWmode(){}function getWmode(){}function resizeDXD(){}function scrollToTop(){}try{window.console={log:function(a){},error:function(a){},info:function(a){},warn:function(a){}}}catch(error){}var SWFObjectLatest=swfobject;function embedBroadBandPlayer(j,b){var k=window.location.href.indexOf("debug")>0;var c=(j.indexOf("dev.")>=0)||(j.indexOf("localhost.")>=0);var a=(k||c)?"true":"false";var e=escape("data/config."+b+".xml");var f="bootURL=boot_main_app.xml&host="+j+"&debug=true&configURL="+e+"&language="+b+"&debug="+a;var h=false;var g={menu:"false",scale:"noscale",menu:"false",quality:"best",salign:"tl",base:".",align:"t",bgcolor:"#000000",flashVars:f,allowFullScreen:"true",wmode:"transparent",allowScriptAccess:"always"};var d={id:"flashcontent",name:"flashcontent"};SWFObjectLatest.embedSWF("DVC_OSdebug.swf","flashcontent","974","700","10.0.22.87","",h,g,d)}function makeSynergyNavTransparent(){var d=document.getElementById("chrome-holder").getElementsByTagName("embed");if(d.length>0){var f=d[0];f.wmode="transparent";f.setAttribute("wmode","transparent");var b=f.parentNode;var a=f.nextSibling;b.removeChild(f);b.insertBefore(f,a)}var c=document.getElementById("chrome-holder").getElementsByTagName("object");if(c.length>0){object=c[0];object.wmode="transparent";var e=object.getElementsByTagName("param");for(i=0;i<e.length;i++){if(e[i].name.toLowerCase()=="wmode"){e[i].value="transparent"}}var b=object.parentNode;var a=object.nextSibling;b.removeChild(object);b.insertBefore(object,a)}}function cparams(b,a,c){c=(c==null)?"":c;try{r=unescape(b.match(new RegExp(a+"=+([^&;]*)"))[1])}catch(a){r=c}return r}function checkTredir(a){a=new RegExp(a);if((host.indexOf("dev.")==-1)&&(host.indexOf("staging.")==-1)&&(host.indexOf("localhost.")==-1)){try{cload=((country.match(a)!=null)||country.indexOf("anon")>0)?true:false;var c=cparams(document.cookie,"INTER",null);if(c=="1"){cload=false}if(c=="0"){cload=true}if(!cload){document.location.replace("/DisneyChannel/video/iperror.html")}}catch(b){loaded=true}}}function flashCall_pageView(a,b,c){if(window.cto){omni_log("pageView pageName="+a+" siteSection="+b+" property="+c);cto.initFlashPV();if(b!=""){b=":"+b}cto.siteSection="video"+b;cto.pageName=a;cto.trackFlashPV()}else{omni_error("flashCall_pageView::Error with analytics cto object is not defined on the page")}}function flashCall_mediaOpen(a,b){if(window.cto){omni_log("1 flashCall_mediaOpen name="+a+" mediaLength="+b);cto.MediaOpen(buildMediaName(a),b,"dcbb_dreamsocket")}else{omni_error("flashCall_mediaOpen::Error with analytics cto object is not defined on the page")}}function flashCall_mediaPlay(c,b,a){omni_log("1 flashCall_mediaPlay name="+c+" mediaOffset="+b+" propertyName="+a);if(window.cto){cto.MediaPlay(buildMediaName(c),b,"video_asset",a)}else{omni_error("flashCall_mediaPlay::Error with analytics cto object is not defined on the page")}}function flashCall_mediaStop(b,a){omni_log("1 flashCall_mediaStop name="+b+" mediaOffset="+a);if(window.cto){cto.MediaStop(buildMediaName(b),a,"video_asset")}else{omni_error("flashCall_mediaStop::Error with analytics cto object is not defined on the page")}}function flashCall_mediaClose(a){if(window.cto){omni_log("1 flashCall_mediaClose name="+pageName);cto.MediaClose(buildMediaName(a))}else{omni_error("flashCall_mediaClose::Error with analytics cto object is not defined on the page")}}function buildMediaName(a){return"vid:"+a}function getConsole(){if(window.console==null){window.console={log:function(a){},error:function(a){}}}return window.console}function showLogging(){var b=window.location.href.indexOf("debug")>0;var a=(host.indexOf("dev.")>=0)||(host.indexOf("localhost.")>=0);return(b||a)}function omni_log(a){if(showLogging()){getConsole().log("Omniture JS:"+a)}}function omni_error(a){getConsole().error("Omniture JS:"+a)}function flashCall_log(a){if(showLogging()){getConsole().log("Omniture SWF:"+a)}}function flashCall_error(a){getConsole().error("Omniture SWF:"+a)}omni_log("EMEA Omniture code loaded ok javascript version");var dBase=function(){if(arguments.length){if(this==window){dBase.prototype.extend.call(arguments[0],arguments.callee.prototype)}else{this.extend(arguments[0])}}};dBase.version="1.0.2";dBase.prototype={extend:function(b,h){var g=dBase.prototype.extend;if(arguments.length==2){var f=this[b];if((f instanceof Function)&&(h instanceof Function)&&f.valueOf()!=h.valueOf()&&/\bdBase\b/.test(h)){var a=h;h=function(){var l=this.dBase;this.dBase=f;var k=a.apply(this,arguments);this.dBase=l;return k};h.valueOf=function(){return a};h.toString=function(){return String(a)}}this[b]=h;return h}else{if(b){var j={toSource:null};var d=["toString","valueOf"];if(dBase._prototyping){d[2]="constructor"}for(var e=0;(c=d[e]);e++){if(b[c]!=j[c]){g.call(this,c,b[c])}}for(var c in b){if(!j[c]){g.call(this,c,b[c])}}}}return this},dBase:function(){}};dBase.extend=function(b,f){var g=dBase.prototype.extend;if(!b){b={}}dBase._prototyping=true;var e=new this;g.call(e,b);var d=e.constructor;e.constructor=this;delete dBase._prototyping;var a=function(){if(!dBase._prototyping){d.apply(this,arguments)}this.constructor=a};a.prototype=e;a.extend=this.extend;a.implement=this.implement;a.toString=function(){return String(d)};g.call(a,f);var c=d?a:e;if(c.init instanceof Function){c.init()}return c};dBase.implement=function(a){if(a instanceof Function){a=a.prototype}this.prototype.extend(a)};var aColor=dBase.extend({constructor:function(){this.warn()},toHex:function(){this.warn()},toRGB:function(){this.warn()},toXYZ:function(){this.warn()},toCIELab:function(){this.warn()},toCIELCh:function(){this.warn()},distance:function(d){var e=this.toCIELab();var c=d.toCIELab();return Math.sqrt(Math.pow((e.l-c.l),2)+Math.pow((e.a-c.a),2)+Math.pow((e.b-c.b),2))},equal:function(e,a){if(a==null){a=false}if(e<2){e=2}var d=this.toCIELCh();var f=360/e;var b=[];if(a){b.push(this)}for(var c=1;c<e;c++){b.push(new CIELCh(d.l,d.c,d.h+(f*c))[this.toSelf]())}return b},range:function(g,h,d){if(d==null){d=false}var l=this.toRGB();var j=g.toRGB();var c=[];h--;for(n=1;n<h;n++){var k=Math.floor(l.r+(n*(j.r-l.r)/h));var e=Math.floor(l.g+(n*(j.g-l.g)/h));var f=Math.floor(l.b+(n*(j.b-l.b)/h));c.push(new RGB(k,e,f)[this.toSelf]())}if(d){c.unshift(this);c.push(g[this.toSelf]())}return c},warn:function(){alert("aColor should not be created directly. Treat this as an abstract class.")}});var Hex=aColor.extend({constructor:function(a){this.hex=a;if(this.hex.substring(0,1)=="#"){this.hex=this.hex.substring(1,7)}},toHex:function(){return this},toRGB:function(){var d=parseInt(this.hex.substring(0,2),16);var c=parseInt(this.hex.substring(2,4),16);var a=parseInt(this.hex.substring(4,6),16);return new RGB(d,c,a)},toXYZ:function(){return this.toRGB().toXYZ()},toCIELab:function(){return this.toXYZ().toCIELab()},toString:function(){return this.hex.toUpperCase()},toCIELCh:function(){return this.toCIELab().toCIELCh()},toSelf:"toHex"});function rgbArrayToHexString(b){var c="";for(i=0;i<b.length;i++){var a="0123456789ABCDEF";c+=a.charAt(Math.floor(b[i]/16))+a.charAt(b[i]-(Math.floor(b[i]/16)*16))}return c}var RGB=aColor.extend({constructor:function(d,c,a){this.r=Math.min(255,Math.max(d,0));this.g=Math.min(255,Math.max(c,0));this.b=Math.min(255,Math.max(a,0))},toHex:function(){var a=[this.r,this.g,this.b];var b=rgbArrayToHexString(a);return new Hex(b)},toRGB:function(){return this},toXYZ:function(){var d=this.r/255;var c=this.g/255;var b=this.b/255;if(d>0.04045){d=Math.pow(((d+0.055)/1.055),2.4)}else{d=d/12.92}if(c>0.04045){c=Math.pow(((c+0.055)/1.055),2.4)}else{c=c/12.92}if(b>0.04045){b=Math.pow(((b+0.055)/1.055),2.4)}else{b=b/12.92}d=d*100;c=c*100;b=b*100;var a=d*0.4124+c*0.3576+b*0.1805;var f=d*0.2126+c*0.7152+b*0.0722;var e=d*0.0193+c*0.1192+b*0.9505;return new XYZ(a,f,e)},toCIELab:function(){return this.toXYZ().toCIELab()},toString:function(){return this.r+","+this.g+","+this.b},toCIELCh:function(){return this.toCIELab().toCIELCh()},toSelf:"toRGB"});var XYZ=aColor.extend({constructor:function(a,c,b){this.x=a;this.y=c;this.z=b},toHex:function(){return this.toRGB().toHex()},toRGB:function(){var h=this.x/100;var f=this.y/100;var d=this.z/100;var k=h*3.2406+f*-1.5372+d*-0.4986;var c=h*-0.9689+f*1.8758+d*0.0415;var e=h*0.0557+f*-0.204+d*1.057;if(k>0.0031308){k=1.055*Math.pow(k,(1/2.4))-0.055}else{k=12.92*k}if(c>0.0031308){c=1.055*Math.pow(c,(1/2.4))-0.055}else{c=12.92*c}if(e>0.0031308){e=1.055*Math.pow(e,(1/2.4))-0.055}else{e=12.92*e}var a=Math.round(k*255);var j=Math.round(c*255);var l=Math.round(e*255);return new RGB(a,j,l)},toXYZ:function(){return this},toCIELab:function(){var e=95.047;var c=100;var m=108.883;var k=this.x/e;var h=this.y/c;var f=this.z/m;if(k>0.008856){k=Math.pow(k,1/3)}else{k=(7.787*k)+(16/116)}if(h>0.008856){h=Math.pow(h,1/3)}else{h=(7.787*h)+(16/116)}if(f>0.008856){f=Math.pow(f,1/3)}else{f=(7.787*f)+(16/116)}if(h>0.008856){var d=(116*h)-16}else{var d=903.3*h}var j=500*(k-h);var g=200*(h-f);return new CIELab(d,j,g)},toCIELCh:function(){return this.toCIELab().toCIELCh()},toString:function(){return this.x+","+this.y+","+this.z},toSelf:"toXYZ"});var CIELab=aColor.extend({constructor:function(e,d,c){this.l=e;this.a=d;this.b=c},toHex:function(){return this.toRGB().toHex()},toRGB:function(){return this.toXYZ().toRGB()},toXYZ:function(){var f=95.047;var e=100;var c=108.883;var b=(this.l+16)/116;var d=this.a/500+b;var a=b-this.b/200;if(Math.pow(b,3)>0.008856){b=Math.pow(b,3)}else{b=(b-16/116)/7.787}if(Math.pow(d,3)>0.008856){d=Math.pow(d,3)}else{d=(d-16/116)/7.787}if(Math.pow(a,3)>0.008856){a=Math.pow(a,3)}else{a=(a-16/116)/7.787}x=f*d;y=e*b;z=c*a;return new XYZ(x,y,z)},toCIELab:function(){return this},toCIELCh:function(){var b=Math.atan2(this.b,this.a);if(b>0){b=(b/Math.PI)*180}else{b=360-(Math.abs(b)/Math.PI)*180}var a=this.l;var e=Math.sqrt(Math.pow(this.a,2)+Math.pow(this.b,2));var d=b;return new CIELCh(a,e,d)},toString:function(){return this.l+","+this.a+","+this.b},toSelf:"toCIELab"});var CIELCh=aColor.extend({constructor:function(a,d,b){this.l=a;this.c=d;this.h=b<360?b:(b-360)},toHex:function(){return this.toCIELab().toHex()},toRGB:function(){return this.toCIELab().toRGB()},toXYZ:function(){return this.toCIELab().toXYZ()},toCIELab:function(){var e=this.l;var f=this.h*(Math.PI/180);var d=Math.cos(f)*this.c;var c=Math.sin(f)*this.c;return new CIELab(e,d,c)},toString:function(){return this.l+","+this.c+","+this.h},toCIELCh:function(){return this},toSelf:"toHex"});var target;var current;var targetBg=null;var range=null;var inter=null;var counter=null;var steps=null;var active=false;function fadeIsActive(){return active}function fadeComplete(){document.getElementById("flashcontent").onBackgroundFadeComplete()}function changeOpac(b,c){var a=document.getElementById(c);a.style.opacity=(b/100);a.style.MozOpacity=(b/100);a.style.KhtmlOpacity=(b/100);a.style.filter="alpha(opacity="+b+")";a.thisOpacity=b}function SwitchTo(a,b){current=new Hex(getDocumentBodyColor());if(targetBg!=null&&targetBg==b){return}if(isSameImagePath(getBodyBackgroundImage(),b)){return}clearTimeout(inter);if(active){if(range[counter]!=null){current=range[counter]}}else{changeOpac(100,"bg")}active=true;target=new Hex(a);targetBg=b;counter=0;distance=current.distance(target);steps=Math.floor(distance/10);range=current.range(target,steps,true);inter=setInterval(doFadeOut,50);doFadeOut()}function getElementStyle(b,a){var c;if(b.currentStyle){c=b.currentStyle[a]}else{try{c=document.defaultView.getComputedStyle(b,null).getPropertyValue(a)}catch(d){}}return c}function colorStringToHex(a){var c=a;if(a.substring(0,1)=="#"){c=a.substring(1,a.length)}if(a.substring(0,4)=="rgb("){var b=a.substring(4,a.length-1).split(",");c=rgbArrayToHexString(b)}return c}function getDocumentBodyColor(){var a=getElementStyle(document.body,"background-color");if(a==null||a==""){a=getElementStyle(document.body,"backgroundColor")}if(a==null||a==""){a=document.body.bgColor}return colorStringToHex(a)}function getBodyBackgroundImage(){var b=document.getElementById("bg");var a=getElementStyle(b,"background-image");if(a==null||a==""){a=getElementStyle(b,"backgroundImage")}if(a.indexOf("url(")==0){a=a.substring(4,a.length-1)}return a}function isSameImagePath(a,b){return(a==b||a.indexOf(b)==(a.length-b.length))}function doFadeOut(){var a=document.getElementById("bg").thisOpacity;if(a>0){changeOpac(Math.max(0,(a-20)),"bg")}else{document.getElementById("bg").style.backgroundImage="url("+targetBg+")";clearTimeout(inter);inter=setInterval(doFadeColor,50);doFadeColor()}}function doFadeIn(){var a=document.getElementById("bg").thisOpacity;if(a<100){changeOpac(Math.min(100,(a+20)),"bg")}else{active=false;current=target;clearTimeout(inter);fadeComplete()}}function doFadeColor(){if(counter<range.length){document.body.style.backgroundColor="#"+range[counter].toString();counter++}else{clearTimeout(inter);inter=setInterval(doFadeIn,50);doFadeIn()}};