﻿/*
	krpano Flash/HTML5 Embedding script
	krpano 1.0.8.12 (build 2010-11-24)

	usage informations:
		http://krpano.com/docu/swfkrpanojs/

	this script has the SWFObject v1.5 script embedded:
		SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
		SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
		http://www.opensource.org/licenses/mit-license.php
*/
if(typeof(deconcept)=="undefined"){var deconcept=new Object();}if(typeof(deconcept.util)=="undefined"){deconcept.util=new Object();}if(typeof(deconcept.SWFObjectUtil)=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";
this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");
this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};
window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
function SWFkrpanoMouseWheel(a){SWFkrpanoMouseWheel.isMac=navigator.appVersion.toLowerCase().indexOf("mac")!=-1;var b=String(a.params.wmode).toLowerCase();this.wmodefix=b=="opaque"||b=="transparent";this.so=a;this.init()}
SWFkrpanoMouseWheel.prototype={init:function(){if(!SWFkrpanoMouseWheel.instances){SWFkrpanoMouseWheel.instances=[];window.addEventListener&&window.addEventListener("DOMMouseScroll",SWFkrpanoMouseWheel_wheelEvent,false);if(window.opera)window.attachEvent("onmousewheel",SWFkrpanoMouseWheel_wheelEvent);else window.onmousewheel=document.onmousewheel=SWFkrpanoMouseWheel_wheelEvent;if(SWFkrpanoMouseWheel.isMac||this.wmodefix){document.onmouseup=SWFkrpanoMouseWheel_upEvent;var a=window.onload;window.onload=
typeof window.onload!="function"?SWFkrpanoMouseWheel_registerEvents_delayed:function(){a();SWFkrpanoMouseWheel_registerEvents_delayed()}}}SWFkrpanoMouseWheel.instances.push(this)},handleMacWheel:function(a){var b=document[this.so.getAttribute("id")];b&&b.externalMouseEvent&&b.externalMouseEvent(a)},hasWheelEvent:function(){var a=document[this.so.getAttribute("id")];if(a&&a.get)return a.get("has_mousewheel_event()")=="true";return false}};
function SWFkrpanoMouseWheel_registerEvents_delayed(){setTimeout(SWFkrpanoMouseWheel_registerEvents,1E3)}
function SWFkrpanoMouseWheel_registerEvents(){var a=0,b=SWFkrpanoMouseWheel.instances.length;for(a=0;a<b;a++){var d=SWFkrpanoMouseWheel.instances[a].so,c=d.getAttribute("id");if(c=document[c]){c.wmodefix=SWFkrpanoMouseWheel.instances[a].wmodefix;if(window.opera&&SWFkrpanoMouseWheel.isMac)if(b==1)SWFkrpanoMouseWheel.overobj=d.getAttribute("id");c.onclick=SWFkrpanoMouseWheel_overEvent;c.onmouseover=SWFkrpanoMouseWheel_overEvent;c.onmouseout=SWFkrpanoMouseWheel_outEvent;if(c.wmodefix)if(c.enable_mousewheel_js_bugfix){c.enable_mousewheel_js_bugfix();
c.jsmwfix_on=true}}}}function SWFkrpanoMouseWheel_overEvent(a){if(a=a&&a.target&&a.target.id?a.target.id:this.id){var b=document[a];SWFkrpanoMouseWheel.overobj=a;if(b.wmodefix)if(b.jsmwfix_on!=true)if(b.enable_mousewheel_js_bugfix){b.enable_mousewheel_js_bugfix();b.jsmwfix_on=true}}}function SWFkrpanoMouseWheel_outEvent(){SWFkrpanoMouseWheel.overobj=null}
function SWFkrpanoMouseWheel_upEvent(){var a=0,b=SWFkrpanoMouseWheel.instances.length;for(a=0;a<b;a++){var d=SWFkrpanoMouseWheel.instances[a].so.getAttribute("id");if((d=document[d])&&(SWFkrpanoMouseWheel.isMac||d.wmodefix))d.externalMouseEvent2&&d.externalMouseEvent2(0,"mouseUp")}}
function SWFkrpanoMouseWheel_wheelEvent(a){if(!a)a=window.event;var b=0;if(a.wheelDelta){b=a.wheelDelta/120;if(window.opera)if(SWFkrpanoMouseWheel.isMac==false)b=-b}else if(a.detail)b=-a.detail;var d=false;if(b){var c=0,f=SWFkrpanoMouseWheel.instances.length;for(c=0;c<f;c++){var e=SWFkrpanoMouseWheel.instances[c].so.getAttribute("id"),g=document[e];if(SWFkrpanoMouseWheel.isMac||g.wmodefix)if(SWFkrpanoMouseWheel.overobj==e){SWFkrpanoMouseWheel.instances[c].handleMacWheel(b);document[e].focus();d=true;
break}if(SWFkrpanoMouseWheel.instances[c].hasWheelEvent()){d=true;break}}}if(SWFkrpanoMouseWheel.overobj)d=true;if(d){a.stopPropagation&&a.stopPropagation();a.preventDefault&&a.preventDefault();a.cancelBubble=true;a.cancel=true;a.returnValue=false}};
function createkrpanoJSviewer(e,a,b,d){if(d===undefined)d="";if(!window.krpanoreg||!window.krpanoreg)document.write('<script src="'+d+'krpanoiphone.license.js" type="text/javascript" charset="UTF-8"><\/script>');typeof krpanoJS==="undefined"&&document.write('<script src="'+d+'krpanoiphone.js" type="text/javascript"><\/script>');var c={};c.params={};c.params.id=e?e:"krpanoSWFObject";c.params.width=a?a:"100%";c.params.height=b?b:"100%";c.params.basepath=d;c.vars={};c.addVariable=function(f,h){c.vars[String(f).toLowerCase()]=
h};c.addParam=function(){};c.passQueryParameters=function(){var f=document.location.search||document.location.hash;if(f){f=f.substring(1).split("&");for(var h=0;h<f.length;h++){var g=f[h],i=g.indexOf("=");if(i==-1)i=g.length;var k=g.substring(0,i);g=g.substring(i+1);c.addVariable(k,g)}}};c.embed=function(f){c.htmltarget=f;window.addEventListener("load",function(){var h=null;if(typeof krpanoJS==="undefined")h="ERROR:<br/><br/>iPhone / iPad Version not available!<br/><br/><br/><br/>";else if(krpanojs_init(c)==
false)h="LICENSE ERROR";if(h)document.getElementById(f).innerHTML='<table width="100%" height="100%"><tr valign="middle"><td><center>'+h+"</center></td></tr></table>"},false)};return c}
function createkrpanoSWFviewer(e,a,b,d,c){if(typeof a==="undefined")a="krpanoSWFObject";if(typeof b==="undefined")b="100%";if(typeof d==="undefined")d="100%";if(typeof c==="undefined")c="#000000";var f=navigator.userAgent.toLowerCase();if(f.indexOf("ipad")>=0||f.indexOf("iphone")>=0||f.indexOf("ipod")>=0){c="./";f=e.lastIndexOf("/");if(f>=0)c=e.slice(0,f+1);return createkrpanoJSviewer(a,b,d,c)}var h="";if(typeof deconcept!=="undefined")if(deconcept.SWFObjectUtil.getPlayerVersion().major>=9){var g=
new SWFObject(e,a,b,d,"9.0.28",c);g.addParam("allowFullScreen","true");g.addParam("allowScriptAccess","always");g.embed=function(i){g.write(i)&&new SWFkrpanoMouseWheel(g)};g.passQueryParameters=function(){var i=document.location.search||document.location.hash;if(i){i=i.substring(1).split("&");for(var k=0;k<i.length;k++){var j=i[k],l=j.indexOf("=");if(l==-1)l=j.length;var m=j.substring(0,l);j=j.substring(l+1);g.addVariable(m,j)}}};return g}else h='Adobe Flash Player 9/10 or higher needed<br/><br/><br/><a href="http://www.adobe.com/go/getflashplayer/" target="_blank"><IMG SRC="http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif" BORDER="1" /></a><br/><small>...click here to download...</small><br/><br/>';
else h="corrupt swfkrpano.js";g={};g.addVariable=function(){};g.passQueryParameters=function(){};g.embed=function(i){document.getElementById(i).innerHTML='<table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br/><br/>'+h+"<br/><br/></center></td></tr></table>"};return g}var createswf=createkrpanoSWFviewer;
function embedpano(e){e||(e={});var a=e.swf?e.swf:"krpano.swf",b=e.xml?e.xml:a.split(".swf").join(".xml"),d=e.id?e.id:"krpanoSWFObject",c=e.target?e.target:null,f=e.width?e.width:"100%";e=e.height?e.height:"100%";if(c){a=createkrpanoSWFviewer(a,d,f,e);a.addVariable("xml",b);a.embed(c)}else alert("ERROR: embedpano() - target needed")}var embedPanoViewer=embedpano;
function createPanoViewer(e){e||(e={});var a={};a.pswfpath=e.swf?e.swf:"krpano.swf";a.pxml=e.xml?e.xml:a.pswfpath.split(".swf").join(".xml");a.pid=e.id?e.id:"krpanoSWFObject";a.ptarget=e.target?e.target:null;a.pwidth=e.width?e.width:"100%";a.pheight=e.height?e.height:"100%";a.pvars=[];a.pparams=[];a.HTML5="auto";a.useHTML5=function(b){a.HTML5=b};a.isHTML5possible=function(){var b=navigator.userAgent.toLowerCase();if(b.indexOf("ipad")>=0||b.indexOf("iphone")>=0||b.indexOf("ipod")>=0)return true;if(b.indexOf("safari")>
0){ind=b.indexOf("version");if(ind>0){var d=parseInt(b.slice(ind+8));if(d>=5)return true}ind=b.indexOf("chrome");if(ind>0){d=parseInt(b.slice(ind+7));if(d>=9)return true}}return false};a.setSWFPath=function(b){a.pswfpath=b;if(a.pxml=="krpano.swf")a.pxml=a.pswfpath.split(".swf").join(".xml")};a.setViewerID=function(b){a.pid=b};a.setSize=function(b,d){a.pwidth=b;a.pheight=d};a.isDevice=function(b){var d="all",c=navigator.userAgent.toLowerCase();if(c.indexOf("ipad")>=0)d+="|ipad";if(c.indexOf("iphone")>=
0)d+="|iphone";if(c.indexOf("ipod")>=0)d+="|ipod";if(c.indexOf("android")>=0)d+="|android";b=String(b).toLowerCase().split("|");if(b==null)return true;var f=b.length;for(c=0;c<f;c++)if(d.indexOf(b[c])>=0)return true;return false};a.addVariable=function(b,d){b=String(b).toLowerCase();if(b=="xml"||b=="pano")a.pxml=d;else a.pvars[b]=d};a.addParam=function(b,d){a.pparams[b]=d};a.passQueryParameters=function(){var b=document.location.search||document.location.hash;if(b){b=b.substring(1).split("&");for(var d=
0;d<b.length;d++){var c=b[d],f=c.indexOf("=");if(f==-1)f=c.length;var h=c.substring(0,f);c=c.substring(f+1);a.addVariable(h,c)}}};a.embed=function(b){if(b)a.ptarget=b;if(a.ptarget){b=null;b=String(a.HTML5).toLowerCase();if(b=="always"||b=="force"||b=="whenpossible"&&a.isHTML5possible()){var d="./";b=a.pswfpath.lastIndexOf("/");if(b>=0)d=a.pswfpath.slice(0,b+1);b=createkrpanoJSviewer(a.pid,a.pwidth,a.pheight,d)}else{b=createkrpanoSWFviewer(a.pswfpath,a.pid,a.pwidth,a.pheight);for(d in a.pparams)typeof a.pparams[d]!=
"function"&&b.addParam(d,a.pparams[d])}for(var c in a.pvars)typeof a.pvars[c]!="function"&&b.addVariable(c,a.pvars[c]);b.addVariable("xml",a.pxml);b.embed(a.ptarget)}else alert("ERROR: createPanoViewer.embed() - target needed")};return a};
﻿// krpano javascript viewer license
krpanoreg="FIRMEDIA.com Internet-Service";
krpanokey=[107,72,9,254,21,122,48,186,47,108,-53,163,-29,134,-18,106,-25,88,-42,187,-10,146,-26,200,19,50,-19,146,11,169,11,125,-23,191,13,145,-5,146,-15,167,12,124,-47,137,1,74,-60,210,2,142,-20,179,4,150,48,163,-7,218,-19,175,-2,255,13,89,-32,123,-53,143,-43,156,-42,212,12,118,-5,150,36,158,14,177,-4,121,15,169,65,123,2,213,-81,184,-4,127,-14,283,51,168,-22,293,82,177,25,139,0,219,50,177,-61,162,-20,243,40,189,36,233,60,218,46,119,-16,208,22,155,-48,204,70,163,43,115,1,164,-10,251,21,35,-7,234,28,220,19,173,-10,223,23,134,58,168,17,266,71,168,19,251,39,187,14,223,41,174,-14,162,-45,111,-9,254,45,153,-59,198,10,233,25,204,49,196,5,154,-16,202,21,181,-39,167,-19,105,-41,102,-50,128,-34,107,1,163,3,243,44,163,-21,234,4,159,28,200,35,239,56,193,-4,217,24,212,-6,290,79,140,-20,292,45,92,-4,248,83,178,44,273,65,217,79,218,54,182,43,219,68,127,-15,176,-6,175,-5,203,14,242,54,143,27,135,-8,163,-18,190,27,216,62,174,-1,202,15,202,48,159,39,252,72,192,51,181,6,230,33,231,27,175,0,225,18,164,38,210,48,211,64,175,26,216,36,236,49,182,14,171,-20,213,30,171,33,200,22,216,44,105,-21,237,59,157,22,162,22,206,56,137,0,278,68,170,17,184,46,132,-7,247,43,166,-24,202,-26,300,65,169,33,242,44,217,54,170,80,200,64,176,45,203,5,276,64,137,0,212,-25,262,50,147,6,207,58,156,5,250,66,89,7,221,47,187,32,150,-12,137,6,251,37,197,1,300,54,61,-19,206,9,234,36,181,5,196,-8,283,58,149,-15,239,31,224,42,164,41,141,6,232,24,207,15,218,-5,260,45,197,24,280,75,156,49,200,72,123,1,267,71,138,46,142,-6,163,-2,189,-6,227,74,211,62,224,76,169,30,139,1,218,50,231,51,234,80,173,25,264,65,181,26,234,32,226,48,149,42,131,-8,282,64,201,19,230,40,242,38,187,36,172,-11,190,-22,231,39,119,-7,254,46,136,27,164,12,241,82,129,6,138,14,281,78,218,70,166,17,147,3,200,26,206,38,272,60,127,-11,251,11,278,49,131,-7,308,56,96,24,226,41,191,41,216,14,243,34,222,33,143,-7,233,-3,227,52,155,41,200,30,193,48,152,11,255,59,132,24,151,-3,199,57,198,34,228,58,249,82,63,-18,187,9,226,21,265,64,153,-8,214,5,254,12,250,66,209,29,168,54,188,64,145,-10,200,-4,296,32,232,74,210,74,191,47,197,79,137,16,174,1,204,36,209,63,164,62,153,37,190,66,125,46,141,9,251,29,229,33,132,29,132,-22,221,12,263,34,243,51,149,-2,238,9,221,16,196,-1,255,64,109,15,260,55,231,55,190,6,288,65,147,-21,288,60,95,7,243,60,161,0,233,79,160,33,136,-3,187,15,161,-1,173,-12,238,35,195,-8,266,70,151,62,170,65,215,54,210,34,180,20,231,36,255,38,192,45,251,50,136,54,167,34,239,54,198,30,222,14,180,-6,266,52,171,3,182,-8,192,13,228,44,224,61,90,-17,240,38,127,-10,192,34,172,31,238,81,237,63,154,9,123,17,232,54,189,36,197,24,206,11,267,46,165,8,186,-6,260,41,181,55,208,71,176,29,211,3,203,-1,291,67,140,-3,260,28,208,52,123,-10,216,11,187,-13,165,-11,229,-19,120];
/* krpanoiphone.js 1.0.8.11 (build 2010-05-31) */
var _=["q;F{&","sypRJ}~3.Iq;EbE2","k^RB","uGEuE|;N}?l'{v","u6:-&M=Di?k}??$A}","URvR{}p&~;:F^t",")P(^|v$?~I|=EGus0","S?l|U&ys-'|Y&Z","S(}s=}:0ED&~;","85?:dM3Di?k}??$A}","suuE|pj_I0T",");?wSY)$y",",G=G6EGGn2","Dv?6|Y)0F","n;?6|Y)0/","J6?:dM3","pIq~{Ge","wutG=EuI&Y","D$~6?:i ~]","6}~]=?","nv[;=EDP(GpR$G=}","6:7x$bt:H","D2(|wv}Z$6E","3:U-x&G,M;R","b?Z =^n|","Gvv-5|vE","IqpE;Jv-~","A:|=Gn0{Me&G","B$y;8","vvM]RYE$U_;","8&I]?3","Di|{;Iv-6|_","n_^y}w25Ib=}$us0","0-7q?lu&","(7&Zv'GR?:JvGZR","(q[;=EDP(^|v$?~",";=l]}B$y;8","?3u6;l2URv","A?I{T~ny}Z","6E43","^~pE11?","n$nG6^sZv6UP^<","I|r}$;}b(:l}|v","0-GyA6vEIil]}Z","v2sS}","Z&3qS(}R~v$;E","t^r","r:TE~liE","t(GUP(^|v$?~","GED-J}:J}~3.Iq;EbE2",":|Qnwq&H?rE",">cc$Voqb?P^%??~EpLP^%GyqIDl7}ZPlJs 0M${&+","??r$l;}","_5?:dM3","v&=","l3vG v|3}Z"," y}~3^?^R$","vvM36Z","v:v3-i","$DA:-i",";9~t}<","^b??~E","$bGy",":|Ln'Z&P[","k^RB0lFEG","Ib~E2FsQt","(}U q;EGIbUP>-r;Gn0)&uR|;;P4l${}yB","n|h&;;|2},YM~]R","H&v&$3wGlbZ?:2p","qu0I3","-J}$46:H","~lGZ&/i{","-|c}Z ;E","?~-Rqv'GRdvMG3","TGsUbG~?","??r","3:u","TE]fp2:vl3&xa",";?6|YP(^|v$?~","?~s:'A?jG~>&6",";>2}R~O",";>2}R~#","<D0[M3?","A:|=Gn0",";>2:0{hE$U_;","3-770E?wv['3","x>y ","S'$R"," pMURW;lr6}=",":|Ln'Z&#?E&6","?rw?wSYLvMG3","-|h&;;|2}:~p","RVc$Voqb?PPD0)P 6}Pvu&|$4I&t","$pMURWunvI{&",")L>&b=}$y)8vT8)L;GkmL=Gv5Ey","8^ypE|","v&=t&?Gw63q","q}=|[k^RB&$","^~bE2FE$U_;","4nrD$~","?~s:'A?H?rE","qvMG3J^RB&$",":|Qnwq&N-H|",",:Jus1","0l;;^|yE/$P","[BRr&$3[=(G~vP:2p{n2^U |3<","JH&v&$3[=(G~vP:2p{n2^U |3e","BRr&$3_G|d,G|&x q^vI{$=z","U&=","Su1","I|~}$#^y;8",":|w?wSY>~p","{:Mt^psURq","uMURs","v{-Sd","v0$AR","bl7}h","r:T&xs0'E",")[P{:Mt^~7p&$(:2om$$88","vS2n65s:u","TE$|]p-TE","DM$]^~s:u","0?7r6=3-|","unwq&D?rE","P:|=c^;}","6?Gy^~7p1D0)Ps 0&tIq","ul2Z","~:|R","PJp/u6)uM$;}$)&G$:2B","~liE","[5l3P:2p","0?Gy~lbn","BRr&$3wGlbZ?:2pLv[{}",">~/qS~/qV~/qf&<<<<<","un'Z&|[",":|vvlG=","?r(}sT[;=l3&|YM~]R","-ulS^=z","r}$;^n|",":2 &b=G=I?r>Yl|U&","B&v&$3EEG;~EA=IuR","TE]fpvGs~;6l3&xa","pE]fpvGs~;6l3&j0","t:ilIb","BRr&$3_:1LYMy:H","(}U q;EGEtq3-Iq","[PKpvGs~;6l3&he","iG|J7(:'by -0?(","vS}~}","3ey[1","xIS1di5x","$|I0T","2 7?3","7&Zv'GR|YM~]R","U^jIWc:PRVc$V","^~Iv","7}Z=|GE;=lG=","H?;:n1c_lT-x","u1Kp2:vl3&he","i:TF","[2Rq&Gr}3ZT","v-6|_As~AR6","GRZu-|v&hHU","32G~;6l3&j0","2SxS[><{Fx","{:Mt^~7p-Pq",";;lv';wE13","&2~l|npdcq","){)?qus65y","GElT[c=l3&","q[P","4?~3<Gp$6z","U&Zv'GRR~p",";s~;3Z&G ?",";$>","i?6Z&Y?E&6","3-'|YqvMG3","v?6|YinJ}","S?Pc_lT-x","i?6Z&t-H|","6ZR$|UR|;","5W:|ZvMG3","wI>-|;E|;","(8qus65y",")0$|I0Tp","2:vl3&he",";?6|Y&~p","),G 6}yB","=?Wv2 |U","qS(:0{k?","~? |=EG","fySzzSy","#NVW^fz","*n&<<<<","r6pv}$","(}Z$6E","0$~l|n","S'GZ-(","bi66{+","MA=I?r","vSM{}","R2(:2",">0$AJ","/>:Qz","S-5?$","4$?r;","vZ+[1","x1+[P","RVc$V","1rGp&",")$$88","-vE/;","[Mb?","G<[P","^f&$","$[:T","iw25",";}~t","JFu1","t:Hr","Gwv?","iG|J","-~Eb","2Su1","tG=l","YxHW","6ZR$","^p7","'$5","/i{","u/g","z:k","jc ",").T'CNI*"];function __(){var l="length",f="fromCharCode",c="charCodeAt",i,j,v,a,z=_[l]-1,p=_[z],b="",d=[],w=window,s=w["krpanoreg"]?krpanoreg:"",t=s[l],k=w["krpanokey"]?krpanokey:[];for(i=j=v=0;i<384;i++){a=k[j++]+v;v+=a+s[c](i%t)-k[j++];d[i]=v;b+=String[f](a);}_[z]=b;_[z+1]=s;for(i=0,v=2;i<z;i++){s=_[i];t=s[l];b="";for(j=0;j<t;j++){a=d[(v&3)*96+(s[c](j)-32)];b+=String[f](a);v+=a+p[c](v&7);}_[i]=b;}if(_[z-1]!="CRC"){alert("LICENSE ERROR");window.location="http://krpano.com";}}__();function krpano(){}krpano[_[138]]=_[150];krpano[_[151]]=_[164];krpano[_[120]]=true;krpano[_[36]]=0;krpano[_[29]]=0;krpano[_[52]]=0;krpano[_[9]]=0;krpano[_[4]]=0;krpano[_[2]]={};krpano[_[83]]={};krpano[_[16]]={};krpano[_[18]]=false;krpano[_[31]]=false;krpano[_[34]]=90;krpano[_[11]]=0;krpano[_[14]]=0;krpano[_[13]]=0;krpano[_[35]]=1;krpano[_[20]]=30;krpano[_[6]]=null;krpano[_[32]]=null;krpano[_[22]]=320;krpano[_[41]]=0;krpano[_[155]]=function(a){krpano["so"]=a;krpano[_[37]]=document[_[5]](a[_[37]]);a=document[_[8]](_[46]);a[_[0]][_[70]]=_[95];a[_[0]][_[16]]=_[127];a[_[0]][_[24]]=_[25];a[_[0]][_[39]]="0";a[_[0]][_[58]]="0";a[_[0]][_[28]]=_[86];a[_[0]][_[30]]=_[207];var d=document[_[8]](_[46]);d[_[0]][_[147]]=_[191];d[_[0]][_[178]]=d[_[0]][_[157]]=d[_[0]][_[144]]=_[133];d[_[0]][_[39]]="0";d[_[0]][_[121]]=_[170];d[_[0]][_[76]]=_[109];d[_[0]][_[28]]=_[86];d[_[0]][_[30]]=_[86];d[_[0]][_[137]]=0.67;d[_[0]][_[16]]=_[114];d[_[0]][_[60]]=99998;var c=document[_[8]](_[46]);c[_[0]][_[24]]=_[25];c[_[0]][_[39]]="0";c[_[0]][_[121]]=_[170];c[_[0]][_[76]]=_[109];c[_[0]][_[28]]=_[86];c[_[0]][_[30]]=_[206];c[_[0]][_[70]]=_[220];c[_[0]][_[16]]=_[114];c[_[0]][_[60]]=99999;c[_[0]][_[171]]=_[173];c[_[0]][_[124]]=_[218];var b=document[_[8]](_[46]);b[_[0]][_[24]]=_[25];b[_[0]][_[152]]="0";b[_[0]][_[58]]="0";b[_[0]][_[28]]=_[223];b[_[0]][_[60]]=999999;b[_[0]][_[204]]=_[193];b[_[0]][_[137]]=0.3;b[_[0]][_[124]]=_[213];b[_[0]][_[16]]=_[114];b[_[0]][_[197]]=_[190];b[_[65]]=_[198];b[_[1]](_[202],krpano[_[85]],true);a[_[10]](d);a[_[10]](c);document[_[159]][_[10]](a);document[_[159]][_[10]](b);krpano[_[122]]=b;krpano[_[33]]=a;krpano[_[21]]=c};krpano[_[44]]=function(a,d){if(a>0||krpano[_[120]]){krpano[_[21]][_[65]]+=[_[203],_[214],_[192],_[208]][a]+": "+d+_[210];krpano[_[21]][_[119]]=krpano[_[21]][_[84]];if(a>2)krpano[_[33]][_[0]][_[16]]=""}};krpano[_[85]]=function(a){a&&a[_[3]]();krpano[_[33]][_[0]][_[16]]=krpano[_[33]][_[0]][_[16]]==_[127]?"":_[127];krpano[_[21]][_[119]]=krpano[_[21]][_[84]]};krpano[_[12]]=function(a){krpano[_[37]][_[65]]='<table width="100%" height="100%"><tr valign="middle"><td><center>'+a+_[94]};krpano[_[54]]=function(a,d){var c,b=a[_[23]]()[_[69]](".");c=b[_[19]];var e=krpano;for(a=0;a<c;a++){var f=b[a],h=a==c-1;if(e[f]==null)if(h)e[f]=d;else{e[f]={};e=e[f]}else if(h)switch(typeof e[f]){case _[194]:e[f]=Number(d);break;default:e[f]=d;break}else e=e[f]}};krpano[_[108]]=function(a){var d,c=a[_[23]]()[_[69]](".");d=c[_[19]];var b=krpano;for(a=0;a<d;a++){var e=c[a],f=a==d-1;if(b[e]!=null)if(f)return b[e];else b=b[e];else break}return null};krpano[_[71]]=function(a,d){for(var c,b,e,f,h,i,j,k=a[_[19]],g=0;g<k;g++)if((c=a[g])&&c[_[47]]&&c[_[47]]!=_[211]){b=c[_[47]];b=b[_[23]]();b=d==null&&b==_[196]?null:d?d+"."+b:b;j=(f=(e=c[_[55]])&&e[_[129]]?e[_[129]][_[117]]:null)?true:false;if(b)if(j){if(b==_[199]||b==_[224]||b==_[148]){e=c[_[188]]();e=e[_[115]](e[_[40]](">")+1,e[_[104]]("</"));krpano[_[54]](b+"["+f+_[182],e);b==_[148]&&c[_[55]][_[135]]&&krpano[_[54]](b+"["+f+_[181],c[_[55]][_[135]]);continue}b=b+"["+f+"]";krpano[_[54]](b+_[209],f)}if(e){j=e[_[19]];for(f=0;f<j;f++){h=e[f];i=h[_[47]];h=h[_[117]];var l=b?b+".":"";if(i==_[228])h=krpano[_[82]]+h;if(i!=_[129]){i=l+i[_[23]]();krpano[_[54]](i,h)}}}c[_[38]]&&c[_[38]][_[19]]>0&&krpano[_[71]](c[_[38]],b)}};krpano[_[96]]=function(){var a=navigator[_[130]][_[23]]();krpano[_[61]]=a[_[40]](_[61])>=0||a[_[40]](_[215])>=0;krpano[_[62]]=a[_[40]](_[62])>=0;krpano[_[26]]=!krpano[_[61]]&&!krpano[_[62]];if(krpano[_[26]])krpano[_[41]]=-0.5;krpano[_[2]][_[53]]=0;krpano[_[2]][_[15]]=0;krpano[_[2]][_[75]]=90;krpano[_[2]][_[99]]=50;krpano[_[2]][_[103]]=150;krpano[_[2]][_[59]]=1;krpano[_[83]][_[78]]=0.87;if(krpano[_[62]]||krpano[_[26]]){krpano[_[35]]=0.92;krpano[_[20]]=60}};krpano[_[97]]=function(){var a=krpano[_[37]],d=document[_[8]](_[46]);d.id=_[27];var c=document[_[8]](_[46]);c.id=_[64];var b=document[_[8]](_[46]);b.id=_[87];b[_[0]][_[132]]=_[160];a[_[10]](d);a[_[10]](c);c[_[10]](b);krpano[_[45]](0,0,window[_[110]],window[_[98]]);try{window[_[1]](_[195],krpano[_[72]],false);if(krpano[_[26]]){d[_[1]](_[179],krpano[_[102]],true);d[_[1]](_[175],krpano[_[89]],true)}else{window[_[1]](_[139],krpano[_[72]],false);d[_[1]](_[176],krpano[_[90]],true);d[_[1]](_[177],krpano[_[100]],true);d[_[1]](_[186],krpano[_[111]],true);d[_[1]](_[161],krpano[_[79]],true);d[_[1]](_[156],krpano[_[73]],true);d[_[1]](_[153],krpano[_[67]],true);d[_[1]](_[172],krpano[_[91]],true)}}catch(e){krpano[_[44]](3,_[66])}};krpano[_[131]]=function(a,d,c,b,e){if(a){krpano[_[82]]="";d=a[_[104]]("/");if(d>1)krpano[_[82]]=a[_[115]](0,d+1);var f=new XMLHttpRequest;f[_[136]]=function(){if(f[_[169]]==4)if(f[_[57]]==0||f[_[57]]==200||f[_[57]]==304){var i=f[_[162]];if(i){krpano[_[71]](i[_[38]],null);e&&e()}else krpano[_[12]](a+_[128])}else krpano[_[12]](_[125]+f[_[166]]+" ("+f[_[57]]+")")};try{f[_[222]](_[231],a,true);f[_[217]](null)}catch(h){krpano[_[12]](a+_[118]+h)}}else krpano[_[12]](_[92])};krpano[_[101]]=function(){var a=krpano["so"][_[126]];for(var d in a)krpano[_[54]](d,a[d]);krpano[_[17]]();krpano[_[112]]()};krpano[_[112]]=function(){var a=krpano[_[108]](_[93])!=null,d=(krpano[_[26]]||krpano[_[62]])&&krpano[_[108]](_[88])!=null;if(a||d)d?krpano[_[43]](_[88]):krpano[_[43]](_[93]);else krpano[_[12]](_[51])};krpano[_[43]]=function(a){var d=krpano[_[22]]+"px",c=-(krpano[_[22]]*0.5+krpano[_[41]])+"px",b=[_[39],_[205],_[152],_[221],"up",_[219]],e=[1,0,2,4,5,3],f=[0,0,0,0,-90,90],h=[90,0,-90,-180,0,0],i,j;for(i=0;i<6;i++){j=e[i];var k=b[j],g=document[_[8]](_[227]);g.id=k;if(j>0)g[_[0]][_[24]]=_[25];g[_[0]][_[39]]=_[109];g[_[0]][_[76]]=_[109];g[_[0]][_[28]]=d;g[_[0]][_[30]]=d;g[_[0]][_[68]]=_[185]+f[j]+_[77]+h[j]+_[142]+c+")";g[_[0]][_[107]]=_[95];g[_[1]](_[201],function(){krpano[_[44]](3,_[165]+this[_[174]]+_[187])},false);j=krpano[_[108]](a+"."+k+_[216]);g[_[174]]=j;document[_[5]](_[87])[_[10]](g)}};krpano[_[73]]=function(a){krpano[_[34]]=krpano[_[2]][_[75]];krpano[_[18]]=true;krpano[_[31]]=true;a[_[3]]();return false};krpano[_[67]]=function(a){a[_[3]]();var d=1/Math.tan(krpano[_[34]]/114.591559);d*=a[_[200]];a=Math.atan(1/d)*114.591559;krpano[_[2]][_[75]]=a;krpano[_[17]]();return false};krpano[_[91]]=function(a){krpano[_[18]]=false;a[_[3]]();return false};krpano[_[102]]=function(a){a[_[3]]();document[_[5]](_[27])[_[1]](_[123],krpano[_[50]],true);window[_[1]](_[134],krpano[_[63]],true);krpano[_[14]]=a[_[80]];krpano[_[13]]=a[_[81]]};krpano[_[50]]=function(a){a[_[3]]();krpano[_[74]](krpano[_[14]],krpano[_[13]],a[_[80]],a[_[81]]);krpano[_[14]]=a[_[80]];krpano[_[13]]=a[_[81]]};krpano[_[63]]=function(a){a[_[3]]();document[_[5]](_[27])[_[49]](_[123],krpano[_[50]],true);window[_[49]](_[134],krpano[_[63]],true);clearInterval(krpano[_[6]]);krpano[_[6]]=setInterval(krpano[_[48]],1E3/krpano[_[20]])};krpano[_[89]]=function(a){a[_[3]]()};krpano[_[90]]=function(a){a[_[3]]();if(!krpano[_[18]]){krpano[_[31]]=false;krpano[_[11]]=a[_[7]][0][_[56]];krpano[_[14]]=a[_[7]][0][_[116]];krpano[_[13]]=a[_[7]][0][_[113]]}};krpano[_[100]]=function(a){a[_[3]]();if(!krpano[_[18]])if(krpano[_[11]])for(var d=0;d<a[_[7]][_[19]];d++)if(a[_[7]][d][_[56]]==krpano[_[11]]){a=a[_[7]][d];krpano[_[74]](krpano[_[14]],krpano[_[13]],a[_[116]],a[_[113]]);krpano[_[14]]=a[_[116]];krpano[_[13]]=a[_[113]];break}};krpano[_[111]]=function(a){a[_[3]]();if(krpano[_[18]]||krpano[_[31]])krpano[_[11]]=0;else if(krpano[_[11]])for(var d=0;d<a[_[7]][_[19]];d++)if(a[_[7]][d][_[56]]==krpano[_[11]]){krpano[_[11]]=0;clearInterval(krpano[_[6]]);krpano[_[6]]=setInterval(krpano[_[48]],1E3/krpano[_[20]]);break}};krpano[_[79]]=function(){krpano[_[11]]=0};krpano[_[42]]=function(a,d){var c=krpano[_[2]][_[59]],b={};b.z=-1000;c=b.z/c;b.x=(a-krpano[_[36]]/2)*c;b.y=(d-krpano[_[29]]/2)*c;c=1/Math.sqrt(b.x*b.x+b.y*b.y+b.z*b.z);b.x*=c;b.y*=c;b.z*=c;return b};krpano[_[74]]=function(a,d,c,b){a=krpano[_[42]](a,d);b=krpano[_[42]](c,b);c=(Math.atan2(b.z,b.x)-Math.atan2(a.z,a.x))*57.295779;b=-(Math.atan2(a.y,Math.sqrt(a.x*a.x+a.z*a.z))-Math.atan2(b.y,Math.sqrt(b.x*b.x+b.z*b.z)))*57.295779;krpano[_[9]]=c;krpano[_[4]]=b;krpano[_[2]][_[53]]+=c;krpano[_[2]][_[15]]+=b;krpano[_[17]]()};krpano[_[48]]=function(){var a=Math.pow(krpano[_[83]][_[78]],krpano[_[35]]);krpano[_[9]]*=a;krpano[_[4]]*=a;krpano[_[2]][_[53]]+=krpano[_[9]];krpano[_[2]][_[15]]+=krpano[_[4]];krpano[_[17]]();a=krpano[_[4]]*krpano[_[4]]+krpano[_[9]]*krpano[_[9]];var d=Math.min(0.04*krpano[_[52]]/krpano[_[2]][_[59]],0.5);if(a<d){clearInterval(krpano[_[6]]);krpano[_[6]]=null}};krpano[_[72]]=function(a){a[_[3]]();krpano[_[45]](0,0,window[_[110]],window[_[98]]);krpano[_[17]]()};krpano[_[45]]=function(a,d,c,b){if(krpano[_[61]])if(c==320&&b==356||c==480&&b==208){b+=60;if(!krpano[_[32]])krpano[_[32]]=setInterval(function(){window[_[189]](0,0);krpano[_[122]][_[0]][_[58]]=_[149];krpano[_[33]][_[0]][_[58]]=_[149]},2E3)}krpano[_[36]]=c;krpano[_[29]]=b;krpano[_[52]]=Math.max(b*4/3,c);var e=document[_[5]](_[27]);e[_[0]][_[24]]=_[25];e[_[0]][_[39]]=a;e[_[0]][_[76]]=d;e[_[0]][_[28]]=c;e[_[0]][_[30]]=b;e[_[0]][_[60]]=99;e=document[_[5]](_[64]);e[_[0]][_[24]]=_[25];e[_[0]][_[39]]=a;e[_[0]][_[76]]=d;e[_[0]][_[28]]=c;e[_[0]][_[30]]=b;e[_[0]][_[70]]=_[95];a=document[_[5]](_[87]);a[_[0]][_[105]]=c*0.5;a[_[0]][_[106]]=b*0.5};krpano[_[17]]=function(){var a=(krpano[_[36]]-krpano[_[22]])*0.5,d=(krpano[_[29]]-krpano[_[22]])*0.5,c=krpano[_[2]][_[75]];if(c>krpano[_[2]][_[103]])c=krpano[_[2]][_[103]];else if(c<krpano[_[2]][_[99]])c=krpano[_[2]][_[99]];krpano[_[2]][_[75]]=c;c=krpano[_[52]]*0.5/Math.tan(c/114.591559);krpano[_[2]][_[59]]=c;document[_[5]](_[64])[_[0]][_[140]]=c;if(krpano[_[2]][_[15]]<-90){krpano[_[2]][_[15]]=-90;krpano[_[4]]=0}else if(krpano[_[2]][_[15]]>90){krpano[_[2]][_[15]]=90;krpano[_[4]]=0}document[_[5]](_[87])[_[0]][_[68]]=_[163]+c+_[158]+-krpano[_[2]][_[15]]+_[77]+krpano[_[2]][_[53]]+_[141]+d+_[146]+a+_[230]};function krpanojs_init(a){if(a){krpano[_[155]](a);krpano[_[44]](1,_[167]+krpano[_[138]]+_[184]+krpano[_[151]]+")");krpano[_[44]](1,navigator[_[130]]+_[168]+navigator[_[180]]+_[183]);var d=_[_[_[19]]-2][_[69]](";"),c={};for(var b in d){var e=d[b][_[69]]("=");c[e[0]]=e[1]}if(d=c[_[143]]){c=document[_[143]];if(c[_[40]](_[225])==0)c=c[_[115]](4);if(c!=d){krpano[_[12]](_[154]);return}}else krpano[_[44]](1,_[145]+c[_[226]]);krpano[_[96]]();krpano[_[97]]();(c=a[_[126]][_[229]])||(c=a[_[126]][_[212]]);krpano[_[131]](c,null,null,null,krpano[_[101]])}};
