function StartApp() { 
	
	var hWindow = 510, wWindow = 790, hScreen = 600, wScreen = 800;

	// If the screen object is available, get the actual screen height and width
	if (screen.availWidth) {
		wScreen  = screen.availWidth;
		hScreen  = screen.availHeight;
	}

	// Calculate the position of the new window using the specified width
	// and height factoring borders and toolbar/statusbar heights
	var leftWindow = (wScreen - (wWindow + 10)) / 2, topWindow = (hScreen - (hWindow + 60)) / 2;

	// Open the application window and give it focus
	var wApp = window.open("https://app.truckloadmarket.com/login.aspx", "ERAW_AppWindow", "width=" + wWindow + ",height=" + hWindow + ",top=" + topWindow + ",left=" + leftWindow + ",scrollbars,titlebar,status,resizable");
	wApp.focus();
}

function StartReg() {
	var hWindow = 510, wWindow = 790, hScreen = 600, wScreen = 800;

	// If the screen object is available, get the actual screen height and width
	if (screen.availWidth) {
		wScreen  = screen.availWidth;
		hScreen  = screen.availHeight;
	}

	// Calculate the position of the new window using the specified width
	// and height factoring borders and toolbar/statusbar heights
	var leftWindow = (wScreen - (wWindow + 10)) / 2, topWindow = (hScreen - (hWindow + 60)) / 2;

	// Open the application window and give it focus
	var wApp = window.open("https://app.truckloadmarket.com/register.aspx", "ERAW_RegWindow", "width=" + wWindow + ",height=" + hWindow + ",top=" + topWindow + ",left=" + leftWindow + ",scrollbars,titlebar,status,resizable");
	wApp.focus();

}