class UMenuJoinMenu expands UMenuPulldownMenu;

var UWindowPulldownMenuItem Browser, FindLocal, Favorites, Open, NetSpeed;

var localized string[32] FindLocalName;
var localized string[32] FavoritesName;
var localized string[32] OpenName;
var localized string[32] NetSpeedName;

function Created()
{
	Super.Created();

	FindLocal = AddMenuItem(FindLocalName, None);
	Open = AddMenuItem(OpenName, None);
	Favorites = AddMenuItem(FavoritesName, None);
	Favorites.CreateSubMenu(class'UMenuFavoritesMenu');
	AddMenuItem("-", None);
	NetSpeed = AddMenuItem(NetSpeedName, None);
	NetSpeed.CreateSubMenu(class'UMenuNetSpeedMenu');
}

function ExecuteItem(UWindowPulldownMenuItem I) 
{
	switch(I)
	{
	case FindLocal:
		// Create findlocal dialog.
		break;
	case Favorites:
		return;
	case Open:
		// Create open dialog.
		break;
	case NetSpeed:
		return;
	}

	Super.ExecuteItem(I);
}

defaultproperties
{
	FindLocalName="Find Local Servers"
	OpenName="Open Location"
	NetSpeedName="NetSpeed"
	FavoritesName="Favorite Servers"
}