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

if(typeof asual=="undefined")var asual={};if(typeof asual.util=="undefined")asual.util={};asual.util.Browser=new(function(){var f=navigator.userAgent.toLowerCase(),k=/webkit/.test(f),n=/opera/.test(f),v=/msie/.test(f)&&!/opera/.test(f),u=/mozilla/.test(f)&&!/(compatible|webkit)/.test(f),w=parseFloat(v?f.substr(f.indexOf("msie")+4):(f.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1]);this.toString=function(){return"[class Browser]"};this.getVersion=function(){return w};this.isMSIE=function(){return v};this.isSafari=function(){return k};this.isOpera=function(){return n};this.isMozilla=function(){return u}});asual.util.Events=new(function(){var f=window,k=document,n=[],v=asual.util,u=v.Browser,w=u.isMSIE(),G=u.isSafari();this.toString=function(){return"[class Events]"};this.addListener=function(h,i,q){n.push({o:h,t:i,l:q});if(!(i=="DOMContentLoaded"&&(w||G)))if(h.addEventListener)h.addEventListener(i,q,false);else h.attachEvent&&h.attachEvent("on"+i,q)};this.removeListener=function(h,i,q){for(var H=0,I;I=n[H];H++)if(I.o==h&&I.t==i&&I.l==q){n.splice(H,1);break}if(!(i=="DOMContentLoaded"&&(w||G)))if(h.removeEventListener)h.removeEventListener(i,q,false);else h.detachEvent&&h.detachEvent("on"+i,q)};var P=function(){for(var h=0,i;i=n[h];h++)i.t!="DOMContentLoaded"&&v.Events.removeListener(i.o,i.t,i.l)};u=function(){if(k.readyState=="interactive"){function h(){k.detachEvent("onstop",h);P()}k.attachEvent("onstop",h);f.setTimeout(function(){k.detachEvent("onstop",h)},0)}};if(w||G)(function(){try{if(w&&k.body||!/loaded|complete/.test(k.readyState))k.documentElement.doScroll("left")}catch(h){return setTimeout(arguments.callee,0)}for(var i=0,q;q=n[i];i++)q.t=="DOMContentLoaded"&&q.l.call(null)})();w&&f.attachEvent("onbeforeunload",u);this.addListener(f,"unload",P)});asual.util.Functions=new(function(){this.toString=function(){return"[class Functions]"};this.bind=function(f,k){for(var n=2,v,u=[];v=arguments[n];n++)u.push(v);return function(){return f.apply(k,u)}}});var SWFAddressEvent=function(f){this.toString=function(){return"[object SWFAddressEvent]"};this.type=f;this.target=[SWFAddress][0];this.value=SWFAddress.getValue();this.path=SWFAddress.getPath();this.pathNames=SWFAddress.getPathNames();this.parameters={};f=SWFAddress.getParameterNames();for(var k=0,n=f.length;k<n;k++)this.parameters[f[k]]=SWFAddress.getParameter(f[k]);this.parameterNames=f};SWFAddressEvent.INIT="init";SWFAddressEvent.CHANGE="change";SWFAddressEvent.INTERNAL_CHANGE="internalChange";SWFAddressEvent.EXTERNAL_CHANGE="externalChange";var SWFAddress=new(function(){var f=function(){var a=e.href.indexOf("#");return a!=-1?U(D(e.href.substr(a+1))):""},k=function(a,b){if(_opts.strict)a=b?a.substr(0,1)!="/"?"/"+a:a:a==""?"/":a;return a},n=function(a,b){return z&&e.protocol=="file:"?b?_value.replace(/\?/,"%3F"):_value.replace(/%253F/,"?"):a},v=function(a){for(var b=0,d=a.childNodes.length,c,o;b<d;b++){if(a.childNodes[b].src)c=String(a.childNodes[b].src);if(o=v(a.childNodes[b]))c=o}return c},u=function(a,b){for(var d=0;d<b.length;d++)if(a===b[d])return d;return-1},w=function(){if(j.title!=_title&&j.title.indexOf("#")!=-1)j.title=_title},G=function(){if(!_silent){var a=f(),b=_value!=a;if(E&&r<523){if(_length!=B.length){_length=B.length;if(typeof _stack[_length-1]!=g)_value=_stack[_length-1];i.call(this,t)}}else if(z&&r<7&&b)e.reload();else if(b){_value=a;i.call(this,t)}z&&w.call(this)}},P=function(){if(_popup.length>0){window.open(_popup[0],_popup[1],eval(_popup[2]));typeof _popup[3]!=g&&eval(_popup[3])}_popup=[]},h=function(a){this.dispatchEvent(new SWFAddressEvent(a));a=a.substr(0,1).toUpperCase()+a.substr(1);typeof this["on"+a]==L&&this["on"+a]()},i=function(a){for(var b=0,d,c,o=SWFAddress.getValue();d=_ids[b];b++)if(c=document.getElementById(d))if(c.parentNode&&typeof c.parentNode.so!=g)c.parentNode.so.call("setSWFAddressValue",o,a);else{if(!(c&&typeof c.setSWFAddressValue!=g)){d=c.getElementsByTagName("object");c=c.getElementsByTagName("embed");c=d[0]&&typeof d[0].setSWFAddressValue!=g?d[0]:c[0]&&typeof c[0].setSWFAddressValue!=g?c[0]:null}c&&c.setSWFAddressValue(o,a)}else if(c=document[d])typeof c.setSWFAddressValue!=g&&c.setSWFAddressValue(o,a);h.call(this,SWFAddressEvent.CHANGE);h.call(this,a?SWFAddressEvent.INTERNAL_CHANGE:SWFAddressEvent.EXTERNAL_CHANGE);J(F.bind(q,this),10)},q=function(){var a=(e.pathname+(/\/$/.test(e.pathname)?"":"/")+this.getValue()).replace(/\/\//,"/").replace(/^\/$/,""),b=s[_opts.tracker];if(typeof b==L)b(a);else if(typeof _gaq!=g&&typeof _gaq.push==L)_gaq.push(["_trackPageview",a]);else if(typeof s.pageTracker!=g&&typeof s.pageTracker._trackPageview==L)s.pageTracker._trackPageview(a);else typeof s.urchinTracker==L&&s.urchinTracker(a)},H=function(){var a=p.contentWindow.document;a.open();a.write("<html><head><title>"+j.title+"</title><script>var "+x+' = "'+f()+'";<\/script></head></html>');a.close()},I=function(){var a=p.contentWindow;_value=typeof a[x]!=g?a[x]:"";if(_value!=f()){i.call(SWFAddress,t);e.hash=n(_value,l)}},T=function(){if(!_loaded){_loaded=l;if(z&&r<8){var a=j.getElementsByTagName("frameset")[0];p=j.createElement((a?"":"i")+"frame");if(a){a.insertAdjacentElement("beforeEnd",p);a[a.cols?"cols":"rows"]+=",0";p.src="javascript:false";p.noResize=l;p.frameBorder=p.frameSpacing=0}else{p.src="javascript:false";p.style.display="none";j.body.insertAdjacentElement("afterBegin",p)}J(function(){R.addListener(p,"load",I);typeof p.contentWindow[x]==g&&H()},50)}else if(E){if(r<418){j.body.innerHTML+='<form id="'+x+'" style="position:absolute;top:-9999px;" method="get"></form>';S=j.getElementById(x)}if(typeof e[x]==g)e[x]={};if(typeof e[x][e.pathname]!=g)_stack=e[x][e.pathname].split(",")}J(F.bind(function(){Q.Browser.isSafari()&&j.body.addEventListener("click",P);h.call(this,SWFAddressEvent.INIT);h.call(this,SWFAddressEvent.CHANGE);h.call(this,SWFAddressEvent.EXTERNAL_CHANGE);q.call(this)},this),1);if(z&&r>=8){j.body.onhashchange=F.bind(G,this);V(F.bind(w,this),50)}else V(F.bind(G,this),50)}},x="swfaddress",L="function",g="undefined",l=true,t=false,Q=asual.util,A=Q.Browser,R=Q.Events,F=Q.Functions,r=A.getVersion(),z=A.isMSIE(),W=A.isMozilla(),C=A.isOpera(),E=A.isSafari(),K=t,s=function(){try{return top.document!==undefined?top:window}catch(a){return window}}(),j=s.document,B=s.history,e=s.location,V=setInterval,J=setTimeout,D=decodeURI,U=encodeURI,p,S;_qi=(A=v(document))?A.indexOf("?"):-1;_title=j.title;_length=B.length;_loaded=_silent=t;_juststart=_justset=l;_updating=t;_ref=this;_stack=[];_ids=[];_popup=[];_listeners={};_value=f();_opts={autoUpdate:l,history:l,strict:l};if(z&&j.documentMode&&j.documentMode!=r)r=j.documentMode!=8?7:8;if(K=W&&r>=1||z&&r>=6||C&&r>=9.5||E&&r>=312){if(C)history.navigationMode="compatible";for(C=1;C<_length;C++)_stack.push("");_stack.push(f());if(z&&e.hash!=f())e.hash="#"+n(f(),l);if(_qi!=-1){var y;A=A.substr(_qi+1).split("&");for(C=0;y=A[C];C++){y=y.split("=");if(/^(history|strict)$/.test(y[0]))_opts[y[0]]=isNaN(y[1])?/^(true|yes)$/i.test(y[1]):parseInt(y[1])!=0;if(/^tracker$/.test(y[0]))_opts[y[0]]=y[1]}}z&&w.call(this);if(j.readyState=="complete")T.call(this);else{window==s&&R.addListener(document,"DOMContentLoaded",F.bind(T,this));R.addListener(s,"load",F.bind(T,this))}}else if(!K&&e.href.indexOf("#")!=-1||E&&r<418&&e.href.indexOf("#")!=-1&&e.search!=""){j.open();j.write('<html><head><meta http-equiv="refresh" content="0;url='+e.href.substr(0,e.href.indexOf("#"))+'" /></head></html>');j.close()}else q();this.toString=function(){return"[class SWFAddress]"};this.back=function(){B.back()};this.forward=function(){B.forward()};this.up=function(){var a=this.getPath();this.setValue(a.substr(0,a.lastIndexOf("/",a.length-2)+(a.substr(a.length-1)=="/"?1:0)))};this.go=function(a){B.go(a)};this.href=function(a,b){b=typeof b!=g?b:"_self";if(b=="_self")self.location.href=a;else if(b=="_top")e.href=a;else if(b=="_blank")window.open(a);else s.frames[b].location.href=a};this.popup=function(a,b,d,c){try{window.open(a,b,eval(d));typeof c!=g&&eval(c)}catch(o){}_popup=arguments};this.getIds=function(){return _ids};this.getId=function(){return _ids[0]};this.setId=function(a){_ids[0]=a};this.addId=function(a){this.removeId(a);_ids.push(a)};this.removeId=function(a){for(var b=0;b<_ids.length;b++)if(a==_ids[b]){_ids.splice(b,1);break}};this.addEventListener=function(a,b){if(typeof _listeners[a]==g)_listeners[a]=[];_listeners[a].push(b)};this.removeEventListener=function(a,b){if(typeof _listeners[a]!=g){for(var d=0,c;c=_listeners[a][d];d++)if(c==b)break;_listeners[a].splice(d,1)}};this.dispatchEvent=function(a){if(this.hasEventListener(a.type)){a.target=this;for(var b=0,d;d=_listeners[a.type][b];b++)d(a);return l}return t};this.hasEventListener=function(a){return typeof _listeners[a]!=g&&_listeners[a].length>0};this.getBaseURL=function(){var a=e.href;if(a.indexOf("#")!=-1)a=a.substr(0,a.indexOf("#"));if(a.substr(a.length-1)=="/")a=a.substr(0,a.length-1);return a};this.getStrict=function(){return _opts.strict};this.setStrict=function(a){_opts.strict=a};this.getAutoUpdate=function(){return _opts.autoUpdate};this.setAutoUpdate=function(a){_opts.autoUpdate=a};this.update=function(){_updating=l;this.setValue(_value);_updating=t};this.getHistory=function(){return _opts.history};this.setHistory=function(a){_opts.history=a};this.getTracker=function(){return _opts.tracker};this.setTracker=function(a){_opts.tracker=a};this.getTitle=function(){return j.title};this.setTitle=function(a){if(!K)return null;if(typeof a!=g){if(a=="null")a="";a=D(a);J(function(){_title=j.title=a;if(_juststart&&p&&p.contentWindow&&p.contentWindow.document){p.contentWindow.document.title=a;_juststart=t}if(!_justset&&W)e.replace(e.href.indexOf("#")!=-1?e.href:e.href+"#");_justset=t},10)}};this.getStatus=function(){return s.status};this.setStatus=function(a){if(!K)return null;if(typeof a!=g){if(a=="null")a="";a=D(a);if(!E){a=k(a!="null"?a:"",l);if(a=="/")a="";if(!/http(s)?:\/\//.test(a)){var b=e.href.indexOf("#");a=(b==-1?e.href:e.href.substr(0,b))+"#"+a}s.status=a}}};this.resetStatus=function(){s.status=""};this.getValue=function(){if(!K)return null;return D(k(n(_value,t),t))};this.setValue=function(a){if(!K)return null;if(typeof a!=g){if(a=="null")a="";a=U(D(k(a,l)));if(a=="/")a="";if(!(_value==a&&!_updating)){_justset=l;_value=a;if(_opts.autoUpdate||_updating){_silent=l;i.call(SWFAddress,l);_stack[B.length]=_value;if(E)if(_opts.history){e[x][e.pathname]=_stack.toString();_length=B.length+1;if(r<418){if(e.search==""){S.action="#"+_value;S.submit()}}else if(r<523||_value==""){a=j.createEvent("MouseEvents");a.initEvent("click",l,l);var b=j.createElement("a");b.href="#"+_value;b.dispatchEvent(a)}else e.hash="#"+_value}else e.replace("#"+_value);else if(_value!=f())if(_opts.history)e.hash="#"+D(n(_value,l));else e.replace("#"+D(_value));z&&r<8&&_opts.history&&J(H,50);if(E)J(function(){_silent=t},1);else _silent=t}}}};this.getPath=function(){var a=this.getValue();return a.indexOf("?")!=-1?a.split("?")[0]:a.indexOf("#")!=-1?a.split("#")[0]:a};this.setPath=function(a){var b=this.getQueryString();this.value(a+(b?"?"+b:""))};this.getPathNames=function(){var a=this.getPath(),b=a.split("/");if(a.substr(0,1)=="/"||a.length==0)b.splice(0,1);a.substr(a.length-1,1)=="/"&&b.splice(b.length-1,1);return b};this.getQueryString=function(){var a=this.getValue(),b=a.indexOf("?");if(b!=-1&&b<a.length)return a.substr(b+1)};this.setQueryString=function(a){this.setValue(this.getPath()+(a?"?"+a:""))};this.getParameter=function(a){var b=this.getValue(),d=b.indexOf("?");if(d!=-1){b=b.substr(d+1);d=b.split("&");for(var c=[],o=0;o<d.length;o++){b=d[o].split("=");b[0]==a&&c.push(b[1])}if(c.length!=0)return c.length!=1?c:c[0]}};this.setParameter=function(a,b,d){for(var c=this.getParameterNames(),o=[],M=0;M<c.length;M++){var N=c[M],m=this.getParameter(N);if(typeof m=="string")m=[m];if(N==a)m=b===null||b==""?[]:d?m.concat([b]):[b];for(var O=0;O<m.length;O++)o.push(N+"="+m[O])}u(a,c)==-1&&o.push(a+"="+b);this.setQueryString(o.join("&"))};this.getParameterNames=function(){var a=this.getValue(),b=a.indexOf("?"),d=[];if(b!=-1){a=a.substr(b+1);if(a!=""&&a.indexOf("=")!=-1){a=a.split("&");for(b=b=0;b<a.length;b++){var c=a[b].split("=")[0];u(c,d)==-1&&d.push(c)}}}return d};this.onExternalChange=this.onInternalChange=this.onChange=this.onInit=null;(function(){var a;if(typeof FlashObject!=g)SWFObject=FlashObject;if(typeof SWFObject!=g&&SWFObject.prototype&&SWFObject.prototype.write){var 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 m;if(m=b.apply(this,a))_ref.addId(this.getAttribute("id"));return m}}if(typeof swfobject!=g){var d=swfobject.registerObject;swfobject.registerObject=function(){a=arguments;d.apply(this,a);_ref.addId(a[0])};var c=swfobject.createSWF;swfobject.createSWF=function(){a=arguments;var m=c.apply(this,a);m&&_ref.addId(a[0].id);return m};var o=swfobject.embedSWF;swfobject.embedSWF=function(){a=arguments;if(typeof a[8]==g)a[8]={};if(typeof a[8].id==g)a[8].id=a[1];o.apply(this,a);_ref.addId(a[8].id)}}if(typeof UFO!=g){var M=UFO.create;UFO.create=function(){a=arguments;M.apply(this,a);_ref.addId(a[0].id)}}if(typeof AC_FL_RunContent!=g){var N=AC_FL_RunContent;AC_FL_RunContent=function(){a=arguments;N.apply(this,a);for(var m=0,O=a.length;m<O;m++)a[m]=="id"&&_ref.addId(a[m+1])}}})()});

var countdown={interval:null,secs:null,init:function(targetDate,countdownMsg){var self=this;$('#countdown-msg').addClass(countdownMsg);var diff=new Date((new Date(targetDate))-(new Date()));this.secs=Math.floor((diff.valueOf()/1000)+60);self.CountBack();this.interval=setInterval(function(){return self.CountBack();},(6*1000));},calcage:function(secs,num1,num2){s=((Math.floor(secs/num1))%num2);return s;},CountBack:function(){var secs=this.secs;if(secs<60){this.populateClock([0,0,0],'days');this.populateClock([0,0],'hours');this.populateClock([0,0],'minutes');clearInterval(this.interval);return;}else{var days=this.zeroPad(this.calcage(secs,86400,100000),3);var hours=this.zeroPad(this.calcage(secs,3600,24),2);var minutes=this.zeroPad(this.calcage(secs,60,60),2);}
this.populateClock(days,'days');this.populateClock(hours,'hours');this.populateClock(minutes,'minutes');this.secs=(secs-6);},populateClock:function(count,target){if($('#'+target+'_1').size()>0){for(var i=0;i<count.length;i++){$('#'+target+'_'+(i+1)).removeClass().addClass('num-'+parseInt(count[i]));}}},zeroPad:function(num,count){var numZeropad=num+'';while(numZeropad.length<count){numZeropad="0"+numZeropad;}
return this.numberBreak(numZeropad)},numberBreak:function(num){var numArr=[];for(var i=0;i<num.length;i++){numArr[i]=num.charAt(i);}
return numArr;}};

