function doDownload() {
	window.location.href = "download.aspx";
}

function doLogout() {
	window.location.href = "inc_logout.aspx";
}

function doLogin() {
	var booAlert = false;
	var strAlert = "Please fill in the following field(s) :-\n\n";
	if ( document.getElementById('txtUser').value == "" ) {
		strAlert = strAlert + "- Username\n";
		booAlert = true;
	}
	
	if ( document.getElementById('txtPwd').value == "" ) {
		strAlert = strAlert + "- Password";
		booAlert = true;
	}
	
	if ( booAlert == false )
		window.location.href = "inc_login.aspx?txtUser=" + document.all.txtUser.value + "&txtPwd=" + document.all.txtPwd.value;
	else
		alert(strAlert);
}	