/**
 * SWFAddress 2.2: Deep linking for Flash and Ajax <http://www.asual.com/swfaddress/>
 *
 * SWFAddress is (c) 2006-2008 Rostislav Hristov and contributors
 * This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
 *
 * Uses code from SWFObject 2.0 <http://code.google.com/p/swfobject/>
 * SWFObject is (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
 *
 */
SWFAddressOptimizer=new function(){var _1=location.href.indexOf("#"),_2,_3={};var _4=function(_5){var rv=_5.toString().split(".");for(var i=0;i<3;i++){rv[i]=typeof rv[i]!="undefined"?parseInt(rv[i]):0;}var pv=[0,0,0];var d=null;if(typeof navigator.plugins!="undefined"&&typeof navigator.plugins["Shockwave Flash"]=="object"){d=navigator.plugins["Shockwave Flash"].description;if(d){d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");pv[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);pv[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);pv[2]=/r/.test(d)?parseInt(d.replace(/^.*r(.*)$/,"$1"),10):0;}}else{if(typeof window.ActiveXObject!="undefined"){var a=null;var _b=false;try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");pv=[6,0,21];a.AllowScriptAccess="always";}catch(e){if(pv[0]==6){_b=true;}}if(!_b){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}}if(!_b&&typeof a=="object"){try{d=a.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");pv=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)];}}catch(e){}}}}return (pv[0]>rv[0]||(pv[0]==rv[0]&&pv[1]>rv[1])||(pv[0]==rv[0]&&pv[1]==rv[1]&&pv[2]>=rv[2]))?true:false;};var _c=function(_d,_e){var _f=location.href.split(location.hostname)[1].replace(_e,"");if(_d!="/"&&(_1==-1||_1==location.href.length-1)&&(_f!=""&&_f!="/")){var xhr;if(window.XMLHttpRequest){xhr=new XMLHttpRequest();}else{if(window.ActiveXObject){try{try{xhr=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){xhr=new ActiveXObject("Microsoft.XMLHTTP");}}catch(e){}}}if(xhr){xhr.open("get",((typeof _e!="undefined")?_e:"")+"/?"+_d,false);xhr.setRequestHeader("Content-Type","application/x-swfaddress");xhr.send("");eval(xhr.responseText);}}};var _11=function(el){for(var i=0,l=el.childNodes.length,s;i<l;i++){if(el.childNodes[i].src){_2=String(el.childNodes[i].src);}_11(el.childNodes[i]);}};_11(document);var qi=_2.indexOf("?");if(_2&&qi>-1){var _17,_18=_2.substr(qi+1).split("&");for(var i=0,p;p=_18[i];i++){_17=p.split("=");if(/^(flash|base|swfaddress)$/.test(_17[0])){_3[_17[0]]=unescape(_17[1]);}}}if(typeof _3.flash!="undefined"){if(_4(_3.flash)){_c(_3.swfaddress,_3.base);}else{if(_1!=-1){location.replace(location.href.replace(/#(\/)?/,""));}}}else{_c(_3.swfaddress,_3.base);}this.toString=function(){return "[class SWFAddressOptimizer]";};};

