function DoSSOLogin() { ssoDomain = document.getElementById("domain").value; if (ssoDomain =="") { alert("You need to enter a login domain first!"); } else window.location.href = "https://mailclickconvert.com/login.ph?action=linksso&domain=" + ssoDomain; }