/* krpano Flash/HTML5 Embedding script krpano 1.0.8.15 (build 2012-08-10) Usage informations: http://krpano.com/docu/html/ 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={};if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={}; deconcept.SWFObject=function(a,b,c,e,f,g){this.params={};this.variables={};this.attributes=[];this.vchk=function(d){d=(""+d).toLowerCase();return d!="menu"};a&&this.setAttribute("swf",a);b&&this.setAttribute("id",b);c&&this.setAttribute("width",c);e&&this.setAttribute("height",e);f&&this.setAttribute("version",new deconcept.PlayerVersion(f.toString().split(".")));this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7)deconcept.SWFObject.doPrepUnload= true;g&&this.addParam("bgcolor",g)}; deconcept.SWFObject.prototype={setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=[],b,c=this.getVariables();for(b in c)if(this.vchk(b))a[a.length]=b+"="+c[b];return a},getSWFHTML:function(){var a= "";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){a='0)a+='flashvars="'+b+'"';a+= "/>"}else{a='';a+='';b=this.getParams();for(c in b)if(this.vchk(c))a+='';b=this.getVariablePairs().join("&");if(b.length>0)a+='';a+=""}return a}, write:function(a){if(this.installedVer.versionIsValid(this.getAttribute("version"))){(typeof a=="string"?document.getElementById(a):a).innerHTML=this.getSWFHTML();return true}return false}}; deconcept.SWFObjectUtil.getPlayerVersion=function(){var a=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var b=navigator.plugins["Shockwave Flash"];if(b&&b.description)a=new deconcept.PlayerVersion(b.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}else{try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(c){}if(b!=null)a=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}return a}; deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.majora.major)return true;if(this.minora.minor)return true;if(this.rev=0;b--){a[b].style.display="none";for(var c in a[b])if(typeof a[b][c]=="function")a[b][c]=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}var getQueryParamValue=deconcept.util.getRequestParameter,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"||!!window.chrome;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
Adobe Flashplayer 10 or higher needed!



":"ERROR:

HTML5 Version not available!



";else if(krpanojs_init(f)==false)h="LICENSE ERROR";if(h)document.getElementById(f.htmltarget).innerHTML='
'+h+"
"}if(e===undefined)e="";var j=false;if(d===undefined|| d==true){if(!window.krpanoreg||!window.krpanokey){document.write('