// Login attempt made
function btnLeftNavLoginGo_Click()
{
	// Get a reference to the left navigation fields
	var txtLeftNavPassword = document.getElementById('txtLeftNavPassword');
	var txtLeftNavSearch = document.getElementById('txtLeftNavSearch');
	var txtLeftNavUserName = document.getElementById('txtLeftNavUserName');
	
	// Save field information into a hidden form field
	document.forms[0].__txtLeftNavPassword.value = txtLeftNavPassword.value;
	document.forms[0].__txtLeftNavUserName.value = txtLeftNavUserName.value;
	
	// Clear the other fields out
	txtLeftNavSearch.value = '';
	document.forms[0].__txtLeftNavSearch.value = '';
	
	// Post Form and let the server handle the request
	document.forms[0].submit();
}

// Search attempt made
function btnLeftNavSearchGo_Click()
{
	// Get a reference to the left navigation field
	var txtLeftNavPassword = document.getElementById('txtLeftNavPassword');
	var txtLeftNavSearch = document.getElementById('txtLeftNavSearch');
	var txtLeftNavUserName = document.getElementById('txtLeftNavUserName');
	
	// Save field information into a hidden form field
	document.forms[0].__txtLeftNavSearch.value = txtLeftNavSearch.value;
	
	// Clear the other fields out if they're there
	if(document.forms[0].__txtLeftNavPassword != null)
	{
		txtLeftNavPassword.value = '';
		txtLeftNavUserName.value = '';
		document.forms[0].__txtLeftNavPassword.value = '';
		document.forms[0].__txtLeftNavUserName.value = '';
	}
	
	// Post form and let the server handle the request
	document.forms[0].submit();
}