// // Copyright (c) Microsoft Corporation. All rights reserved. // // // Use of this source code is subject to the terms of the Microsoft end-user // license agreement (EULA) under which you licensed this SOFTWARE PRODUCT. // If you did not accept the terms of the EULA, you are not authorized to use // this source code. For a copy of the EULA, please see the LICENSE.RTF on your // install media. // var g_MODULESLIST_ToolBar = new Array(); if('undefined' == typeof(g_MODULESLIST_ToolBar)) {g_MODULESLIST_ToolBar = new Array();} g_MODULESLIST_ToolBar["1"] = "SMBFILE_ToolBar"; g_MODULESLIST_ToolBar["0"] = "USERMANAGER_ToolBar"; if('undefined' == typeof(g_MODULESLIST_Available)) {g_MODULESLIST_Available = new Array();} g_MODULESLIST_Available["VERSION"] = "1"; g_MODULESLIST_Available["NETWORK"] = "1"; g_MODULESLIST_Available["PASSWORD"] = "1"; g_MODULESLIST_Available["HOSTNAME"] = "1"; g_MODULESLIST_Available["ROOTDIRS"] = "1"; g_MODULESLIST_Available["SMBFILE"] = "1"; g_MODULESLIST_Available["SMBPRINT"] = "1"; g_MODULESLIST_Available["USERS"] = "1"; g_MODULESLIST_Available["RAS"] = "1"; g_MODULESLIST_Available["MODULESLIST"] = "1"; g_MODULESLIST_Available["REMOTEUTILS"] = "1"; if('undefined' == typeof(g_REMOTEUTILS_NoBackupRegistry)) {g_REMOTEUTILS_NoBackupRegistry = new Array();} g_REMOTEUTILS_NoBackupRegistry["OOBE"] = "1"; if('undefined' == typeof(g_REMOTEUTILS_Registry)) {g_REMOTEUTILS_Registry = new Array();} g_REMOTEUTILS_Registry["OOBEPage"] = "DeviceConfig.htm"; var g_REMOTEUTILS_BackupFile = "/gateway_settings.dat"; var g_REMOTEUTILS_ClientIP = "216.73.216.45"; // know if a variable is defined globally by putting if(window.var) -- simply if(var) wont work if(window.g_NETWORK_RestartTime) { window.location = "RestartNetwork.htm?delay="+window.g_NETWORK_RestartTime + "&Redirect="+window.location; } else { // Redirect if OOBE isnt "1" if('undefined' == typeof(g_REMOTEUTILS_NoBackupRegistry["OOBE"]) || "1" == g_REMOTEUTILS_NoBackupRegistry["OOBE"]) { if(-1 == new String(window.location).search(g_REMOTEUTILS_Registry["OOBEPage"])) { if(-1 == new String(window.location).search("RestartNetwork.htm")) { window.location = g_REMOTEUTILS_Registry["OOBEPage"]; } } } } if (location==top.location){ document.write('"); }*/ document.write(""); } function ModuleExists(Mod) { return window.g_MODULESLIST_Available[Mod]?true:false; } var g_ManagmentTab; function MakeToolBar() { document.write("