' +
- '
' +
- '

' +
- '
' +
- ' ' +
- '
' +
- ' Default Text Container!
' +
- '
';
- theBody.appendChild(sbHtml);
-}
-
-UmbracoSpeechBubble.prototype.ShowMessage = function(icon, header, message) {
- var speechBubble = document.getElementById(this.id);
-
- document.getElementById(this.id + "Header").innerHTML = header;
- document.getElementById(this.id + "Message").innerHTML = message;
- document.getElementById(this.id + "IconSrc").src = '/umbraco/images/speechBubble/' + icon + '.png';
-
- speechBubble.style.right = "20px";
- speechBubble.style.bottom = "20px";
- speechBubble.style.visibility = 'visible';
- this.Show(0);
-}
-
-UmbracoSpeechBubble.prototype.Show = function(opacity) {
- document.getElementById(this.id).style.filter = 'Alpha(Opacity=' + opacity + ')';
-
- opacity = parseInt(opacity) + 10;
-
- var _self = this;
- if (opacity < 101) {
- setTimeout(function() {_self.Show(opacity+10);}, 50);
- } else {
- setTimeout(function() {_self.Hide(100);}, 5000);
- }
-}
-
-UmbracoSpeechBubble.prototype.Hide = function(opacity) {
- document.getElementById(this.id).style.filter = 'Alpha(Opacity=' + opacity + ')';
-
- var _self = this;
- opacity = parseInt(opacity) - 10;
- if (opacity > 1)
- setTimeout(function() {_self.Hide(opacity-10);}, 50);
- else {
- document.getElementById(this.id).style.visibility = 'hidden';
- }
-}
-
-// Initialize
-var UmbSpeechBubble = null
-function InitUmbracoSpeechBubble() {
- if (UmbSpeechBubble == null)
- UmbSpeechBubble = new UmbracoSpeechBubble("defaultSpeechbubble");
-}
-
-//if (typeof(addEvent) !== 'undefined') {
-// addEvent(window, "load", InitUmbracoSpeechBubble);
-//}else if (Sys != undefined) {
-// Sys.Application.add_load(InitUmbracoSpeechBubble);
-//}
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/js/UmbracoSpeechBubbleInit.js b/src/Umbraco.Web.UI/umbraco/js/UmbracoSpeechBubbleInit.js
deleted file mode 100644
index ac6bf11c85..0000000000
--- a/src/Umbraco.Web.UI/umbraco/js/UmbracoSpeechBubbleInit.js
+++ /dev/null
@@ -1,3 +0,0 @@
-//used by live editing to ensure the speech bubble is initialized after the main js file has been lazy loaded.
-//alert("Speech Bubble init: " + InitUmbracoSpeechBubble);
-InitUmbracoSpeechBubble();
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI/umbraco/js/umbracoUpgradeChecker.js b/src/Umbraco.Web.UI/umbraco/js/umbracoUpgradeChecker.js
deleted file mode 100644
index 687cdd20c1..0000000000
--- a/src/Umbraco.Web.UI/umbraco/js/umbracoUpgradeChecker.js
+++ /dev/null
@@ -1,15 +0,0 @@
-function umbracoCheckUpgrade(result) {
- if (result) {
- if (result.UpgradeType.toLowerCase() != 'none') {
- if (UmbSpeechBubble == null) {
- InitUmbracoSpeechBubble();
- }
- var icon = 'info';
- if (result.UpgradeType.toLowerCase() == 'critical') {
- icon = 'error';
- }
-
- UmbSpeechBubble.ShowMessage(icon, 'Upgrade Available!', '