"); document.write("
"+_format('Back',deviceConfigId,actionId)+"
");} else if (getParameter("error")) { document.write("
"+_format('We have encountered an issue and could not proceed further. Select the back button and retry your connection. This could be due to cancellation of the process, hardware compatibility or your operating system may not be supported. Contact IT the support team for assistance.',deviceConfigId,actionId)+"
"); if (BrowserDetect.OS=="Windows 7"||BrowserDetect.OS=="Windows 8"||BrowserDetect.OS=="Windows XP"||BrowserDetect.OS=="Windows Vista"||BrowserDetect.OS=="Windows 8.1"|| BrowserDetect.OS=="Windows 10") { document.write("
"+_format('If the installer did not launch correctly click here to download the installer manually.',deviceConfigId,actionId)+"
");//doubt } document.write("
"+_format('Retry',deviceConfigId,actionId)+"
");} else if (getParameter("java")) {if (javaVersionCheck() > 0) {document.write("
"+_format('Accept the following prompt to start configuration and connection, you will be asked to authenticate to the network.',deviceConfigId,actionId)+"
"); document.write("
"); document.write("
"+_format('If you can see a \"Missing Plug-in\" or \"Inactive Plug-in\" message below, simply click the arrow to download and install Java. After the installation is complete refresh this page to continue installation.',deviceConfigId,actionId)+"
"); if (BrowserDetect.OS=="Windows 7"||BrowserDetect.OS=="Windows 8"||BrowserDetect.OS=="Windows XP"||BrowserDetect.OS=="Windows Vista"||BrowserDetect.OS=="Windows 8.1"||BrowserDetect.OS=="Windows 10") { document.write("
"+_format('If the installer did not launch correctly click here to download the installer manually.',deviceConfigId,actionId)+"
"); }if (BrowserDetect.OS=="Windows 7"||BrowserDetect.OS=="Windows 8"||BrowserDetect.OS=="Windows XP"||BrowserDetect.OS=="Windows Vista"||BrowserDetect.OS=="Windows 8.1"||BrowserDetect.OS=="Windows 10"){document.write('
'); }else{document.write('
'); }}else{document.write(_format('Java was not detected on your device, you will need to download and run.',deviceConfigId,actionId));}} else if (getParameter("exe")) { var is64BitWindowsOS = false; var isWindows10PEOS = false; if (navigator.userAgent.indexOf("WOW64") != -1 || navigator.userAgent.indexOf("Win64") != -1 ){ is64BitWindowsOS = true; } if (window.navigator.userAgent.indexOf("Windows NT 10.0 PE")!= -1) isWindows10PEOS = true; document.write("
"+_format('Downloading application...',deviceConfigId,actionId)+'
'+_format('Your system will download the EXE.',deviceConfigId,actionId)+"
" +_format((profileType != undefined && profileType != null && profileType != '' && profileType == '1')?'When finished go to your Downloaded items and run the application.If you are using Firefox please save your work and close the browser before running the application ':'When finished go to your Downloaded items and run the application.',deviceConfigId,actionId) +"
"); document.write("
"+_format('Back',deviceConfigId,actionId)+"
"); if(isWindows10PEOS && is64BitWindowsOS){ var wrapperName = "WiFi_Stony_Brook_Medicine_Wrapper.exe"; var wrapperName64Bit = wrapperName.replace(".exe", ".x64.exe"); document.write("
"); }else{ document.write("
"); }} else if (getParameter("dmg")) { document.write("
"+_format('Downloading application...',deviceConfigId,actionId)+'
'+_format('Your system will download and mount the DMG.',deviceConfigId,actionId)+"
" +_format((profileType != undefined && profileType != null && profileType != '' && profileType == '1')?'When finished open Finder and run the mounted "SecureW2 JoinNow" application.If you are using Firefox please save your work and close the browser before running the application':'When finished open Finder and run the mounted "SecureW2 JoinNow" application.',deviceConfigId,actionId) +"
"); document.write("
"+_format('Back',deviceConfigId,actionId)+"
"); if (BrowserDetect.OS=="Mac OS X Snow Leopard"||BrowserDetect.OS=="Mac OS X Lion"||BrowserDetect.OS=="Mac OS X Mountain Lion" || BrowserDetect.OS == "Mac OS X Mavericks") { document.write("
"); } else { document.write("
"); }} else if (getParameter("run")) { document.write("
"+_format('Downloading application...',deviceConfigId,actionId)+'
'+_format('Your system will download the SHELL SCRIPT.',deviceConfigId,actionId)+"
"+_format('When finished go to your Downloaded items and run the application using the following command:',deviceConfigId,actionId)+"
"+_format('sh SecureW2_JoinNow.run',deviceConfigId,actionId)+"
"+"
");setTimeout(function(){ linuxHelpView(); }, 1000);}else { document.write("
"+_format('This area is available to provide some basic welcome message to your users, such as, this is our organization\'s Wi-Fi network. Your device has been detected and by Connecting below you will be configured for our secure Wi-Fi Service.',deviceConfigId,actionId)+"
"); if (BrowserDetect.OS=="Windows 8" && checkIfOsEnabled("Windows 8",obj.osObject)) {var preAuthWithPSKEnabledForWindows = "false";var windows8OperatingSystem = getOperatingSystemObject("Windows 8",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathWindows = windows8OperatingSystem.mLogo.mPath; document.write("
");if(windows8OperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (windows8OperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { createChooseOptionsForWindows(); document.getElementById("chooseClientForWindows").style.display="none"; if(preAuthWithPSKEnabledForWindows == "true"){ showPreauthFieldsForWindows(); } else{document.write("
"); } choose_Java_Direct_Windows("directclient"); if(""+"Manual launch, download and run"+"" == "Show both options"){if (javaVersionCheck() > 0) {document.getElementById("chooseClientForWindows").style.display="block";choose_Java_Direct_Windows("viajava");} }else if(""+"Manual launch, download and run"+"" == "Auto-launch, browser must contain Java plugin"){if (javaVersionCheck() > 0) {choose_Java_Direct_Windows("viajava");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");} } document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
"); } else if (windows8OperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(windows8OperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } }else if (BrowserDetect.OS=="Windows 8.1" && checkIfOsEnabled("Windows 8.1",obj.osObject)) {var preAuthWithPSKEnabledForWindows = "false";var windows8OperatingSystem = getOperatingSystemObject("Windows 8.1",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathWindows = windows8OperatingSystem.mLogo.mPath; document.write("
");if(windows8OperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (windows8OperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { createChooseOptionsForWindows(); document.getElementById("chooseClientForWindows").style.display="none"; if(preAuthWithPSKEnabledForWindows == "true"){ showPreauthFieldsForWindows(); } else{document.write("
"); } choose_Java_Direct_Windows("directclient"); if(""+"Manual launch, download and run"+"" == "Show both options"){if (javaVersionCheck() > 0) {document.getElementById("chooseClientForWindows").style.display="block";choose_Java_Direct_Windows("viajava");} }else if(""+"Manual launch, download and run"+"" == "Auto-launch, browser must contain Java plugin"){if (javaVersionCheck() > 0) {choose_Java_Direct_Windows("viajava");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");} } document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
"); } else if (windows8OperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(windows8OperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } }else if (BrowserDetect.OS=="Windows 10" && checkIfOsEnabled("Windows 10",obj.osObject)) {var preAuthWithPSKEnabledForWindows = "false";var windows10OperatingSystem = getOperatingSystemObject("Windows 10",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathWindows = windows10OperatingSystem.mLogo.mPath; document.write("
");if(windows10OperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (windows10OperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { createChooseOptionsForWindows(); document.getElementById("chooseClientForWindows").style.display="none"; if(preAuthWithPSKEnabledForWindows == "true"){ showPreauthFieldsForWindows(); } else{document.write("
"); } choose_Java_Direct_Windows("directclient"); if(""+"Manual launch, download and run"+"" == "Show both options"){if (javaVersionCheck() > 0) {document.getElementById("chooseClientForWindows").style.display="block";choose_Java_Direct_Windows("viajava");} }else if(""+"Manual launch, download and run"+"" == "Auto-launch, browser must contain Java plugin"){if (javaVersionCheck() > 0) {choose_Java_Direct_Windows("viajava");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");} } document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
"); } else if (windows10OperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(windows10OperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } }else if (BrowserDetect.OS=="Windows 7" && checkIfOsEnabled("Windows 7",obj.osObject)) { var preAuthWithPSKEnabledForWindows = "false";var windows7OperatingSystem = getOperatingSystemObject("Windows 7",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathWindows = windows7OperatingSystem.mLogo.mPath; document.write("
");if(windows7OperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (windows7OperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { createChooseOptionsForWindows(); document.getElementById("chooseClientForWindows").style.display="none"; if(preAuthWithPSKEnabledForWindows == "true"){ showPreauthFieldsForWindows(); } else{document.write("
"); } choose_Java_Direct_Windows("directclient"); if(""+"Manual launch, download and run"+"" == "Show both options"){if (javaVersionCheck() > 0) {document.getElementById("chooseClientForWindows").style.display="block";choose_Java_Direct_Windows("viajava");} }else if(""+"Manual launch, download and run"+"" == "Auto-launch, browser must contain Java plugin"){if (javaVersionCheck() > 0) {choose_Java_Direct_Windows("viajava");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");} } document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
"); } else if (windows7OperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(windows7OperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } }else if (BrowserDetect.OS=="Windows XP" && checkIfOsEnabled("Windows XP",obj.osObject)) { var preAuthWithPSKEnabledForWindows = "false";var windowsXPOperatingSystem = getOperatingSystemObject("Windows XP",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathWindows = windowsXPOperatingSystem.mLogo.mPath; document.write("
");if(windowsXPOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (windowsXPOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { createChooseOptionsForWindows(); document.getElementById("chooseClientForWindows").style.display="none"; if(preAuthWithPSKEnabledForWindows == "true"){ showPreauthFieldsForWindows(); } else{document.write("
"); } choose_Java_Direct_Windows("directclient"); if(""+"Manual launch, download and run"+"" == "Show both options"){if (javaVersionCheck() > 0) {document.getElementById("chooseClientForWindows").style.display="block";choose_Java_Direct_Windows("viajava");} }else if(""+"Manual launch, download and run"+"" == "Auto-launch, browser must contain Java plugin"){if (javaVersionCheck() > 0) {choose_Java_Direct_Windows("viajava");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");} } document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
"); } else if (windowsXPOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(windowsXPOperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } } else if (BrowserDetect.OS=="Windows Vista" && checkIfOsEnabled("Windows Vista",obj.osObject)) {var preAuthWithPSKEnabledForWindows = "false";var windowsVistaOperatingSystem = getOperatingSystemObject("Windows Vista",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathWindows = windowsVistaOperatingSystem.mLogo.mPath; document.write("
");if(windowsVistaOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (windowsVistaOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { createChooseOptionsForWindows(); document.getElementById("chooseClientForWindows").style.display="none"; if(preAuthWithPSKEnabledForWindows == "true"){ showPreauthFieldsForWindows(); } else{document.write("
"); } choose_Java_Direct_Windows("directclient"); if(""+"Manual launch, download and run"+"" == "Show both options"){if (javaVersionCheck() > 0) {document.getElementById("chooseClientForWindows").style.display="block";choose_Java_Direct_Windows("viajava");} }else if(""+"Manual launch, download and run"+"" == "Auto-launch, browser must contain Java plugin"){if (javaVersionCheck() > 0) {choose_Java_Direct_Windows("viajava");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");} } document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
"); } else if (windowsVistaOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(windowsVistaOperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } }else if (BrowserDetect.OS=="Mac OS X Tiger" && checkIfOsEnabled("Mac OS X Tiger",obj.osObject)) {var macTigerOperatingSystem = getOperatingSystemObject("Mac OS X Tiger",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACTiger = macTigerOperatingSystem.mLogo.mPath; document.write("
"); if(macTigerOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");}diplaySelfConfiguration(macTigerOperatingSystem);if(!selectedManually){$.post("php/deploy.php", { operatingSystem:BrowserDetect.OS}).done(function(data) {});} } else if (BrowserDetect.OS=="Mac OS X Leopard" && checkIfOsEnabled("Mac OS X Leopard",obj.osObject)) {var macLeopardOperatingSystem = getOperatingSystemObject("Mac OS X Leopard",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACLeopard = macLeopardOperatingSystem.mLogo.mPath; document.write("
"); if(macLeopardOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (macLeopardOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { document.write("
"); if(javaVersionCheck() > 0){choose_Java_Native_Lepord("javaClient");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");} }else if(macLeopardOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(macLeopardOperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } } else if (BrowserDetect.OS=="Mac OS X Snow Leopard" && checkIfOsEnabled("Mac OS X Snow Leopard",obj.osObject)) {var macSnowLeopardOperatingSystem = getOperatingSystemObject("Mac OS X Snow Leopard",obj.osObject);document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACSnowLeopard = macSnowLeopardOperatingSystem.mLogo.mPath;document.write("
");if(macSnowLeopardOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");}if (macSnowLeopardOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") {callSelectFunctionFor_Lepord_SnowLepord();document.getElementById("chooseClientForMacOSXSnowLepord_Lepord").style.display="none";document.write("
");choose_Java_Native_Lepord("nativeClient");if(!true){if(""+"" == "SCEP"){if(javaVersionCheck() > 0){choose_Java_Native_Lepord("javaClient");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");}}else if(""+"" == "JSON"){choose_Java_Native_Lepord("nativeClient"); }}else{if(""+"Configure via dissolvable agent (Java not necessary)"+"" == "Show both options"){if(javaVersionCheck() > 0){document.getElementById("chooseClientForMacOSXSnowLepord_Lepord").style.display="block";}}else if(""+"Configure via dissolvable agent (Java not necessary)"+"" == "Configure via dissolvable Java agent (Java needs to be installed)"){if(javaVersionCheck() > 0){choose_Java_Native_Lepord("javaClient");}else{document.getElementById("connect").style.display="none";document.write("
"+_format('JoinNow requires Java 1.5 or higher, click here to install/update Java. You should return to this page after the install has been completed.',deviceConfigId,actionId)+"
");}}}document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
");} else if (macSnowLeopardOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(macSnowLeopardOperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
");} } else if (BrowserDetect.OS=="Mac OS X Lion" && checkIfOsEnabled("Mac OS X Lion",obj.osObject)) {var macLionOperatingSystem = getOperatingSystemObject("Mac OS X Lion",obj.osObject);document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACLion = macLionOperatingSystem.mLogo.mPath; document.write("
"); if(macLionOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (macLionOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("Mac OS X Lion");} else if (macLionOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(macLionOperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } } else if (BrowserDetect.OS=="Mac OS X Mountain Lion" && checkIfOsEnabled("Mac OS X Mountain Lion",obj.osObject)) {var macMountianLionOperatingSystem = getOperatingSystemObject("Mac OS X Mountain Lion",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACMountainLion = macMountianLionOperatingSystem.mLogo.mPath; document.write("
"); if(macMountianLionOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (macMountianLionOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("Mac OS X Mountain Lion"); }else if (macMountianLionOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(macMountianLionOperatingSystem);}else {document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } }else if (BrowserDetect.OS=="Mac OS X Mavericks" && checkIfOsEnabled("Mac OS X Mavericks",obj.osObject)) {var macMavericksOperatingSystem = getOperatingSystemObject("Mac OS X Mavericks",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACMavericks = macMavericksOperatingSystem.mLogo.mPath; document.write("
"); if(macMavericksOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (macMavericksOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("Mac OS X Mavericks"); }else if (macMavericksOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(macMavericksOperatingSystem);} }else if (BrowserDetect.OS=="Mac OS X Yosemite" && checkIfOsEnabled("Mac OS X Yosemite",obj.osObject)) {var macYosemiteOperatingSystem = getOperatingSystemObject("Mac OS X Yosemite",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACYosemite = macYosemiteOperatingSystem.mLogo.mPath; document.write("
"); if(macYosemiteOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (macYosemiteOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("Mac OS X Yosemite"); }else if (macYosemiteOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(macYosemiteOperatingSystem);} } else if (BrowserDetect.OS=="Mac OS X El Capitan" && checkIfOsEnabled("Mac OS X El Capitan",obj.osObject)) {var macElCapitanOperatingSystem = getOperatingSystemObject("Mac OS X El Capitan",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACElCapitan = macElCapitanOperatingSystem.mLogo.mPath; document.write("
"); if(macElCapitanOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (macElCapitanOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("Mac OS X El Capitan"); }else if (macElCapitanOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(macElCapitanOperatingSystem);} }else if (BrowserDetect.OS=="macOS Sierra" && checkIfOsEnabled("macOS Sierra",obj.osObject)) {var macSierraOperatingSystem = getOperatingSystemObject("macOS Sierra",obj.osObject);document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathMACSierra = macSierraOperatingSystem.mLogo.mPath;document.write("
");if(macSierraOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");}if (macSierraOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") {autoConfigurationForMAC10_7Plus("macOS Sierra");}else if (macSierraOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(macSierraOperatingSystem);}}else if (BrowserDetect.OS=="macOS High Sierra" && checkIfOsEnabled("macOS High Sierra",obj.osObject)) { var macHighSierraOperatingSystem = getOperatingSystemObject("macOS High Sierra",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
"); var imgPathMACHighSierra = macHighSierraOperatingSystem.mLogo.mPath; document.write("
"); if(macHighSierraOperatingSystem.mShowTitle){ document.write("
"+BrowserDetect.OS+"
"); } if (macHighSierraOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("macOS High Sierra"); }else if (macHighSierraOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") { diplaySelfConfiguration(macHighSierraOperatingSystem); }}else if (BrowserDetect.OS=="macOS Mojave" && checkIfOsEnabled("macOS Mojave",obj.osObject)) { var macMojaveOperatingSystem = getOperatingSystemObject("macOS Mojave",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
"); var imgPathMACMojave = macMojaveOperatingSystem.mLogo.mPath; document.write("
"); if(macMojaveOperatingSystem.mShowTitle){ document.write("
"+BrowserDetect.OS+"
"); } if (macMojaveOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("macOS Mojave"); }else if (macMojaveOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") { diplaySelfConfiguration(macMojaveOperatingSystem); }}else if (BrowserDetect.OS=="macOS Catalina" && checkIfOsEnabled("macOS Catalina",obj.osObject)) { var macCatalinaOperatingSystem = getOperatingSystemObject("macOS Catalina",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
"); var imgPathMACCatalina = macCatalinaOperatingSystem.mLogo.mPath; document.write("
"); if(macCatalinaOperatingSystem.mShowTitle){ document.write("
"+BrowserDetect.OS+"
"); } if (macCatalinaOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("macOS Catalina"); }else if (macCatalinaOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") { diplaySelfConfiguration(macCatalinaOperatingSystem); }}else if (BrowserDetect.OS=="macOS Big Sur" && checkIfOsEnabled("macOS Big Sur",obj.osObject)) { var macBigSurOperatingSystem = getOperatingSystemObject("macOS Big Sur",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
"); var imgPathMACBigSur = macBigSurOperatingSystem.mLogo.mPath; document.write("
"); if(macBigSurOperatingSystem.mShowTitle){ document.write("
"+BrowserDetect.OS+"
"); } if (macBigSurOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { autoConfigurationForMAC10_7Plus("macOS Big Sur"); }else if (macBigSurOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") { diplaySelfConfiguration(macBigSurOperatingSystem); }}else if ((BrowserDetect.OS=="iPhone/iPad"||BrowserDetect.OS=="iPad" ) && checkIfOsEnabled("iPhone/iPad",obj.osObject)) {var iosOperatingSystem = getOperatingSystemObject("iPhone/iPad",obj.osObject);if(iosOperatingSystem === undefined || iosOperatingSystem === null){iosOperatingSystem = getOperatingSystemObject("iPad",obj.osObject);} document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathIOS = iosOperatingSystem.mLogo.mPath; document.write("
"); if(iosOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");}if (BrowserDetect.browser!="Safari" && !selectedManually) { document.write("
"+_format('We have detected that you are using an incompatible browser. Please open this URL using your Safari browser.',deviceConfigId,actionId)+"
"+"
"); }else{if (iosOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { writeIOSConfiguration(true); document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
");}else if (iosOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(iosOperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
");}} } else if (BrowserDetect.OS=="Android" && checkIfOsEnabled("Android",obj.osObject)) {var preAuthWithPSKEnabledForAndroid = "false"; var androidOperatingSystem = getOperatingSystemObject("Android",obj.osObject);document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathAndroid = androidOperatingSystem.mLogo.mPath; document.write("
");if(androidOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (androidOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") {showDeploymentOptions('Configure via App (configure and connect)'); }else if (androidOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(androidOperatingSystem);}else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } }else if((BrowserDetect.OS=="Chrome OS") && checkIfOsEnabled("Chrome OS",obj.osObject)){ var chromeOS = getOperatingSystemObject("Chrome OS",obj.osObject);var imgPathChromeOS = chromeOS.mLogo.mPath;document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
"); document.write("
");if (chromeOS.mSelectedConfiguration =="AUTO_CONFIGURATION") { writeChromeWebStoreLink(); document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
");}else if (chromeOS.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(chromeOS);}else{document.write("
"+_format('${chromeURL}',deviceConfigId,actionId)+"
");} }else if (BrowserDetect.OS=="Windows Phone" && checkIfOsEnabled("Windows Phone",obj.osObject)) {var windowsPhoneOperatingSystem = getOperatingSystemObject("Windows Phone",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathWindowsPhone = windowsPhoneOperatingSystem.mLogo.mPath; document.write("
");if(windowsPhoneOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");}diplaySelfConfiguration(windowsPhoneOperatingSystem);if(!selectedManually){$.post("php/deploy.php", { operatingSystem:BrowserDetect.OS}).done(function(data) {});} } else if (BrowserDetect.OS=="BlackBerry" && checkIfOsEnabled("BlackBerry",obj.osObject)) {var blackBerryOperatingSystem = getOperatingSystemObject("BlackBerry",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathBlackberry = blackBerryOperatingSystem.mLogo.mPath; document.write("
");if(blackBerryOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} diplaySelfConfiguration(blackBerryOperatingSystem);if(!selectedManually){$.post("php/deploy.php", { operatingSystem:BrowserDetect.OS}).done(function(data) {});} } else if (BrowserDetect.OS=="Linux" && checkIfOsEnabled("Linux",obj.osObject)) {var linuxOperatingSystem = getOperatingSystemObject("Linux",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathLinux = linuxOperatingSystem.mLogo.mPath; document.write("
");if(linuxOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");}//Linux Join Now Buttonif(linuxOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION"){document.write("
");document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
");document.getElementById("connectbutton").onclick = function() {window.location.href='?run'; }}else if(linuxOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(linuxOperatingSystem);}else{document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
");} } else if (BrowserDetect.OS=="Kindle Fire" && checkIfOsEnabled("Kindle Fire",obj.osObject)){var kindleFireOperatingSystem = getOperatingSystemObject("Kindle Fire",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathKindleFire = kindleFireOperatingSystem.mLogo.mPath; document.write("
");if(kindleFireOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} if (kindleFireOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION") { if (0) { writeKindleAPKSelection(0); }else { writeKindleAPKSelection(0); } document.write("
"+_format("Step 2<\/b>: Return to this page to connect<\/b> by selecting JoinNow below.",deviceConfigId,actionId)+"
"); var locationURL = [location.protocol, '//', location.host, location.pathname].join(''); var currentLocation = locationURL + "android/SecureW2.cloudconfig"; document.write("
"); document.write("
"+_format('Note: if clicking the JoinNow button does not open the App, please use Android\'s built-in browser or Chrome browser.',deviceConfigId,actionId)+"
"); document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
"); }else if (kindleFireOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION") {diplaySelfConfiguration(kindleFireOperatingSystem);} else { document.write("
"+_format('Dynamic configuration is not supported, please contact your System Administrator.',deviceConfigId,actionId)+"
"); } }else if (BrowserDetect.OS=="Windows RT" && checkIfOsEnabled("Windows RT",obj.osObject)) {var preAuthWithPSKEnabledForWindows = "false";var windowsrtOperatingSystem = getOperatingSystemObject("Windows RT",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathWindowsRT = windowsrtOperatingSystem.mLogo.mPath; document.write("
");if(windowsrtOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");}//Windows RT Join Now Buttonif(windowsrtOperatingSystem.mSelectedConfiguration =="AUTO_CONFIGURATION"){ if(preAuthWithPSKEnabledForWindows == "true"){ showPreauthFieldsForWindowsRT(); }else{document.write("
");}document.write("
"+_format('By clicking the JoinNow button you accept the following',deviceConfigId,actionId) + ' '+_format('terms and conditions',deviceConfigId,actionId)+'.'+"
");}else if(windowsrtOperatingSystem.mSelectedConfiguration =="SELF_CONFIGURATION"){diplaySelfConfiguration(windowsrtOperatingSystem);} }else if (BrowserDetect.OS=="Nokia" && checkIfOsEnabled("Nokia",obj.osObject)) {var nokiaOperatingSystem = getOperatingSystemObject("Nokia",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathNokia = nokiaOperatingSystem.mLogo.mPath; document.write("
");if(nokiaOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} diplaySelfConfiguration(nokiaOperatingSystem);if(!selectedManually){$.post("php/deploy.php", { operatingSystem:BrowserDetect.OS}).done(function(data) {});} } else if (BrowserDetect.OS=="User-Defined" && checkIfOsEnabled("User-Defined",obj.osObject)) {var userDefinedOperatingSystem = getOperatingSystemObject("User-Defined",obj.osObject); document.write("
"+_format('The following system was detected:',deviceConfigId,actionId)+"
");var imgPathUserDefined = userDefinedOperatingSystem.mLogo.mPath; document.write("
");if(userDefinedOperatingSystem.mShowTitle){document.write("
"+BrowserDetect.OS+"
");} diplaySelfConfiguration(userDefinedOperatingSystem); }else {var osFound = false; for(i=0 ; i
");if(obj.osObject[i].mLogo != null && obj.osObject[i].mLogo != undefined){var imgPath = obj.osObject[i].mLogo.mPath;document.write("
");}diplaySelfConfiguration(obj.osObject[i]);if(!selectedManually){$.post("php/deploy.php", { operatingSystem:BrowserDetect.OS}).done(function(data) {});}osFound = true; break; }}if(!osFound){ BrowserDetect.OS ='Non-specific OS';var unknownOperatingSystem = getOperatingSystemObject("Non-specific OS",obj.osObject);document.write("
");var imgPathUnknownOperatingSystem = unknownOperatingSystem.mLogo.mPath; document.write("
");}diplaySelfConfiguration(unknownOperatingSystem);if(!selectedManually){$.post("php/deploy.php", { operatingSystem:BrowserDetect.OS}).done(function(data) {});}} } document.write("
"); document.write(_format('Select your device:',deviceConfigId,actionId)+" "); var element = document.getElementById('deviceSelect'); for(i=0 ; i