var $dhtml=true;var $as3=false;var $js1=true;var $swf9=false;var $swf7=false;var $profile=false;var $swf8=false;var $runtime="dhtml";var $svg=false;var $as2=false;var $debug=false;var $j2me=false;try{ if(lzOptions){ }} catch(e){ lzOptions={}};Lz={__dhtmlhistoryready:false,swfEmbed:function($1,$2){ if($2==null){ $2=7 };var $3=$1.url;var $4=$3.indexOf("lzr=swf");if($4==-1){ $3+="&lzr=swf8";$4=$3.indexOf("lzr=swf") };$4+=7;var $5=$3.substring($4,$4+1)*1;if(dojo.flash.info.commVersion>$5){ $3=$3.substring(0,$4)+dojo.flash.info.commVersion+$3.substring($4+1,$3.length);$2=dojo.flash.info.commVersion }else{ if(dojo.flash.info.commVersion<=7&&$5>7){ dojo.flash.info.commVersion=8 }};if($5>$2){ $2=$5 };var $6=this.__getqueryurl($3);if($1.accessible=="true"){ $6.flashvars+="&accessible=true" };$6.flashvars+="&id="+$1.id;var $3=$6.url+"?"+$6.query;var $7={width:$1.width+"",height:$1.height+"",id:$1.id,bgcolor:$1.bgcolor,wmode:$1.wmode,flashvars:$6.flashvars,flash6:$3,flash8:$3,appenddiv:Lz._getAppendDiv($1.id,$1.appenddivid)};var $8=Lz[$1.id]={runtime:"swf",_id:$1.id,setCanvasAttribute:Lz._setCanvasAttributeSWF,getCanvasAttribute:Lz._getCanvasAttributeSWF,callMethod:Lz._callMethodSWF,_ready:Lz._ready,_onload:[],_getSWFDiv:Lz._getSWFDiv,loaded:false,_sendMouseWheel:Lz._sendMouseWheel,_setCanvasAttributeDequeue:Lz._setCanvasAttributeDequeue};if($1.history!=false){ $8._onload.push(Lz.history.init) };Lz._swfid=$1.id;dojo.flash.addLoadedListener(Lz._loaded);if(!Lz["setCanvasAttribute"]){ Lz.setCanvasAttribute=$8.setCanvasAttribute };if(!Lz["getCanvasAttribute"]){ Lz.getCanvasAttribute=$8.getCanvasAttribute };if(!Lz["callMethod"]){ Lz.callMethod=$8.callMethod };dojo.flash.setSwf($7,$2);Lz.__BrowserDetect.init();if(Lz.__BrowserDetect.OS=="Mac"||($7.wmode=="transparent"||$7.wmode=="opaque")&&Lz.__BrowserDetect.OS=="Windows"&&(Lz.__BrowserDetect.isOpera||Lz.__BrowserDetect.isFirefox)){ LzMousewheelKernel.setCallback($8,"_sendMouseWheel") }},dhtmlEmbedLFC:function($1,$2){ if($2){ this.supportedBrowser=true;Lz.__BrowserDetect.init() }else{ if(!this.__isSupportedBrowser($2===false)){ document.write('
OpenLaszlo

The OpenLaszlo DHTML runtime is not fully supported on this browser. More information is available here.

');return }};if(Lz.__BrowserDetect.isIE){ var $3=lzOptions.ServerRoot+"/lps/includes/excanvas.js";this.__dhtmlLoadScript($3) };if(Lz.__BrowserDetect.isIE&&Lz.__BrowserDetect.version<7||Lz.__BrowserDetect.isSafari&&Lz.__BrowserDetect.version<=419.3){ var $4=$1.indexOf("debug.js")||$1.indexOf("backtrace.js");if($4!=-1){ var $5=$1.substring($4,$1.length-3);$1=$1.substring(0,$4)+$5+"-simple.js" }};this.__dhtmlLoadScript($1) },dhtmlEmbed:function($1,$2){ if($2){ }else{ if(!this.supportedBrowser){ return }};var $3=this.__getqueryurl($1.url,true);var $4=$3.url+"?lzt=object&"+$3.query;Lz.__propcache={bgcolor:$1.bgcolor,width:$1.width.indexOf("%")==-1?$1.width+"px":$1.width,height:$1.height.indexOf("%")==-1?$1.height+"px":$1.height,id:$1.id,appenddiv:Lz._getAppendDiv($1.id,$1.appenddivid),url:$4};var $5=Lz[$1.id]={runtime:"dhtml",_id:$1.id,_ready:Lz._ready,_onload:[],loaded:false,setCanvasAttribute:Lz._setCanvasAttributeDHTML,getCanvasAttribute:Lz._getCanvasAttributeDHTML};if($1.history!=false){ $5._onload.push(Lz.history.init) };if(!Lz["setCanvasAttribute"]){ Lz.setCanvasAttribute=$5.setCanvasAttribute };if(!Lz["getCanvasAttribute"]){ Lz.getCanvasAttribute=$5.getCanvasAttribute };this.__dhtmlLoadScript($4) },__dhtmlLoadScript:function($1){ var $2='';document.writeln($2);return $2 },__dhtmlLoadLibrary:function($1){ var $2=document.createElement("script");this.__setAttr($2,"type","text/javascript");this.__setAttr($2,"src",$1);document.getElementsByTagName("head")[0].appendChild($2);return $2 },__getqueryurl:function($1,$2){ var $3=$1.split("?");$1=$3[0];if($3.length==1){ return {url:$1,flashvars:"",query:""}};var $4=this.__parseQuery($3[1]);var $5="";var $6="";var $7=new RegExp("\\+","g");for(var $8 in $4){ if($8==""||$8==null){ continue };var $9=$4[$8];if($8=="lzr"||$8=="lzt"||$8=="krank"||$8=="debug"||$8=="profile"||$8=="lzbacktrace"||$8=="lzdebug"||$8=="lzkrank"||$8=="lzprofile"||$8=="fb"||$8=="sourcelocators"||$8=="_canvas_debug"){ $5+=$8+"="+$9+"&" };if($2){ if(window[$8]==null){ window[$8]=unescape($9.replace($7," ")) }};$6+=$8+"="+$9+"&" };$5=$5.substr(0,$5.length-1);$6=$6.substr(0,$6.length-1);return {url:$1,flashvars:$6,query:$5}},__parseQuery:function($1){ if($1.indexOf("=")==-1){ return };var $2=$1.split("&");var $3={};for(var $4=0;$4<$2.length;$4++){ var $5=$2[$4].split("=");if($5.length==1){ continue };var $6=$5[0];var $7=$5[1];$3[$6]=$7 };return $3 },__setAttr:function($1,$2,$3){ $1.setAttribute($2,$3) },__isSupportedBrowser:function($1){ if(this.hasOwnProperty("supportedBrowser")){ return this.supportedBrowser };var $2=Lz.__BrowserDetect;$2.init();$2.isSupported=$2.isFirefox&&$2.version>=1.5||$2.isIE&&$2.version>=6||$2.isSafari&&$2.version>=418.9;if($2.isSupported){ this.supportedBrowser=true }else{ if($1){ this.supportedBrowser=false }else{ if(document.cookie=="supportedBrowser=true"){ this.supportedBrowser=true }else{ this.supportedBrowser=confirm("The OpenLaszlo DHTML runtime is not fully supported on this browser. Click OK to try it anyway. [ Detected browser "+$2.browser+" version "+$2.version+"]");if(this.supportedBrowser){ document.cookie="supportedBrowser=true" }}}};return this.supportedBrowser },_setCanvasAttributeSWF:function($1,$2,$3){ if(this.loaded&&dojo.flash.comm["callMethod"]){ if($3){ Lz.history._store($1,$2) }else{ dojo.flash.comm.setCanvasAttribute($1,$2+"") }}else{ if(this._setCanvasAttributeQ==null){ this._setCanvasAttributeQ=[[$1,$2,$3]] }else{ this._setCanvasAttributeQ.push([$1,$2,$3]) }}},_setCanvasAttributeDHTML:function($1,$2,$3){ if($3){ Lz.history._store($1,$2) }else{ if(canvas){ canvas.setAttribute($1,$2) }}},_loaded:function(){ if(dojo.flash.info.commVersion==8){ setTimeout('Lz["'+Lz._swfid+'"]._ready.call(Lz["'+Lz._swfid+'"])',100) }else{ Lz[Lz._swfid]._ready.call(Lz[Lz._swfid]) }},_setCanvasAttributeDequeue:function(){ while(this._setCanvasAttributeQ.length>0){ var $1=this._setCanvasAttributeQ.pop();this.setCanvasAttribute($1[0],$1[1],$1[2]) }},_ready:function($1){ this.loaded=true;Lz.loaded=true;if(this._setCanvasAttributeQ){ this._setCanvasAttributeDequeue() };if($1){ this.canvas=$1 };for(var $2=0;$2');$4=document.getElementById($3) };return $4 },_getSWFDiv:function(){ return dojo.flash.obj.get() },_sendMouseWheel:function($1){ if($1!=null){ this.callMethod("LzKeys.__mousewheelEvent("+$1+")") }},attachEventHandler:function($1,$2,callbackscope,callbackname){ if(!callbackscope||!callbackname||!callbackscope[callbackname]){ return };var $3=$1+$2+callbackscope+callbackname;var $4=function(){ var $1=window.event?[window.event]:arguments;callbackscope[callbackname].apply(callbackscope,$1) };this._handlers[$3]=$4;if($1["addEventListener"]){ $1.addEventListener($2,$4,false);return true }else{ if($1["attachEvent"]){ return $1.attachEvent("on"+$2,$4) }}},removeEventHandler:function($1,$2,$3,$4){ var $5=$1+$2+$3+$4;var $6=this._handlers[$5];this._handlers[$5]=null;if(!$6){ return };if($1["removeEventListener"]){ $1.removeEventListener($2,$6,false);return true }else{ if($1["detachEvent"]){ return $1.detachEvent("on"+$2,$6) }}},_handlers:{},_cleanupHandlers:function(){ Lz._handlers={}}};Lz.attachEventHandler(window,"beforeunload",Lz,"_cleanupHandlers");Lz.__BrowserDetect.init();dojo={};dojo.flash=function(){ };dojo.flash={flash6_version:null,flash8_version:null,ready:false,_visible:true,width:500,height:400,bgcolor:"#ffffff",wmode:"window",flashvars:"",minimumVersion:7,id:"flashObject",appenddiv:null,_loadedListeners:[],_installingListeners:[],setSwf:function($1,$2){ if($1==null){ return };if($1.flash6!=null){ this.flash6_version=$1.flash6 };if($1.flash8!=null){ this.flash8_version=$1.flash8 };if($1.width!=null){ this.width=$1.width };if($1.height!=null){ this.height=$1.height };if($1.id!=null){ this.id=$1.id };if($1.bgcolor!=null){ this.bgcolor=$1.bgcolor };if($1.wmode!=null){ this.wmode=$1.wmode };if($1.visible!=null){ this._visible=$1.visible };if($1.flashvars!=null){ this.flashvars=$1.flashvars };if($1.appenddiv!=null){ this.appenddiv=$1.appenddiv };if($2!=null){ this.minimumVersion=$2 };this._initialize() },useFlash6:function(){ if(this.flash6_version==null){ return false }else{ if(this.flash6_version!=null&&dojo.flash.info.commVersion==6){ return true }else{ return false }}},useFlash8:function(){ if(this.flash8_version==null){ return false }else{ if(this.flash8_version!=null&&dojo.flash.info.commVersion==8){ return true }else{ return false }}},addLoadedListener:function($1){ this._loadedListeners.push($1) },addInstallingListener:function($1){ this._installingListeners.push($1) },loaded:function(){ if(dojo.flash._isinstaller){ top.location=top.location+"" };dojo.flash.info.installing=false;dojo.flash.ready=true;if(dojo.flash._loadedListeners.length>0){ for(var $1=0;$10){ for(var $1=0;$1');document.writeln("Function VBGetSwfVer(i)");document.writeln(" on error resume next");document.writeln(" Dim swControl, swVersion");document.writeln(" swVersion = 0");document.writeln(' set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i))');document.writeln(" if (IsObject(swControl)) then");document.writeln(' swVersion = swControl.GetVariable("$version")');document.writeln(" end if");document.writeln(" VBGetSwfVer = swVersion");document.writeln("End Function");document.writeln("") };this._detectVersion();this._detectCommunicationVersion() };dojo.flash.Info.prototype={version:-1,versionMajor:-1,versionMinor:-1,versionRevision:-1,capable:false,commVersion:6,installing:false,isVersionOrAbove:function($1,$2,$3){ $3=parseFloat("."+$3);if(this.versionMajor>=$1&&this.versionMinor>=$2&&this.versionRevision>=$3){ return true }else{ return false }},_detectVersion:function(){ var $1;for(var $2=25;$2>0;$2--){ if(Lz.__BrowserDetect.isIE){ $1=VBGetSwfVer($2) }else{ $1=this._JSFlashInfo($2) };if($1==-1){ this.capable=false;return }else{ if($1!=0){ var $3;if(Lz.__BrowserDetect.isIE){ var $4=$1.split(" ");var $5=$4[1];$3=$5.split(",") }else{ $3=$1.split(".") };this.versionMajor=$3[0];this.versionMinor=$3[1];this.versionRevision=$3[2];var $6=this.versionMajor+"."+this.versionRevision;this.version=parseFloat($6);this.capable=true;break }}}},_JSFlashInfo:function($1){ if(navigator.plugins!=null&&navigator.plugins.length>0){ if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){ var $2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var $3=navigator.plugins["Shockwave Flash"+$2].description;var $4=$3.split(" ");var $5=$4[2].split(".");var $6=$5[0];var $7=$5[1];if($4[3]!=""){ var $8=$4[3].split("r") }else{ var $8=$4[4].split("r") };var $9=$8[1]>0?$8[1]:0;var $10=$6+"."+$7+"."+$9;return $10 }};return -1 },_detectCommunicationVersion:function(){ if(this.capable==false){ this.commVersion=null;return };if(typeof lzOptions["forceFlashComm"]!="undefined"&&typeof lzOptions["forceFlashComm"]!=null){ this.commVersion=lzOptions["forceFlashComm"];return };if(Lz.__BrowserDetect.isSafari==true||Lz.__BrowserDetect.isOpera==true){ this.commVersion=8 }else{ this.commVersion=6 }}};dojo.flash.Embed=function($1,$2,$3,$4,$5,$6,$7,$8){ this._visible=$1;this.width=$2?$2:215;this.height=$3?$3:138;this.bgcolor=$4?$4:"#ffffff";this.wmode=$5?$5:"window";this.id=$6?$6:"flashObject";this.flashvars=$7?$7:"";this.appenddiv=$8 };dojo.flash.Embed.prototype={width:215,height:138,bgcolor:"#ffffff",wmode:"window",flashvars:"",appenddiv:null,id:"flashObject",_visible:true,protocol:function(){ switch(window.location.protocol){ case "https:": return "https";break; default: return "http";break; }},__getCSSValue:function($1){ if($1&&$1.length&&$1.indexOf("%")!=-1){ return "100%" }else{ return $1+"px" }},write:function($1,$2){ var $3="";$3+="width: "+this.__getCSSValue(this.width)+";";$3+="height: "+this.__getCSSValue(this.height)+";";if(this._visible==false){ $3+="position: absolute; ";$3+="z-index: 10000; ";$3+="top: -1000px; ";$3+="left: -1000px; " };var $4;var $5;if($1==6){ $5=dojo.flash.flash6_version;$4='' }else{ if($1>dojo.flash.version){ $2=true };$5=dojo.flash.flash8_version;var $6=this.flashvars;var $7=this.flashvars;if($2){ var $8=escape(window.location);document.title=document.title.slice(0,47)+" - Flash Player Installation";var $9=escape(document.title);$6+="&MMredirectURL="+$8+"&MMplayerType=ActiveX"+"&MMdoctitle="+$9;$7+="&MMredirectURL="+$8+"&MMplayerType=PlugIn" };if(Lz.__BrowserDetect.isIE){ $4=' '+' '+' '+' '+' '+' '+' '+"" }else{ $4='' }};var $10=this.id+"Container";var $11=this.appenddiv;if($11){ $11.innerHTML=$4;$11.setAttribute("style",$3) }else{ $4='
'+$4+"
";document.writeln($4) }},get:function(){ try{ var $1=document.getElementById(this.id+"") } catch(e){ };return $1 },setVisible:function($1){ var $2=document.getElementById(this.id+"Container");if($1==true){ $2.style.visibility="visible" }else{ $2.style.position="absolute";$2.style.x="-1000px";$2.style.y="-1000px";$2.style.visibility="hidden" }},center:function(){ var $1=this.width;var $2=this.height;var $3=0;var $4=0;var $5=document.getElementById(this.id+"Container");$5.style.top=$4+"px";$5.style.left=$3+"px" }};dojo.flash.Communicator=function(){ if(dojo.flash.useFlash6()){ this._writeFlash6() }else{ if(dojo.flash.useFlash8()){ this._writeFlash8() }}};dojo.flash.Communicator.prototype={_writeFlash6:function(){ var $1=dojo.flash.obj.id;document.writeln('");if(Lz.__BrowserDetect.isIE){ document.writeln(" ") }},_writeFlash8:function(){ },_handleFSCommand:function($1,$2){ if($1!=null&&RegExp("^FSCommand:(.*)").test($1)==true){ $1=$1.match(RegExp("^FSCommand:(.*)"))[1] };if($1=="addCallback"){ this._fscommandAddCallback($1,$2) }else{ if($1=="call"){ this._fscommandCall($1,$2) }else{ if($1=="fscommandReady"){ this._fscommandReady() }}}},_fscommandAddCallback:function($1,$2){ var functionName=$2;var $3=function(){ return dojo.flash.comm._call(functionName,arguments) };dojo.flash.comm[functionName]=$3;var $4=dojo.flash.obj.get();if($4){ $4.SetVariable("_succeeded",true) }},_fscommandCall:function($1,$2){ var $3=dojo.flash.obj.get();var $4=$2;if(!$3){ return };var $5=parseInt($3.GetVariable("_numArgs"));var $6=[];for(var $7=0;$7<$5;$7++){ var $8=$3.GetVariable("_"+$7);$6.push($8) };var $9;var $10=window;if($4.indexOf(".")==-1){ $9=window[$4] }else{ $9=eval($4);$10=eval($4.substring(0,$4.lastIndexOf("."))) };var $11=null;if($9!=null){ $11=$9.apply($10,$6) };$11+="";$3.SetVariable("_returnResult",$11) },_fscommandReady:function(){ var $1=dojo.flash.obj.get();if($1){ $1.SetVariable("fscommandReady","true") }},_call:function($1,$2){ var $3=dojo.flash.obj.get();$3.SetVariable("_functionName",$1);$3.SetVariable("_numArgs",$2.length);for(var $4=0;$4<$2.length;$4++){ var $5=$2[$4];$5=$5.replace(RegExp("\\0","g"),"\\0");$3.SetVariable("_"+$4,$5) };$3.TCallFrame("/flashRunner",1);var $6=$3.GetVariable("_returnResult");$6=$6.replace(RegExp("\\\\0","g"),"\0");return $6 },_addExternalInterfaceCallback:function(methodName){ var $1=function(){ var $1=[];for(var $2=0;$2","g"),">");$1=$1.replace("\\","&custom_backslash;&custom_backslash;");$1=$1.replace(RegExp("\\n","g"),"\\n");$1=$1.replace(RegExp("\\r","g"),"\\r");$1=$1.replace(RegExp("\\f","g"),"\\f");$1=$1.replace(RegExp("\\0","g"),"\\0");$1=$1.replace(RegExp("\\'","g"),"\\'");$1=$1.replace(RegExp('\\"',"g"),'\\"');return $1 },_decodeData:function($1){ if($1==null||typeof $1=="undefined"){ return $1 };$1=$1.replace(RegExp("\\&custom_lt\\;","g"),"<");$1=$1.replace(RegExp("\\&custom_gt\\;","g"),">");$1=eval('"'+$1+'"');return $1 },_chunkArgumentData:function($1,$2){ var $3=dojo.flash.obj.get();var $4=Math.ceil($1.length/1024);for(var $5=0;$5<$4;$5++){ var $6=$5*1024;var $7=$5*1024+1024;if($5==$4-1){ $7=$5*1024+$1.length };var $8=$1.substring($6,$7);$8=this._encodeData($8);$3.CallFunction(''+""+""+$8+""+""+$2+""+""+"") }},_chunkReturnData:function(){ var $1=dojo.flash.obj.get();var $2=$1.getReturnLength();var $3=[];for(var $4=0;$4<$2;$4++){ var $5=$1.CallFunction(''+""+""+$4+""+""+"");if($5=='""'||$5=="''"){ $5="" }else{ $5=$5.substring(1,$5.length-1) };$3.push($5) };var $6=$3.join("");return $6 },_execFlash:function($1,$2){ var $3=dojo.flash.obj.get();$3.startExec();$3.setNumberArguments($2.length);for(var $4=0;$4<$2.length;$4++){ this._chunkArgumentData($2[$4],$4) };$3.exec($1);var $5=this._chunkReturnData();$5=this._decodeData($5);$3.endExec();return $5 }};dojo.flash.Install=function(){ };dojo.flash.Install.prototype={needed:function(){ if(dojo.flash.info.capable==false){ return true };if(Lz.__BrowserDetect.isSafari==true&&!dojo.flash.info.isVersionOrAbove(8,0,0)){ return true };if(dojo.flash.minimumVersion>dojo.flash.info.versionMajor){ return true };if(!dojo.flash.info.isVersionOrAbove(6,0,0)){ return true };return false },install:function(){ dojo.flash.info.installing=true;dojo.flash.installing();dojo.flash.ready=false;if(dojo.flash.info.capable==false){ dojo.flash._isinstaller=true;var $1=dojo.flash.flash8_version;var $2=$1.indexOf("swf7");if($2!=-1){ dojo.flash._tempurl=$1;$1=$1.substring(0,$2+3)+"8"+$1.substring($2+4,$1.length);dojo.flash.flash8_version=$1 };var $3=new (dojo.flash.Embed)(true,"100%","100%");$3.write(8) }else{ if(dojo.flash.info.isVersionOrAbove(6,0,65)){ var $3=new (dojo.flash.Embed)(false,"100%","100%");$3.write(8,true);$3.setVisible(true);$3.center() }else{ alert("This content requires a more recent version of the Macromedia "+" Flash Player.");window.location="http://www.macromedia.com/go/getflashplayer" }}},_onInstallStatus:function($1){ if($1=="Download.Complete"){ dojo.flash._initialize() }else{ if($1=="Download.Cancelled"){ alert("This content requires a more recent version of the Macromedia "+" Flash Player.");window.location="http://www.macromedia.com/go/getflashplayer" }else{ if($1=="Download.Failed"){ alert("There was an error downloading the Flash Player update. "+"Please try again later, or visit macromedia.com to download "+"the latest version of the Flash plugin.") }}}}};dojo.flash.info=new (dojo.flash.Info)();Lz.iframemanager={__highestz:0,__frames:{},__namebyid:{},create:function($1,$2,$3){ var $4=document.createElement("iframe");$4.owner=$1;$4.skiponload=true;var $5="__lz"+Lz.iframemanager.__highestz++;Lz.iframemanager.__frames[$5]=$4;if($2==null||$2=="null"){ $2=$5 };if($2!=""){ Lz.__setAttr($4,"name",$2) };this.__namebyid[$5]=$2;Lz.__setAttr($4,"src",'javascript:""');if($3==null||$3=="undefined"){ $3=document.body };$3.appendChild($4);Lz.__setAttr($4,"id",$5);var $6=Lz.iframemanager.getFrame($5);Lz.__setAttr($6,"onload",'Lz.iframemanager.__gotload("'+$5+'")');$6.__gotload=Lz.iframemanager.__gotload;$6._defaultz=99900+Lz.iframemanager.__highestz;$6.style.zIndex=$6._defaultz;Lz.iframemanager.__topiframe=$5;if(document.getElementById&&!document.all){ $6.style.border="0" }else{ if(document.all){ Lz.__setAttr($6,"border","0");Lz.__setAttr($6,"allowtransparency","true");var $7=Lz[$6.owner];if($7.runtime=="swf"){ var $8=$7._getSWFDiv();$8.onfocus=Lz.iframemanager.__refresh }}};$6.style.position="absolute";return $5+"" },getFrame:function($1){ return Lz.iframemanager.__frames[$1] },setSrc:function($1,$2,$3){ if($3){ var $4=Lz.iframemanager.getFrame($1);if(!$4){ return };Lz.__setAttr($4,"src",$2);return true }else{ var $1=Lz.iframemanager.__namebyid[$1];var $4=window[$1];if(!$4){ return };$4.location.replace($2);return true }},setPosition:function($1,$2,$3,$4,$5,$6){ var $7=Lz.iframemanager.getFrame($1);if(!$7){ return };if($2!=null){ $7.style.left=$2+"px" };if($3!=null){ $7.style.top=$3+"px" };if($4!=null){ $7.style.width=$4+"px" };if($5!=null){ $7.style.height=$5+"px" };if($6!=null){ if(typeof $6=="string"){ $6=$6=="true" };$7.style.display=$6?"block":"none" };return true },setVisible:function($1,$2){ if(typeof $2=="string"){ $2=$2=="true" };var $3=Lz.iframemanager.getFrame($1);if(!$3){ return };$3.style.display=$2?"block":"none";return true },bringToFront:function($1){ var $2=Lz.iframemanager.getFrame($1);if(!$2){ return };$2.style.zIndex=100000+Lz.iframemanager.__highestz;Lz.iframemanager.__topiframe=$1;return true },sendToBack:function($1){ var $2=Lz.iframemanager.getFrame($1);if(!$2){ return };$2.style.zIndex=$2._defaultz;return true },__gotload:function($1){ var $2=Lz.iframemanager.getFrame($1);if(!$2){ return };if($2.skiponload){ $2.skiponload=false;return };if($2.owner&&$2.owner.__gotload){ $2.owner.__gotload() }else{ Lz[$2.owner].callMethod("Lz.iframemanager.__gotload('"+$1+"')") }},__refresh:function(){ if(Lz.iframemanager.__topiframe){ var $1=Lz.iframemanager.getFrame(Lz.iframemanager.__topiframe);if($1.style.display=="block"){ $1.style.display="none";$1.style.display="block" }}}};LzMousewheelKernel={__mousewheelEvent:function($1){ if(!$1){ $1=window.event };var $2=0;if($1.wheelDelta){ $2=$1.wheelDelta/120;if(Lz.__BrowserDetect.isOpera){ $2=-$2 }}else{ if($1.detail){ $2=-$1.detail/3 }};if($1.preventDefault){ $1.preventDefault() };$1.returnValue=false;var $3=LzMousewheelKernel.__callbacks.length;if($2!=null&&$3>0){ for(var $4=0;$4<$3;$4+=2){ var $5=LzMousewheelKernel.__callbacks[$4];var $6=LzMousewheelKernel.__callbacks[$4+1];if($5&&$5[$6]){ $5[$6]($2) }}}},__callbacks:[],setCallback:function($1,$2){ if(LzMousewheelKernel.__callbacks.length==0&&lzOptions.dhtmlKeyboardControl!=false){ if(window.addEventListener){ Lz.attachEventHandler(window,"DOMMouseScroll",LzMousewheelKernel,"__mousewheelEvent") };Lz.attachEventHandler(document,"mousewheel",LzMousewheelKernel,"__mousewheelEvent") };LzMousewheelKernel.__callbacks.push($1,$2) }};Lz.history={_currentstate:null,init:function(){ var $1=Lz.history;$1._title=top.document.title;Lz.__BrowserDetect.init();var $2=$1.get();if(Lz.__BrowserDetect.isSafari){ $1._historylength=history.length;$1._history=[];for(var $3=1;$3<$1._historylength;$3++){ $1._history.push("") };$1._history.push($2);var $4=document.createElement("form");$4.method="get";document.body.appendChild($4);$1._form=$4;if(!top.document.location.lzaddr){ top.document.location.lzaddr={}};if(top.document.location.lzaddr.history){ $1._history=top.document.location.lzaddr.history.split(",") };if($2!=""){ $1.set($2) }}else{ if(Lz.__BrowserDetect.isIE){ var $2=top.location.hash;if($2){ $2=$2.substring(1) };var $3=document.createElement("iframe");Lz.__setAttr($3,"id","lzHistory");Lz.__setAttr($3,"frameborder","no");Lz.__setAttr($3,"scrolling","no");Lz.__setAttr($3,"width","0");Lz.__setAttr($3,"height","0");Lz.__setAttr($3,"src",'javascript:""');document.body.appendChild($3);$3=document.getElementById("lzHistory");$1._iframe=$3;$3.style.display="none";$3.style.position="absolute";$3.style.left="-999px";var $5=$3.contentDocument||$3.contentWindow.document;$5.open();$5.close();if($2!=""){ $5.location.hash="#"+$2;$1._parse($2) }}else{ if($2!=""){ $1._parse($2);$1._currentstate=$2 }}};setInterval("Lz.history._checklocationhash()",100) },_checklocationhash:function(){ if(dojo.flash&&dojo.flash.info&&dojo.flash.info.installing){ return };if(Lz.__BrowserDetect.isSafari){ var $1=this._history[this._historylength-1];if($1==""||$1=="#"){ $1="#0" };if(!this._skip&&this._historylength!=history.length){ this._historylength=history.length;if(typeof $1!="undefined"){ $1=$1.substring(1);this._currentstate=$1;this._parse($1) }}else{ this._parse($1.substring(1)) }}else{ var $1=Lz.history.get();if($1==""){ $1="0" };if(Lz.__BrowserDetect.isIE){ if($1!=this._currentstate){ top.location.hash=$1=="0"?"":"#"+$1;this._currentstate=$1;this._parse($1) };if(top.document.title!=this._title){ top.document.title=this._title }}else{ this._currentstate=$1;this._parse($1) }};if(dojo.flash.obj&&Lz.loaded){ var $2=dojo.flash.obj.get();if($2){ var $3=$2.GetVariable("_callbackID");if($3!="null"){ return };var $4=$2.GetVariable("_currenthistory");if($4&&$4!="null"&&$4!=Lz.history._lasthash){ Lz.history._lasthash=$4 }}}},set:function($1){ if($1==null){ $1="" };if(Lz.history._currentstate==$1){ return };Lz.history._currentstate=$1;var $2="#"+$1;if(Lz.__BrowserDetect.isIE){ top.location.hash=$2=="#0"?"":$2;var $3=Lz.history._iframe.contentDocument||Lz.history._iframe.contentWindow.document;$3.open();$3.close();$3.location.hash=$2;Lz.history._parse($1+"") }else{ if(Lz.__BrowserDetect.isSafari){ Lz.history._history[history.length]=$2;Lz.history._historylength=history.length+1;if(Lz.__BrowserDetect.version<412){ if(top.location.search==""){ Lz.history._form.action=$2;top.document.location.lzaddr.history=Lz.history._history.toString();Lz.history._skip=true;Lz.history._form.submit();Lz.history._skip=false }}else{ var $4=document.createEvent("MouseEvents");$4.initEvent("click",true,true);var $5=document.createElement("a");$5.href=$2;$5.dispatchEvent($4) }}else{ top.location.hash=$2;Lz.history._parse($1+"") }};return true },get:function(){ var $1="";if(Lz.__BrowserDetect.isIE){ if(Lz.history._iframe){ var $2=Lz.history._iframe.contentDocument||Lz.history._iframe.contentWindow.document;$1=$2.location.hash }}else{ $1=top.location.href };var $3=$1.indexOf("#");if($3!=-1){ return $1.substring($3+1) };return "" },_parse:function($1){ var $2=Lz.history;if($1.length==0||$1==$2._lasthash){ return };if(Lz.loaded&&$1.indexOf("_lz")!=-1){ $2._lasthash=$1;$1=$1.substring(3);var $3=$1.split(",");for(var $4=0;$4<$3.length;$4++){ var $5=$3[$4];var $6=$5.indexOf("=");var $7=unescape($5.substring(0,$6));var $8=unescape($5.substring($6+1));Lz.setCanvasAttribute($7,$8);if(window["canvas"]){ canvas.setAttribute($7,$8) }}}else{ if(Lz.loaded&&Lz.callMethod&&$1!=Lz.history._lasthash){ $2.__setFlash($1) };if(Lz.__dhtmlhistoryready&&LzHistory&&LzHistory["receiveHistory"]){ LzHistory.receiveHistory($1);$2._lasthash=$1 }}},_store:function($1,$2){ if($1 instanceof Array){ var $3="";for(var $4=0;$4<$1.length;$4=$4+2){ $3+=escape($1[$4])+"="+escape($1[$4+1])+"";if($4<$1.length-2){ $3+="," }}}else{ var $3=escape($1)+"="+escape($2)+"" };this.set("_lz"+$3) },__receivedhistory:function($1){ Lz.history._lasthash=$1+"" },__setFlash:function($1){ var $2=dojo.flash.obj.get();if($2){ var $3=$2.GetVariable("_callbackID")+"";if($3=="null"){ Lz.callMethod("LzHistory.receiveHistory("+$1+")") }else{ setTimeout("Lz.history.__setFlash("+$1+")",10) }}}};if(Lz.__BrowserDetect.isFirefox){ window.onunload=function(){ }}