if(typeof asual=="undefined"){var asual=new Object()}if(typeof asual.util=="undefined"){asual.util=new Object()}asual.util.Browser=new function(){var g=false;var f=-1;var e=navigator.userAgent;var h=false;var d=false;var c=false;var b=false;var a=false;if(/MSIE/.test(e)){h=true;f=parseFloat(e.substring(e.indexOf("MSIE")+4));g=f>=6}else{if(/AppleWebKit/.test(e)){c=true;f=parseFloat(e.substring(e.indexOf("Safari")+7));g=f>=312}else{if(/Opera/.test(e)){b=true;f=parseFloat(navigator.appVersion);g=f>=9.02}else{if(/Camino/.test(e)){d=true;f=parseFloat(e.substring(e.indexOf("Camino")+7));g=f>=1}else{if(/Firefox/.test(e)){a=true;f=parseFloat(e.substring(e.indexOf("Firefox")+8));g=f>=1}else{if(/Netscape/.test(e)){a=true;f=parseFloat(e.substring(e.indexOf("Netscape")+9));g=f>=8}else{if(/Mozilla/.test(e)&&/rv:/.test(e)){a=true;f=parseFloat(e.substring(e.indexOf("rv:")+3));g=f>=1.8}}}}}}}this.isSupported=function(){return g};this.getVersion=function(){return f};this.isIE=function(){return h};this.isSafari=function(){return c};this.isOpera=function(){return b};this.isCamino=function(){return d};this.isMozilla=function(){return a}};asual.util.Functions=new function(){this.extend=function(a,b){function c(){}c.prototype=a.prototype;b.prototype=new c();b.prototype.constructor=b;b.superConstructor=a;b.superClass=a.prototype;for(var d in a){if(d!="prototype"){b[d]=a[d]}}return b};this.bindAsListener=function(c,b,a){return function(d){return c.call(b,d||((a)?a.event:window.event))}}};asual.util.Events=new function(){var b=new Array();this.addListener=function(e,d,c){if(e.addEventListener){e.addEventListener(d,c,false)}else{if(e.attachEvent){e.attachEvent("on"+d,c)}else{e["on"+d]=c}}b.push({o:e,t:d,l:c})};this.removeListener=function(e,d,c){if(e.removeEventListener){e.removeEventListener(d,c,false)}else{if(e.detachEvent){e.detachEvent("on"+d,c)}else{e["on"+d]=c}}};var a=function(){for(var d=0,c;c=b[d];d++){asual.util.Events.removeListener(c.o,c.t,c.l)}};if(asual.util.Browser.isIE()||asual.util.Browser.isSafari()){this.addListener(window,"unload",asual.util.Functions.bindAsListener(a,this))}};asual.SWFAddress=new function(){var m=asual.util.Browser;var k,g,f=m.isSupported();var e,b,w,v=false;var t=document.title;var s=history.length;var r=new Array();var q=new Object();var p=true;var n=true;var x="swfaddress.js";var L="swfaddress.swf";var u="swfaddress.html";var K=top.document;var H=top.history;var z=top.location;if((!f&&z.href.indexOf("#")!=-1)||(m.isSafari()&&m.getVersion()<412&&z.href.indexOf("#")!=-1&&z.search!="")){K.open();K.write('<html><head><meta http-equiv="refresh" content="0;url='+z.href.substr(0,z.href.indexOf("#"))+'" /></head></html>');K.close()}var o=function(h){var d=document.getElementsByTagName("script");for(var l=0,M;M=d[l];l++){if(M.src.indexOf(x)>-1){return(new String(M.src)).replace(x,h)}}};var J=function(){var d=z.href.indexOf("#");if(d!=-1){return z.href.substring(d).replace(/^#/g,"")}return""};var G=J();var E=function(){if(m.isIE()&&K.title!=t){asual.SWFAddress.setTitle(t)}};var B=function(){if(m.isSafari()){if(s!=H.length&&!v){s=H.length;if(typeof r[s-1]!="undefined"){G=r[s-1]}A()}}else{if(m.isIE()){if(G!=J()){if(m.getVersion()<7){z.reload()}else{y(J(),false)}}}else{if(G!=z.hash){G=J();if(m.isMozilla()){var h=false;for(var d=0;d<r.length;d++){if(r[d]==G){h=true;break}}if(!h){z.reload();return}}A()}}}E()};var I=function(){F("init")};var D=function(){F("change")};var F=function(N){if(asual.SWFAddress.hasEventListener(N)){var O={target:asual.SWFAddress,type:N,value:asual.SWFAddress.getValue()};O.path=(O.value.indexOf("?")!=1)?O.value.split("?")[0]:O.value;O.parameters=new Array();if(O.value!=O.path){var M=O.value.substr(O.value.indexOf("?")+1);if(M!=""&&M.indexOf("=")!=-1){var h=M.split("&");var l=0,d;while(l<h.length){d=h[l].split("=");O.parameters[d[0]]=d[1];l++}}}asual.SWFAddress.dispatchEvent(O)}N=N.substr(0,1).toUpperCase()+N.substring(1);if(typeof asual.SWFAddress["on"+N]=="function"){asual.SWFAddress["on"+N]()}};var A=function(){var d=G;if(d!=e){e=d;var h=document[w]||document.getElementById(w);if(h&&h.setSWFAddressValue){h.setSWFAddressValue(d)}if(b&&b.call){b.call("setSWFAddressValue",d)}D()}};var c=function(){if(p&&typeof urchinTracker!="undefined"){var d=z.pathname+this.getValue();d=d.replace(/\/\//,"/");d=d.replace(/^\/$/,"");urchinTracker(d)}};var a=function(){if(k.contentWindow&&k.contentWindow.location){var d=k.contentWindow;d.document.title=K.title=t;var h=d.location.href;if(h.indexOf("?")>-1){G=h.substring(h.indexOf("?")+1)}else{G=""}if(G!=J()){A();z.hash="#"+G}}};var j=function(){if(m.isIE()||m.isSafari()){var d=document.createElement("div");document.body.appendChild(d);d.id="swfaddress";d.style.position="absolute";d.style.left=d.style.top="-9999px";d.innerHTML='<iframe id="swfaddress-iframe" src="'+o(u)+"?"+J()+'" frameborder="no" scrolling="no"></iframe>';k=d.getElementsByTagName("iframe")[0]}if(m.isIE()){asual.util.Events.addListener(k,"load",asual.util.Functions.bindAsListener(a,this))}if(m.isSafari()){g=document.createElement("form");g.id="swfaddress-form";g.method="get";d.appendChild(g);if(typeof z.swfaddress=="undefined"){z.swfaddress=new Object()}if(typeof z.swfaddress.history!="undefined"){r=z.swfaddress.history.split(",")}}if(m.isOpera()&&typeof w=="undefined"){document.body.innerHTML+='<embed src="'+o(L)+'" width="1" height="1" style="position: absolute; top: -9999px; left: -9999px" type="application/x-shockwave-flash" />'}c.call(this);A.call(this);setTimeout(I,1);setTimeout(D,2);setInterval(B,50)};var y=function(M,l){if(!f){return null}if(M=="null"){M=""}if(e==M){return}G=M;if(l){e=M;A()}else{A();e=M}r[history.length]=G;if(m.isSafari()){if(n){z.swfaddress.history=r.toString();v=true;s=history.length+1;if(m.getVersion()<412){if(z.search==""){g.action="#"+G;g.submit()}}else{var d=document.createEvent("MouseEvents");d.initEvent("click",true,true);var i=document.createElement("a");i.href="#"+G;i.dispatchEvent(d)}v=false}else{z.hash="#"+G}}else{if(l){if(n){z.hash="#"+G}else{z.replace("#"+G)}}}if(m.isIE()&&n){var N=k.contentWindow;var h="?"+J();N.location.assign(N.location.pathname+h)}c.call(this);D.call(this)};this.toString=function(){return"[class SWFAddress]"};this.back=function(){H.back()};this.forward=function(){H.forward()};this.go=function(d){H.go(d)};this.addEventListener=function(h,d){if(typeof q[h]=="undefined"){q[h]=new Array()}q[h].push(d)};this.removeEventListener=function(d,N){if(typeof q[d]!="undefined"){for(var M=0,h;h=q[d][M];M++){if(h==N){break}}q[d].splice(M,1)}};this.dispatchEvent=function(h){if(typeof q[h.type]!="undefined"){h.target=this;for(var M=0,d;d=q[h.type][M];M++){d(h)}}};this.hasEventListener=function(d){return(typeof q[d]!="undefined"&&q[d].length>0)};this.getHistoryEnabled=function(){return n};this.setHistoryEnabled=function(d){n=d};this.getTrackingEnabled=function(){return p};this.setTrackingEnabled=function(d){p=d};this.openLink=function(d,h){switch(h){case"_blank":window.open(d);break;case"_self":self.location=d;break;case"_top":loc=d;break;default:self.location=d;break}};this.openPopup=function(h,M,l,i){var d=window.open(h,M,l)};this.getSWFObject=function(){if(!f){return null}return b};this.setSWFObject=function(d){if(!f){return null}b=d};this.getId=function(){if(!f){return null}return w};this.setId=function(d){if(!f){return null}w=d};this.getTitle=function(){if(!f){return null}return K.title};this.setTitle=function(d){if(!f){return null}if(d=="null"){d=""}if(typeof d!="undefined"){t=d;K.title=t}};this.getStatus=function(){if(!f){return null}return top.status};this.setStatus=function(d){if(!f){return null}if(!m.isSafari()){if(d=="null"||typeof d=="undefined"){d=""}var h=z.href.indexOf("#");if(h==-1){d=z.href+"#"+d}else{d=z.href.substr(0,h)+"#"+d}top.status=d}};this.resetStatus=function(){top.status=""};this.getValue=function(){if(!f){return null}return G};this.setValue=function(d){y(d,true)};this.getPath=function(){var d=this.getValue();if(d.indexOf("?")!=1){return d.split("?")[0]}else{return d}};this.getQueryString=function(){var h=this.getValue();var d=h.indexOf("?");if(d!=-1&&d<h.length){return h.substr(d+1)}return""};this.getParameter=function(O){var d=this.getValue();var N=d.indexOf("?");if(N!=-1){d=d.substr(N+1);var M=d.split("&");var l,h=M.length;while(h--){l=M[h].split("=");if(l[0]==O){return l[1]}}}return""};if(!f){return}for(var C=1;C<s;C++){r.push("")}r.push(z.hash.replace(/^#/g,""));if(m.isIE()&&z.hash!=J()){z.hash="#"+J()}e=this.getValue();E();asual.util.Events.addListener(window,"load",asual.util.Functions.bindAsListener(j,this))};SWFAddress=asual.SWFAddress;if(typeof deconcept!="undefined"&&deconcept.SWFObject){asual.SWFAddressObject=asual.util.Functions.extend(deconcept.SWFObject,function(e,d,l,i,j,k,g,f,b,a){asual.SWFAddressObject.superConstructor.apply(this,arguments);SWFAddress.setSWFObject(this);SWFAddress.setId(d);this.setAttribute("style",";");if(this.getAttribute("version").major<8){this.addVariable("$swfaddress",SWFAddress.getValue())}});SWFObject=deconcept.SWFObject=asual.SWFAddressObject};