var THREEx=THREEx||{};THREEx.FullScreen=THREEx.FullScreen||{},THREEx.FullScreen.available=function(){return this._hasWebkitFullScreen||this._hasMozFullScreen||this._hasMsFullScreen},THREEx.FullScreen.activated=function(){return this._hasWebkitFullScreen?document.webkitIsFullScreen:this._hasMozFullScreen?document.mozFullScreen:this._hasMsFullScreen?document.msFullscreenElement:void console.assert(!1)},THREEx.FullScreen.request=function(e){e=e||document.body,this._hasWebkitFullScreen?e.webkitRequestFullScreen():this._hasMozFullScreen?e.mozRequestFullScreen():this._hasMsFullScreen?e.msRequestFullscreen():console.assert(!1)},THREEx.FullScreen.cancel=function(){this._hasWebkitFullScreen?document.webkitCancelFullScreen():this._hasMozFullScreen?document.mozCancelFullScreen():this._hasMsFullScreen?document.msExitFullscreen():console.assert(!1)},THREEx.FullScreen._hasWebkitFullScreen="webkitCancelFullScreen"in document,THREEx.FullScreen._hasMozFullScreen="mozCancelFullScreen"in document,THREEx.FullScreen._hasMsFullScreen="msExitFullscreen"in document;