function ComingSoon()
{
	alert("Page Coming Soon.");
    void(0);
}

function PendingClient()
{
	alert("Pending Client.");
    void(0);
}

function passTo(conName, value, len)
{
    if (value.length >= len)
    {
        document.getElementById(conName).focus();
    }
}

function toggleDiv(id) {
       var e = document.getElementById(id);
       if(e.style.display == 'block')
          e.style.display = 'none';
       else
          e.style.display = 'block';
}

function gotoLocation() {
	var selLocation = document.getElementById('locationSelect');
	if(selLocation.options[selLocation.selectedIndex].value != "") {
		switch(selLocation.options[selLocation.selectedIndex].value) {
			case "Airline":
				window.open("https://www.smdservers.net/SLWebSiteTemplate/login.aspx?sCorpCode=FyUPJRzR8WA/C/sjk6NEuA==&sLocationCode=fkH8lYKpOXCDelOyuYoplushw==");
				break;
			case "Kirby":
				window.open("https://www.smdservers.net/SLWebSiteTemplate/login.aspx?sCorpCode=FyUPJRzR8WA/C/sjk6NEuA==&sLocationCode=/Bg3f9EfuqIWz9mvplusyJWMg==");
				break;
			case "Weslayan":
				window.open("https://www.smdservers.net/SLWebSiteTemplate/login.aspx?sCorpCode=FyUPJRzR8WA/C/sjk6NEuA==&sLocationCode=5glUKf7E0ftI9Gech5cqCg==");
				break;
			case "Westheimer":
				window.open("https://www.smdservers.net/SLWebSiteTemplate/login.aspx?sCorpCode=FyUPJRzR8WA/C/sjk6NEuA==&sLocationCode=F3e81MY3f4IcaovtqM7F3w==");
				break;
			case "Gulfgate":
				window.open("https://www.smdservers.net/SLWebSiteTemplate/login.aspx?sCorpCode=FyUPJRzR8WA/C/sjk6NEuA==&sLocationCode=hqFZTTuWsckQxgIDaX4ymw==");
				break;
			case "WestDallas":
				window.open("https://www.smdservers.net/SLWebSiteTemplate/login.aspx?sCorpCode=FyUPJRzR8WA/C/sjk6NEuA==&sLocationCode=qmNXYwgOBfuKuALtIl4tkQ==");
				break;
		}
	}
}
