if(typeof asual=="undefined"){var asual=new Object();}if(typeof asual.util=="undefined"){asual.util=new Object();}asual.util.Browser=new function(){var _1=navigator.userAgent;this.supported=false;this.ie=false;this.gecko=false;this.safari=false;this.opera=false;if(/MSIE/.test(_1)){this.ie=true;this.supported=parseFloat(_1.substring(_1.indexOf("MSIE")+4))>=6;}else{if(/AppleWebKit/.test(_1)){this.safari=true;this.supported=parseFloat(_1.substring(_1.indexOf("Safari")+7))>=312;}else{if(/Opera/.test(_1)){this.opera=true;this.supported=parseFloat(navigator.appVersion)>=9.02;}else{if(/Firefox/.test(_1)){this.gecko=true;this.supported=parseFloat(_1.substring(_1.indexOf("Firefox")+8))>=1;}else{if(/Camino/.test(_1)){this.gecko=true;this.supported=parseFloat(_1.substring(_1.indexOf("Camino")+7))>=1;}else{if(/Netscape/.test(_1)){this.gecko=true;this.supported=parseFloat(_1.substring(_1.indexOf("Netscape")+9))>=8;}else{if(/Mozilla/.test(_1)&&/rv:/.test(_1)){this.gecko=true;this.supported=parseFloat(_1.substring(_1.indexOf("rv:")+3))>=1.8;}}}}}}}};asual.util.Cookie=new function(){this.write=function(_2){var _3=new Date();_3.setTime(_3.getTime()+(3*8640000));var _4="; expires="+_3.toGMTString();document.cookie="swfaddress="+_2+_4+"; path="+location.pathname;};this.read=function(){var _5="swfaddress=";var _6=document.cookie.split(";");for(var i=0,c;c=_6[i];i++){while(c.charAt(0)==" "){c=c.substring(1);}if(c.indexOf(_5)==0){return c.substring(_5.length);}}};};asual.util.Functions=new function(){this.extend=function(_9,_a){function inheritance(){}inheritance.prototype=_9.prototype;_a.prototype=new inheritance();_a.prototype.constructor=_a;_a.superConstructor=_9;_a.superClass=_9.prototype;return _a;};this.bindAsListener=function(_b,_c,_d){return function(_e){return _b.call(_c,_e||((_d)?_d.event:window.event));};};};asual.util.Events=new function(){var _f=new Array();this.addListener=function(obj,_11,_12){if(obj.addEventListener){obj.addEventListener(_11,_12,false);}else{if(obj.attachEvent){obj.attachEvent("on"+_11,_12);}else{obj["on"+_11]=_12;}}_f.push({o:obj,t:_11,l:_12});};this.removeListener=function(obj,_14,_15){if(obj.removeEventListener){obj.removeEventListener(_14,_15,false);}else{if(obj.detachEvent){obj.detachEvent("on"+_14,_15);}else{obj["on"+_14]=_15;}}};var _16=function(){for(var i=0,evt;evt=_f[i];i++){asual.util.Events.removeListener(evt.o,evt.t,evt.l);}};if(asual.util.Browser.ie||asual.util.Browser.safari){this.addListener(window,"unload",asual.util.Functions.bindAsListener(_16,this));}};asual.SWFAddress=new function(){var _19,_1a,_1b;var _1c;var _1d;var _1e=document.title;var _1f=history.length;var _20=new Array();var js="js/swfaddress.js";var _22="js/swfaddress.html";var _23=location.hash;var _24=function(){if(asual.util.Browser.safari){if(_1f!=history.length){_1f=history.length;if(typeof _20[_1f-1]!="undefined"){_23=_20[_1f-1];}_25();}}else{if(asual.util.Browser.ie){if(_23!=location.hash){asual.SWFAddress.setValue(location.hash.replace(/#/g,""));}if(document.title!=_1e){asual.SWFAddress.setTitle(_1e);}}else{if(_23!=location.hash){_23=location.hash;_25();}}}};var _25=function(){var _26=_23.replace(/#/g,"");if(_26!=_1c){_1c=_26;if(document&&document.getElementById(_1d)){document.getElementById(_1d).setSWFAddressValue(_26);}}};var _27=function(){if(_19.contentWindow&&_19.contentWindow.location){var win=_19.contentWindow;win.document.title=top.document.title=_1e;var src=win.location.href;if(src.indexOf("?")>-1){_23="#"+src.substring(src.indexOf("?")+1);}else{_23="#";}if(_23!=location.hash){_25();location.hash=_23;}}};var _2a=function(){if(asual.util.Browser.ie||asual.util.Browser.safari){var _2b=document.createElement("div");_2b.id="swfaddress";var _2c=document.getElementsByTagName("script");for(var i=0,s;s=_2c[i];i++){if(s.src.indexOf(js)>-1){_22=(new String(s.src)).replace(js,_22);}}_2b.innerHTML="<iframe id=\"swfaddress-iframe\" src=\""+_22+location.hash.replace(/#/g,"?")+"\" frameborder=\"no\" scrolling=\"no\"></iframe>";document.body.appendChild(_2b);_2b.style.position="absolute";_2b.style.left=_2b.style.top="-9999px";_19=_2b.getElementsByTagName("iframe")[0];}if(asual.util.Browser.ie){asual.util.Events.addListener(_19,"load",asual.util.Functions.bindAsListener(_27,this));}if(asual.util.Browser.safari){_1a=document.createElement("form");_1a.id="swfaddress-form";_1a.method="get";_1a.innerHTML+="<textarea id=\"swfaddress-textarea\"></textarea>";_2b.appendChild(_1a);_1b=_1a.getElementsByTagName("textarea")[0];var _2f=asual.util.Cookie.read();if(_1b.value!=""){_20=_1b.value.split(",");}else{if(typeof _2f!="undefined"){_20=_2f.split(",");}}}};this.getId=function(){if(!asual.util.Browser.supported){return;}return _1d;};this.setId=function(id){if(!asual.util.Browser.supported){return;}_1d=id;};this.getTitle=function(){if(!asual.util.Browser.supported){return;}return _1e;};this.setTitle=function(_31){if(!asual.util.Browser.supported){return;}if(_31=="null"){_31="";}if(typeof _31!="undefined"){_1e=_31;top.document.title=_1e;}};this.getValue=function(){if(!asual.util.Browser.supported){return;}var _32=_23.replace(/#/gi,"");return _32;};this.setValue=function(_33){if(!asual.util.Browser.supported){return;}if(_33=="null"){_33="";}if(_1c==_33){return;}var _34;if(document&&document.getElementById(_1d)){_34=document.getElementById(_1d).getSWFAddressValue();if(_34=="null"){_34="";}}_23="#"+_33;if(_34==_33){_1c=_33;_25();}else{_25();_1c=_33;}if(asual.util.Browser.safari){_1a.action=_23;_20[history.length]=_23;_1b.value=_20;asual.util.Cookie.write(_20);_1f=history.length+1;_1a.submit();}else{location.hash=_23;}if(asual.util.Browser.ie){var win=_19.contentWindow;var _36="?"+_23.substring(_23.indexOf("#")+1);win.location.assign(win.location.pathname+_36);}};if(!asual.util.Browser.supported){return;}if(asual.util.Browser.safari){for(var i=1;i<_1f;i++){_20.push("");}_20.push(location.hash);}if(asual.util.Browser.ie){if(_23==""){location.hash="#";}}setInterval(_24,50);asual.util.Events.addListener(window,"load",asual.util.Functions.bindAsListener(_2a,this));_1c=this.getValue();_25();};asual.SWFAddressObject=asual.util.Functions.extend(deconcept.SWFObject,function(swf,id,w,h,ver,c,_3e,_3f,_40,_41){asual.SWFAddressObject.superConstructor.apply(this,arguments);asual.SWFAddress.setId(id);});SWFObject=deconcept.SWFObject=asual.SWFAddressObject;SWFAddress=asual.SWFAddress;
