diff --git a/website/getting-started/fullscreen.js b/website/getting-started/fullscreen.js
new file mode 100644
index 00000000..7f4b3c1b
--- /dev/null
+++ b/website/getting-started/fullscreen.js
@@ -0,0 +1,33 @@
+
+function isFullScreen() {
+ return (document.fullScreenElement && document.fullScreenElement !== null) || document.mozFullScreen || document.webkitIsFullScreen;
+}
+
+function requestFullScreen(element) {
+ if (element.requestFullscreen)
+ element.requestFullscreen();
+ else if (element.msRequestFullscreen)
+ element.msRequestFullscreen();
+ else if (element.mozRequestFullScreen)
+ element.mozRequestFullScreen();
+ else if (element.webkitRequestFullscreen)
+ element.webkitRequestFullscreen();
+}
+
+function exitFullScreen() {
+ if (document.exitFullscreen)
+ document.exitFullscreen();
+ else if (document.msExitFullscreen)
+ document.msExitFullscreen();
+ else if (document.mozCancelFullScreen)
+ document.mozCancelFullScreen();
+ else if (document.webkitExitFullscreen)
+ document.webkitExitFullscreen();
+}
+
+function toggleFullScreen(element) {
+ if (isFullScreen())
+ exitFullScreen();
+ else
+ requestFullScreen(element || document.documentElement);
+}
diff --git a/website/getting-started/index.html b/website/getting-started/index.html
index 76c8cdc2..1bf0e467 100644
--- a/website/getting-started/index.html
+++ b/website/getting-started/index.html
@@ -4,6 +4,7 @@
+