if(typeof asual=="undefined")asual={};if(typeof asual.swfaddress=="undefined")asual.swfaddress={};if(typeof asual.util=="undefined")asual.util={};asual.util.Browser=new function(){var b=-1,a=navigator.userAgent,i=false,d=false,h=false,f=false,g=false,e=false,c=function(c,b){return parseFloat(a.substr(a.indexOf(c)+b))};if(f=/Opera/.test(a))b=parseFloat(navigator.appVersion);if(i=/MSIE/.test(a))b=c("MSIE",4);if(e=/Chrome/.test(a))b=c("Chrome",7);if(d=/Camino/.test(a))b=c("Camino",7);if(h=/AppleWebKit/.test(a)&&!e)b=c("Safari",7);if(g=/Firefox/.test(a)&&!d)b=c("Firefox",8);this.toString=function(){return "[class Browser]"};this.getVersion=function(){return b};this.isIE=function(){return i};this.isSafari=function(){return h};this.isOpera=function(){return f};this.isCamino=function(){return d};this.isFirefox=function(){return g};this.isChrome=function(){return e}};asual.util.Events=new function(){var d="DOMContentLoaded",e="onstop",f=window,b=document,c=[],g=asual.util,a=g.Browser;this.toString=function(){return "[class Events]"};this.addListener=function(b,e,f){c.push({o:b,t:e,l:f});if(!(e==d&&(a.isIE()||a.isSafari())))if(b.addEventListener)b.addEventListener(e,f,false);else if(b.attachEvent)b.attachEvent("on"+e,f)};this.removeListener=function(b,e,h){for(var g=0,f;f=c[g];g++)if(f.o==b&&f.t==e&&f.l==h){c.splice(g,1);break}if(!(e==d&&(a.isIE()||a.isSafari())))if(b.removeEventListener)b.removeEventListener(e,h,false);else if(b.detachEvent)b.detachEvent("on"+e,h)};var h=function(){for(var b=0,a;a=c[b];b++)if(a.t!=d)g.Events.removeListener(a.o,a.t,a.l)},i=function(){if(b.readyState=="interactive"){function a(){b.detachEvent(e,a);h()}b.attachEvent(e,a);f.setTimeout(function(){b.detachEvent(e,a)},0)}};if(a.isIE()||a.isSafari())(function(){try{if(a.isIE()&&b.body||!/loaded|complete/.test(b.readyState))b.documentElement.doScroll("left")}catch(g){return setTimeout(arguments.callee,0)}for(var f=0,e;e=c[f];f++)if(e.t==d)e.l.call(null)})();if(a.isIE())f.attachEvent("onbeforeunload",i);this.addListener(f,"unload",h)};asual.util.Functions=new function(){this.toString=function(){return "[class Functions]"};this.extend=function(b,a){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.superConstructor=b;a.superClass=b.prototype;return a};this.bind=function(e,d){for(var b=2,c,a=[];c=arguments[b];b++)a.push(c);return function(){return e.apply(d,a)}}};asual.swfaddress.WEBAddressEvent=function(e){var a=asual.swfaddress.WEBAddress;this.toString=function(){return "[object WEBAddressEvent]"};this.type=e;this.target=([a])[0];this.value=a.getValue();this.path=a.getPath();this.pathNames=a.getPathNames();this.parameters={};var c=a.getParameterNames();for(var b=0,d=c.length;b<d;b++)this.parameters[c[b]]=a.getParameter(c[b]);this.parametersNames=c};asual.swfaddress.WEBAddressEvent.INIT="init";asual.swfaddress.WEBAddressEvent.CHANGE="change";asual.swfaddress.WEBAddress=new function(){var ID="",_2f="function",_30="undefined",_31=asual.swfaddress,_32=asual.util,_33=_32.Browser,_34=_32.Events,_35=_32.Functions,_36=_33.getVersion(),_37=false,_t=top,_d=_t.document,_h=_t.history,_l=_t.location,_si=setInterval,_st=setTimeout,_dc=decodeURIComponent,_ec=encodeURIComponent,_40,_41,_42,_43,_44=_d.title,_45=_h.length,_46=false,_47=false,_48=true,_49=true,_4a=[],_4b={},_4c={history:true,html:false,strict:true,tracker:"_trackDefault"};if(_33.isOpera())_37=_36>=9.02;if(_33.isIE())_37=_36>=6;if(_33.isSafari())_37=_36>=312;if(_33.isChrome())_37=_36>=.2;if(_33.isCamino())_37=_36>=1;if(_33.isFirefox())_37=_36>=1;if(!_37&&_l.href.indexOf("#")!=-1||_33.isSafari()&&_36<418&&_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 _4d=function(){var a=_l.href.indexOf("#");return a!=-1?_l.href.substr(a+1):""},_4f=_4d(),_50=function(a,b){if(_4c.strict)a=b?a.substr(0,1)!="/"?"/"+a:a:a==""?"/":a;return a},_53=function(a){return _33.isIE()&&_l.protocol=="file:"?_4f.replace(/\?/,"%3F"):a},_55=function(b){for(var a=0,d=b.childNodes.length,c;a<d;a++){if(b.childNodes[a].src)_42=String(b.childNodes[a].src);if(c=_55(b.childNodes[a]))return c}},_5a=function(){if(_33.isIE()&&_d.title!=_44&&_d.title.indexOf("#")!=-1){_d.title=_44;if(_4c.html&&_40&&_40.contentWindow&&_40.contentWindow.document)_40.contentWindow.document.title=_44}},_5b=function(){if(!_46){var a=_4d(),b=!(_4f==a||_4f==_dc(a)||_dc(_4f)==a);if(_33.isSafari()&&_36<523){if(_45!=_h.length){_45=_h.length;if(typeof _4a[_45-1]!=_30)_4f=_4a[_45-1];_5e.call(this)}}else if(_33.isIE()&&b)if(_36<7)_l.reload();else this.setValue(a);else if(b){_4f=a;_5e.call(this)}_5a.call(this)}},_5f=function(a){this.dispatchEvent(new _31.WEBAddressEvent(a));a=a.substr(0,1).toUpperCase()+a.substr(1);if(typeof this["on"+a]==_2f)this["on"+a]()},_61=function(){_5f.call(this,"init")},_62=function(){_5f.call(this,"change")},_5e=function(){_62.call(this);_st(_35.bind(_63,this),10)},_64=function(a){if(typeof urchinTracker==_2f)urchinTracker(a);if(typeof pageTracker!=_30&&typeof pageTracker._trackPageview==_2f)pageTracker._trackPageview(a)};eval("var _trackDefault = "+_64+";");var _63=function(){if(typeof _4c.tracker!=_30&&eval("typeof "+_4c.tracker+' != "'+_30+'"')){var fn=eval(_4c.tracker);if(typeof fn==_2f)fn(_dc((_l.pathname+(/\/$/.test(_l.pathname)?"":"/")+this.getValue()).replace(/\/\//,"/").replace(/^\/$/,"")))}},_67=function(){var a=_40.contentWindow.document;a.open();a.write("<html><head><title>"+_d.title+"</title><script>var "+ID+' = "'+_ec(_4d())+'";</script></head></html>');a.close()},_69=function(){var a=_40.contentWindow,b=a.location.href;_4f=_4c.html?b.indexOf("?")>-1?_dc(b.substr(b.indexOf("?")+1)):"":typeof a[ID]!=_30?_dc(a[ID]):"";if(_4c.html)a.document.title=_44;if(_4f!=_4d()){_5e.call(_31.WEBAddress);_l.hash=_53(_4f)}},_6c=function(){if(!_47){_47=true;var a='id="'+ID+'" style="position:absolute;top:-9999px;"';if(_33.isIE()&&_36<8){_d.body.appendChild(_d.createElement("div")).innerHTML="<iframe "+a+' src="'+(_4c.html?_42.replace(/\.js(\?.*)?$/,".html")+"?"+_ec(_4d()):"javascript:false;")+'" width="0" height="0"></iframe>';_40=_d.getElementById(ID);_st(function(){_34.addListener(_40,"load",_69);if(!_4c.html&&typeof _40.contentWindow[ID]==_30)_67()},50)}else if(_33.isSafari()){if(_36<418){_d.body.innerHTML+="<form "+a+' method="get"></form>';_41=_d.getElementById(ID)}if(typeof _l[ID]==_30)_l[ID]={};if(typeof _l[ID][_l.pathname]!=_30)_4a=_l[ID][_l.pathname].split(",")}_st(_35.bind(_61,this),1);_st(_35.bind(_62,this),2);_st(_35.bind(_63,this),10);if(_33.isIE()&&_36>=8){_d.body.onhashchange=_35.bind(_5b,this);_43=_si(_35.bind(_5a,this),50)}else _43=_si(_35.bind(_5b,this),50)}},_6e=function(){clearInterval(_43)};this.onInit=null;this.onChange=null;this.toString=function(){return "[class WEBAddress]"};this.back=function(){_h.back()};this.forward=function(){_h.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){_h.go(a)};this.addEventListener=function(a,b){if(typeof _4b[a]==_30)_4b[a]=[];_4b[a].push(b)};this.removeEventListener=function(a,d){if(typeof _4b[a]!=_30){for(var b=0,c;c=_4b[a][b];b++)if(c==d)break;_4b[a].splice(b,1)}};this.dispatchEvent=function(a){if(this.hasEventListener(a.type)){a.target=this;for(var b=0,c;c=_4b[a.type][b];b++)c(a);return true}return false};this.hasEventListener=function(a){return typeof _4b[a]!=_30&&_4b[a].length>0};this.getBaseURL=function(){var a=_l.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 _4c.strict};this.setStrict=function(a){_4c.strict=a};this.getHistory=function(){return _4c.history};this.setHistory=function(a){_4c.history=a};this.getTracker=function(){return _4c.tracker};this.setTracker=function(a){_4c.tracker=a};this.getTitle=function(){return _d.title};this.setTitle=function(a){if(!_37)return null;if(typeof a==_30)return;if(a=="null")a="";_44=_d.title=a;_st(function(){if((_49||_4c.html)&&_40&&_40.contentWindow&&_40.contentWindow.document){_40.contentWindow.document.title=a;_49=false}if(!_48&&(_33.isCamino()||_33.isFirefox()))_l.replace(_l.href.indexOf("#")!=-1?_l.href:_l.href+"#");_48=false},50)};this.getStatus=function(){return _t.status};this.setStatus=function(a){if(typeof a==_30)return;if(!_33.isSafari()){a=_50(a!="null"?a:"",true);if(a=="/")a="";if(!/http(s)?:\/\//.test(a)){var b=_l.href.indexOf("#");a=(b==-1?_l.href:_l.href.substr(0,b))+"#"+a}_t.status=a}};this.resetStatus=function(){_t.status=""};this.getValue=function(){if(!_37)return null;return _50(_4f,false)};this.setValue=function(a){if(!_37)return null;if(typeof a==_30)return;if(a=="null")a="";a=_50(a,true);if(a=="/")a="";if(_4f==a||_4f==_dc(a)||_dc(_4f)==a)return;_48=true;_4f=a;_46=true;_5e.call(_31.WEBAddress);_4a[_h.length]=_4f;if(_33.isSafari())if(_4c.history){_l[ID][_l.pathname]=_4a.toString();_45=_h.length+1;if(_36<418){if(_l.search==""){_41.action="#"+_4f;_41.submit()}}else if(_36<523||_4f==""){var c=_d.createEvent("MouseEvents");c.initEvent("click",true,true);var b=_d.createElement("a");b.href="#"+_4f;b.dispatchEvent(c)}else _l.hash="#"+_4f}else _l.replace("#"+_4f);else if(_4f!=_4d())if(_4c.history)_l.hash=(_33.isChrome()?"":"#")+_53(_4f);else _l.replace("#"+_4f);if(_33.isIE()&&_36<8&&_4c.history)if(_4c.html){var d=_40.contentWindow.location;d.assign(d.pathname+"?"+_4d())}else _st(_67,50);if(_33.isSafari())_st(function(){_46=false},1);else _46=false};this.getPath=function(){var a=this.getValue();return a.indexOf("?")!=-1?a.split("?")[0]:a};this.getPathNames=function(){var a=this.getPath(),b=a.split("/");if(a.substr(0,1)=="/"||a.length==0)b.splice(0,1);if(a.substr(a.length-1,1)=="/")b.splice(b.length-1,1);return b};this.getQueryString=function(){var a=this.getValue(),b=a.indexOf("?");return b!=-1&&b<a.length?a.substr(b+1):""};this.getParameter=function(f){var a=this.getValue(),c=a.indexOf("?");if(c!=-1){a=a.substr(c+1);var d=a.split("&"),b,e=d.length;while(e--){b=d[e].split("=");if(b[0]==f)return b[1]}}return ""};this.getParameterNames=function(){var a=this.getValue(),c=a.indexOf("?"),d=[];if(c!=-1){a=a.substr(c+1);if(a!=""&&a.indexOf("=")!=-1){var e=a.split("&"),b=0;while(b<e.length){d.push(e[b].split("=")[0]);b++}}}return d};if(_37){for(var i=1;i<_45;i++)_4a.push("");_4a.push(_4d());if(_33.isIE()&&_l.hash!=_4d())_l.hash="#"+_53(_4d());_55(document);var _qi=_42.indexOf("?");if(_42&&_qi>-1){var _98,_99=_42.substr(_qi+1).split("&");for(var i=0,p;p=_99[i];i++){_98=p.split("=");if(/^(history|html|strict)$/.test(_98[0]))_4c[_98[0]]=isNaN(_98[1])?eval(_98[1]):parseFloat(_98[1])>0;if(/^tracker$/.test(_98[0]))_4c[_98[0]]=_98[1]}}if(/file:\/\//.test(_l.href))_4c.html=false;var _ei=_42.indexOf(".js"),l;if(_42&&_ei>-1)while(_ei--){l=_42.substr(_ei,1);if(/(\/|\\)/.test(l))break;ID=l+ID}_5a.call(this);if(window==_t)_34.addListener(document,"DOMContentLoaded",_35.bind(_6c,this));_34.addListener(_t,"load",_35.bind(_6c,this));_34.addListener(_t,"unload",_35.bind(_6e,this))}else _63()};SWFAddressEvent=asual.swfaddress.SWFAddressEvent=function(){SWFAddressEvent.superConstructor.apply(this,arguments);this.target=([SWFAddress])[0];this.toString=function(){return "[object SWFAddressEvent]"}};asual.util.Functions.extend(asual.swfaddress.WEBAddressEvent,SWFAddressEvent);asual.swfaddress.SWFAddressEvent.INIT="init";asual.swfaddress.SWFAddressEvent.CHANGE="change";SWFAddress=asual.swfaddress.SWFAddress=new function(){var _9e="undefined",_t=top,_l=_t.location,_a1=this,_a2=[],_a3=[],_a4={},_a5=asual.util,_a6=asual.util.Functions,_a7=asual.swfaddress.WEBAddress;for(var p in _a7)this[p]=_a7[p];var _a9=function(a){this.dispatchEvent(new SWFAddressEvent(a));a=a.substr(0,1).toUpperCase()+a.substr(1);if(typeof this["on"+a]=="function")this["on"+a]()},_ab=function(e){if(_a3.length>0){var _ad=window.open(_a3[0],_a3[1],eval(_a3[2]));if(typeof _a3[3]!=_9e)eval(_a3[3])}_a3=[]},_ae=function(){if(_a5.Browser.isSafari())document.body.addEventListener("click",_ab);_a9.call(this,"init")},_af=function(){_b0();_a9.call(this,"change")},_b0=function(){for(var g=0,f,a,c=SWFAddress.getValue(),b="setSWFAddressValue";f=_a2[g];g++){a=document.getElementById(f);if(a)if(a.parentNode&&typeof a.parentNode.so!=_9e)a.parentNode.so.call(b,c);else{if(!(a&&typeof a[b]!=_9e)){var d=a.getElementsByTagName("object"),e=a.getElementsByTagName("embed");a=d[0]&&typeof d[0][b]!=_9e?d[0]:e[0]&&typeof e[0][b]!=_9e?e[0]:null}if(a)a[b](decodeURIComponent(c))}else if(a=document[f])if(typeof a[b]!=_9e)a[b](c)}};this.toString=function(){return "[class SWFAddress]"};this.addEventListener=function(a,b){if(typeof _a4[a]==_9e)_a4[a]=[];_a4[a].push(b)};this.removeEventListener=function(a,d){if(typeof _a4[a]!=_9e){for(var b=0,c;c=_a4[a][b];b++)if(c==d)break;_a4[a].splice(b,1)}};this.dispatchEvent=function(a){if(typeof _a4[a.type]!=_9e&&_a4[a.type].length){a.target=this;for(var b=0,c;c=_a4[a.type][b];b++)c(a);return true}return false};this.hasEventListener=function(a){return typeof _a4[a]!=_9e&&_a4[a].length>0};this.href=function(b,a){a=typeof a!=_9e?a:"_self";if(a=="_self")self.location.href=b;else if(a=="_top")_l.href=b;else if(a=="_blank")window.open(b);else _t.frames[a].location.href=b};this.popup=function(url,_c5,_c6,_c7){try{var _c8=window.open(url,_c5,eval(_c6));if(typeof _c7!=_9e)eval(_c7)}catch(a){}_a3=arguments};this.getIds=function(){return _a2};this.getId=function(){return _a2[0]};this.setId=function(a){_a2[0]=a};this.addId=function(a){this.removeId(a);_a2.push(a)};this.removeId=function(b){for(var a=0;a<_a2.length;a++)if(b==_a2[a]){_a2.splice(a,1);break}};this.setValue=function(a){if(_a2.length>0!=0&&_a5.Browser.isFirefox()&&navigator.userAgent.indexOf("Mac")!=-1)setTimeout(function(){_a7.setValue.call(SWFAddress,a)},500);else _a7.setValue.call(this,a)};_a7.addEventListener("init",_a6.bind(_ae,this));_a7.addEventListener("change",_a6.bind(_af,this));(function(){var a;if(typeof FlashObject!=_9e)SWFObject=FlashObject;if(typeof SWFObject!=_9e&&SWFObject.prototype&&SWFObject.prototype.write){var e=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 b;if(b=e.apply(this,a))_a1.addId(this.getAttribute("id"));return b}}if(typeof swfobject!=_9e){var b=swfobject.registerObject;swfobject.registerObject=function(){a=arguments;b.apply(this,a);_a1.addId(a[0])};var c=swfobject.createSWF;swfobject.createSWF=function(){a=arguments;c.apply(this,a);_a1.addId(a[0].id)};var d=swfobject.embedSWF;swfobject.embedSWF=function(){a=arguments;d.apply(this,a);_a1.addId(a[8].id)}}if(typeof UFO!=_9e){var g=UFO.create;UFO.create=function(){a=arguments;g.apply(this,a);_a1.addId(a[0].id)}}if(typeof AC_FL_RunContent!=_9e){var f=AC_FL_RunContent;AC_FL_RunContent=function(){a=arguments;f.apply(this,a);for(var b=0,c=a.length;b<c;b++)if(a[b]=="id")_a1.addId(a[b+1])}}})()}