/** * SWFAddress 2.4m: Deep linking for Flash and Ajax * * SWFAddress is (c) 2006-2009 Rostislav Hristov and contributors * This software is released under the MIT License * */ if("undefined"==typeof asual)var asual={};"undefined"==typeof asual.util&&(asual.util={}); asual.util.Browser=new function(){var b=navigator.userAgent.toLowerCase(),e=/webkit/.test(b),m=/opera/.test(b),k=/msie/.test(b)&&!/opera/.test(b),h=/mozilla/.test(b)&&!/(compatible|webkit)/.test(b),s=parseFloat(k?b.substr(b.indexOf("msie")+4):(b.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1]);this.toString=function(){return"[class Browser]"};this.getVersion=function(){return s};this.isMSIE=function(){return k};this.isSafari=function(){return e};this.isOpera=function(){return m};this.isMozilla= function(){return h}}; asual.util.Events=new function(){var b=window,e=document,m=[],k=asual.util,h=k.Browser,s=h.isMSIE(),L=h.isSafari();this.toString=function(){return"[class Events]"};this.addListener=function(b,x,e){m.push({o:b,t:x,l:e});"DOMContentLoaded"==x&&(s||L)||(b.addEventListener?b.addEventListener(x,e,!1):b.attachEvent&&b.attachEvent("on"+x,e))};this.removeListener=function(b,e,h){for(var k=0,G;G=m[k];k++)if(G.o==b&&G.t==e&&G.l==h){m.splice(k,1);break}"DOMContentLoaded"==e&&(s||L)||(b.removeEventListener?b.removeEventListener(e, h,!1):b.detachEvent&&b.detachEvent("on"+e,h))};var N=function(){for(var b=0,e;e=m[b];b++)"DOMContentLoaded"!=e.t&&k.Events.removeListener(e.o,e.t,e.l)},h=function(){if("interactive"==e.readyState){var h=function(){e.detachEvent("onstop",h);N()};e.attachEvent("onstop",h);b.setTimeout(function(){e.detachEvent("onstop",h)},0)}};(s||L)&&function(){try{(s&&e.body||!/loaded|complete/.test(e.readyState))&&e.documentElement.doScroll("left")}catch(b){return setTimeout(arguments.callee,0)}for(var h=0,k;k=m[h];h++)"DOMContentLoaded"== k.t&&k.l.call(null)}();s&&b.attachEvent("onbeforeunload",h);this.addListener(b,"unload",N)};asual.util.Functions=new function(){this.toString=function(){return"[class Functions]"};this.bind=function(b,e,m){for(var k=2,h,s=[];h=arguments[k];k++)s.push(h);return function(){return b.apply(e,s)}}}; var SWFAddressEvent=function(b){this.toString=function(){return"[object SWFAddressEvent]"};this.type=b;this.target=SWFAddress;this.value=SWFAddress.getValue();this.path=SWFAddress.getPath();this.pathNames=SWFAddress.getPathNames();this.parameters={};for(var b=SWFAddress.getParameterNames(),e=0,m=b.length;en?H!=z.length&&(H=z.length,typeof E[H-1]!=f&&(j=E[H-1]),x.call(this,!1)):w&&d?7>n?c.reload():this.setValue(a):d&&(j=a,x.call(this,!1));w&&h.call(this)}},L=function(){0"+i.title+"