/** * SWFAddress 2.1: Deep linking for Flash and Ajax - http://www.asual.com/swfaddress/ * * SWFAddress is (c) 2006-2007 Rostislav Hristov and 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  * and is released under the MIT License: * http://www.opensource.org/licenses/mit-license.php * */SWFAddressOptimizer=new function(){var _1=location.href.indexOf("#");var _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){if(el.src&&/swfaddress-optimizer\.js(\?.*)?$/.test(el.src)){return el;}for(var i=0,c;c=el.childNodes[i];i++){if(s=_11(c)){return s;}}};_2=String(_11(document).src);if(_2&&(qi=_2.indexOf("?"))>-1){var _15,_16=_2.substr(qi+1).split("&");for(var j=0,p;p=_16[j];j++){_15=p.split("=");if(/^(flash|base|swfaddress)$/.test(_15[0])){_3[_15[0]]=unescape(_15[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"]);}};