var TcHmi;!function(TcHmi){!function(Functions){!function(Beckhoff){Beckhoff.GoToLoginPage=function(){return 4===TcHmi.Server.getCurrentUserConfig().state&&(window.location.href=TcHmi.Environment.getHostBaseUri()+"/Login?Location="+window.location.pathname,!0)}}(Functions.Beckhoff||(Functions.Beckhoff={}))}(TcHmi.Functions||(TcHmi.Functions={}))}(TcHmi||(TcHmi={})),TcHmi.Functions.registerFunctionEx("GoToLoginPage","TcHmi.Functions.Beckhoff",TcHmi.Functions.Beckhoff.GoToLoginPage);