$(document).ready(function(){function n(n){n&&n.preventDefault();t("/IdpImplicitFlow/Login","xtf","470","675");n.stopPropagation()}function t(n,t,i,r){var f=window.screenLeft!==undefined?window.screenLeft:screen.left,e=window.screenTop!==undefined?window.screenTop:screen.top,o=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,s=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,h=o/2-i/2+f,c=s/2-r/2+e,u=u=window.open(n,t,"titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width="+i+", height="+r+", top="+c+", left="+h);window.focus&&u.focus()}var i=$(".site-login"),r=$(".site-logout");i.click(n);r.on("click",function(n){n&&n.preventDefault();var t=window.location.href;window.location.href="/IdpImplicitFlow/Logout"})})