var jsReady = true; function isJsReady() { return jsReady; } function pageInit() { jsReady = true; } function thisMovie(movieName) { return document.getElementById(movieName); } function changeSceneOnLoad(){ var panoid=window.location.search.split("&")[0]; if(panoid.indexOf("firstscene") != -1) { panoid = panoid.split("=")[1]; } if(panoid) { if(thisMovie("sotester").twAPI){ setTimeout(function(){thisMovie("sotester").twAPI("switchToScene", panoid);},500); }else{ setTimeout(changeSceneOnLoad,1000); } } }
XML ͼ | Sitemap ͼ