if (swfobject.hasFlashPlayerVersion("9.0.0")) { var flashvars = {}; var params = {}; params.quality = "high"; params.bgcolor = "#ffffff"; params.allowscriptaccess = "sameDomain"; params.allowfullscreen = "true"; var attributes = {}; attributes.id = "pano"; attributes.name = "pano"; attributes.align = "middle"; swfobject.embedSWF( "/user_area/content_media/raw/MOF-ES9.swf", "container", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes); } else // check for CSS3 3D transformations and WebGL if (ggHasHtml5Css3D() || ggHasWebGL()) { // create the panorama player with the container pano=new pano2vrPlayer("container"); pano.readConfigUrl("/user_area/content_media/raw/MOF-ES9.xml"); // hide the URL bar on the iPhone hideUrlBar(); // add gyroscope controller gyro=new pano2vrGyro(pano,"container"); }