function host_view(host_id) 
{
	d('customerOverview').action_01.value = 'host_view'; 
	d('customerOverview').host_id.value = host_id;
	d('customerOverview').submit();
	return false;
}

function host_edit(host_id) 
{
	d('customerOverview').action_01.value = 'host_edit'; 
	d('customerOverview').host_id.value = host_id;
	d('customerOverview').submit();
	return false;
}

function host_status(host_id) 
{
	d('customerOverview').action_01.value = 'host_status'; 
	d('customerOverview').host_id.value = host_id;
	d('customerOverview').submit();
	return false;
}

function host_delete(host_id) 
{
	d('customerOverview').action_01.value = 'host_delete'; 
	d('customerOverview').host_id.value = host_id;
	d('customerOverview').submit();
	return false;
}

function host_status(host_id) 
{
	d('customerOverview').action_01.value = 'host_status'; 
	d('customerOverview').host_id.value = host_id;
	d('customerOverview').submit();
	return false;
}

function menu_host_list()
{
	d('pageNavigator').action_01.value = 'host_list';
	d('pageNavigator').submit();
}

function menu_host_new()
{
	d('pageNavigator').action_01.value = 'host_new';
	d('pageNavigator').submit();
}

function menu_host_view()
{
	if (d('customerOverview').host_id.value=="") {
		alert ("Please select a host from the list to the left.");
		return false;
	} else {
		host_view(d('customerOverview').host_id.value);
	}
}

function menu_host_edit()
{
	if (d('customerOverview').host_id.value=="") {
		alert ("Please select a host from the list to the left.");
		return false;
	} else {
		host_edit(d('customerOverview').host_id.value);
	}
}

function menu_host_status()
{
	if (d('customerOverview').host_id.value=="") {
		alert ("Please select a host from the list to the left.");
		return false;
	} else {
		host_status(d('customerOverview').host_id.value);
	}
}

function menu_host_delete()
{
	if (d('customerOverview').host_id.value=="") {
		alert ("Please select a host from the list to the left.");
		return false;
	} else {
		host_delete(d('customerOverview').host_id.value);
	}
}

