{"version":3,"names":[],"mappings":"","sources":["../../V2/TTCMWebSite/Resources/scripts/js/managers/BrowserManager.min.js"],"sourcesContent":["var BrowserManager = new function () {\r\n this.Delayer = function () {\r\n window.location = \"default.aspx\"\r\n };\r\n this.ParentBack = function () { parent.history.back(); };\r\n this.Back = function () { history.go(-1); };\r\n this.Print = function () { window.print(); };\r\n this.SetTimeZoneOffSet = function (theControlName) {\r\n var now = new Date();\r\n var utc = document.getElementById(theControlName);\r\n if (utc != null) {\r\n utc.value = now.getTimezoneOffset().toString();\r\n }\r\n };\r\n this.ClickButton = function (theButtonName) {\r\n var btn = document.getElementById(theButtonName);\r\n btn.click();\r\n };\r\n this.ParentNavigateTo = function (theURL) {\r\n parent.window.location.href = theURL;\r\n };\r\n this.NavigateTo = function (theURL) {\r\n window.location.href = theURL;\r\n };\r\n this.Replace = function (theURL) {\r\n window.location.replace(theURL);\r\n };\r\n this.Print = function () {\r\n window.print();\r\n };\r\n this.Close = function () {\r\n var oWindow = PopupManager.GetRadWindowHandle();\r\n if (oWindow == null) {\r\n window.close();\r\n }\r\n else {\r\n oWindow.Close();\r\n }\r\n };\r\n this.SetInnerHTML = function (theControlName, theMessage) {\r\n var actionMessage = document.getElementById(theControlName);\r\n if (actionMessage != null) {\r\n actionMessage.innerHTML = theMessage;\r\n }\r\n };\r\n}"],"file":"BrowserManager.min.js"}