diff --git a/static/js/pandora/embedFileDialog.js b/static/js/pandora/embedFileDialog.js
new file mode 100644
index 000000000..7cff1d62b
--- /dev/null
+++ b/static/js/pandora/embedFileDialog.js
@@ -0,0 +1,58 @@
+// vim: et:ts=4:sw=4:sts=4:ft=javascript
+'use strict';
+
+pandora.ui.embedFileDialog = function(id) {
+
+ var isImage = Ox.contains(['jpg', 'png'], selected.split('.').pop()),
+ url = 'http' + (pandora.site.site.https ? 's' : '') + '://'
+ + pandora.site.site.url + '/files/' + id,
+
+ $content = Ox.Element()
+ .css({margin: '16px'})
+ .html(
+ 'To embed this file, use the following HTML:
'
+ ),
+
+ $embed = $('