// ================
// BATTLEZONE SHELL
//
// By Pandemic studios and William "Commando" Powell.  Originally created by Pandemic Studios and later modified by William Powell to take advantage of several features introduced in the 1.3 patch.  Page layout buttons improved by GSH.
// Changes
//  Reorganized the options
//  Added two pages to the Extra Options
//  Added the Pilot Lifespawn control
//  Added the Recycler Selection Window
//  Addedd a toggle for the TLI
// ================
CreateControl("ExtraOptions", "WINDOW")
{
	ColorGroup("MAGENTA");
	Geometry("RIGHT", "TOP");
	Position(-60, 180);
	Size(810, 1200);
	BorderSize(30);
	BevelSize(15);
	TabSize(330, 30);
	Title("Extra Options");
	TitleFont("SMALL");
	Style("RIGHTTAB", "OUTLINE");

	CreateControl("TimeLimit", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 0);
		Size(525, 27);
		Font("SMALL");
		Text("Time Limit (minutes):");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("TimeEdit", "EDIT")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 0);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		JustifyText("RIGHT");
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("network.session.ivar1");
		SetIntegerRange("network.session.ivar1", 0, 99999);
	}

	CreateControl("KillLimit", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 60);
		Size(525, 27);
		Font("SMALL");
		Text("Kill Limit:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("KillEdit", "EDIT")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 60);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		JustifyText("RIGHT");
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("network.session.ivar0");
		SetIntegerRange("network.session.ivar0", 0, 99999);
	}

	CreateControl("UnitLimit", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 120);
		Size(525, 27);
		Font("SMALL");
		Text("Unit Limit:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("UnitEdit", "EDIT")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 120);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		JustifyText("RIGHT");
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("network.session.ivar9");
	}
	
	CreateControl("PilotLifeTime", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 180);
		Size(525, 27);
		Font("SMALL");
		Text("Pilot lifespan (seconds):");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("PilotLifeTime", "EDIT")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 180);
		Size(57, 27); // (50, 9)
		BorderSize(9);
		BevelSize(9);
		JustifyText("RIGHT");
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		UseVar("network.session.ivar28");
		SetIntegerRange("network.session.ivar28", 0, 99999);
	}

	
	CreateControl("SniperRespawn", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 300);
		Size(525, 27);
		Font("SMALL");
		Text("Respawn w/ sniper:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("SniperRespawnOff", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 300);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("Off");
		UseVar("network.session.ivar16");
		Value(0);
	}

	CreateControl("SniperRespawnOn", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(615, 300);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("On");
		UseVar("network.session.ivar16");
		Value(1);
	}

		
	CreateControl("PointsForKill", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 360);
		Size(525, 27);
		Font("SMALL");
		Text("Points for AI kill:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("PointsForKillOff", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 360);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("Off");
		UseVar("network.session.ivar14");
		Value(0);
	}

	CreateControl("PointsForKillOn", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(615, 360);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("On");
		UseVar("network.session.ivar14");
		Value(1);
	}

	CreateControl("KillForKill", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 420);
		Size(525, 27);
		Font("SMALL");
		Text("Kill for AI kill:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("KillForKillOff", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 420);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("Off");
		UseVar("network.session.ivar15");
		Value(0);
	}

	CreateControl("KillForKillOn", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(615, 420);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("On");
		UseVar("network.session.ivar15");
		Value(1);
	}

	CreateControl("TLI", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 480);
		Size(525, 27);
		Font("SMALL");
		Text("Target Lead Indicator:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("TLIOff", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 480);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("Off");
		UseVar("network.session.ivar29");
		Value(1);
	}

	CreateControl("TLIOn", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(615, 480);
		Size(57, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("On");
		UseVar("network.session.ivar29");
		Value(0);
	}

	// // FE Weapon Spawn

	// CreateControl("SpawnCrates", "STATIC")
	// {
		// Geometry("LEFT", "TOP");
		// Position(0, 180);
		// Size(175, 9);
		// Font("SMALL");
		// Text("Spawn Weapon Crates:");
		// JustifyText("right");
		// Style("TRANSPARENT");
	// }

	// CreateControl("SpawnCratesOff", "BUTTON")
	// {
		// ColorGroup("BLACKBLUE");
		// Geometry("LEFT", "TOP");
		// Position(180, 180);
		// Size(19, 9);
		// BorderSize(3);
		// BevelSize(3);
		// Style("ROLLOVER", "RADIO", "OUTLINE");
		// Cursor("Highlight");
		// Font("TINY");
		// Text("Off");
		// UseVar("network.session.ivar121");
		// Value(0);
	// }

	// CreateControl("SpawnCratesOn", "BUTTON")
	// {
		// ColorGroup("BLACKBLUE");
		// Geometry("LEFT", "TOP");
		// Position(205, 180);
		// Size(19, 9);
		// BorderSize(3);
		// BevelSize(3);
		// Style("ROLLOVER", "RADIO", "OUTLINE");
		// Cursor("Highlight");
		// Font("TINY");
		// Text("On");
		// UseVar("network.session.ivar121");
		// Value(1);
	// }

	// CreateControl("SpawnPools", "STATIC")
	// {
		// Geometry("LEFT", "TOP");
		// Position(0, 200);
		// Size(175, 9);
		// Font("SMALL");
		// Text("Extra Scrap Pools:");
		// JustifyText("right");
		// Style("TRANSPARENT");
	// }

	// CreateControl("SpawnPoolsOff", "BUTTON")
	// {
		// ColorGroup("BLACKBLUE");
		// Geometry("LEFT", "TOP");
		// Position(180, 200);
		// Size(19, 9);
		// BorderSize(3);
		// BevelSize(3);
		// Style("ROLLOVER", "RADIO", "OUTLINE");
		// Cursor("Highlight");
		// Font("TINY");
		// Text("Off");
		// UseVar("network.session.ivar122");
		// Value(0);
	// }

	// CreateControl("SpawnPoolsOn", "BUTTON")
	// {
		// ColorGroup("BLACKBLUE");
		// Geometry("LEFT", "TOP");
		// Position(205, 200);
		// Size(19, 9);
		// BorderSize(3);
		// BevelSize(3);
		// Style("ROLLOVER", "RADIO", "OUTLINE");
		// Cursor("Highlight");
		// Font("TINY");
		// Text("On");
		// UseVar("network.session.ivar122");
		// Value(1);
	// }
	//
	
	CreateControl("TurretSkill", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 780); // (0, 140)
		Size(525, 27);
		Font("SMALL");
		Text("Player turret skill:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("TurretSkill0", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 780);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("0");
		UseVar("network.session.ivar17");
		Value(0);
	}

	CreateControl("TurretSkill1", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(600, 780);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("1");
		UseVar("network.session.ivar17");
		Value(1);
	}

	CreateControl("TurretSkill2", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(660, 780);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("2");
		UseVar("network.session.ivar17");
		Value(2);
	}

	CreateControl("TurretSkill3", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(720, 780);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("3");
		UseVar("network.session.ivar17");
		Value(3);
	}

	CreateControl("NonTurretSkill", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 840); // (0, 160)
		Size(525, 27);
		Font("SMALL");
		Text("Player Non-turret skill:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("NonTurretSkill0", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 840);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("0");
		UseVar("network.session.ivar18");
		Value(0);
	}

	CreateControl("NonTurretSkill1", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(600, 840);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("1");
		UseVar("network.session.ivar18");
		Value(1);
	}

	CreateControl("NonTurretSkill2", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(660, 840);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("2");
		UseVar("network.session.ivar18");
		Value(2);
	}

	CreateControl("NonTurretSkill3", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(720, 840);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("3");
		UseVar("network.session.ivar18");
		Value(3);
	}

	// 
	CreateControl("CPUTurretSkill", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 900); // (0, 180)
		Size(525, 27);
		Font("SMALL");
		Text("AI Turret skill:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("CPUTurretSkill0", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 900);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("0");
		UseVar("network.session.ivar21");
		Value(0);
	}

	CreateControl("CPUTurretSkill1", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(600, 900);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("1");
		UseVar("network.session.ivar21");
		Value(1);
	}

	CreateControl("CPUTurretSkill2", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(660, 900);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("2");
		UseVar("network.session.ivar21");
		Value(2);
	}

	CreateControl("CPUTurretSkill3", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(720, 900);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("3");
		UseVar("network.session.ivar21");
		Value(3);
	}

	CreateControl("CPUNonTurretSkill", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 960); // (0, 200)
		Size(525, 27);
		Font("SMALL");
		Text("AI Non-turret skill:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("CPUNonTurretSkill0", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 960);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("0");
		UseVar("network.session.ivar22");
		Value(0);
	}

	CreateControl("CPUNonTurretSkill1", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(600, 960);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("1");
		UseVar("network.session.ivar22");
		Value(1);
	}

	CreateControl("CPUNonTurretSkill2", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(660, 960);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("2");
		UseVar("network.session.ivar22");
		Value(2);
	}

	CreateControl("NonTurretSkill3", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(720, 960);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("3");
		UseVar("network.session.ivar22");
		Value(3);
	}

	// human scrap cheat

	CreateControl("HumanScrapCheat", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 1020); // (0, 220)
		Size(525, 27);
		Font("SMALL");
		Text("Human scrap cheat:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("HumanScrapCheat0", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 1020);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("0");
		UseVar("network.session.ivar23");
		Value(0);
	}

	CreateControl("HumanScrapCheat1", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(600, 1020);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("1");
		UseVar("network.session.ivar23");
		Value(2);
	}

	CreateControl("HumanScrapCheat2", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(660, 1020);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("2");
		UseVar("network.session.ivar23");
		Value(4);
	}

	CreateControl("HumanScrapCheat3", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(720, 1020);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("3");
		UseVar("network.session.ivar23");
		Value(8);
	}

	// CPU scrap cheat

	CreateControl("CPUScrapCheat", "STATIC")
	{
		Geometry("LEFT", "TOP");
		Position(0, 1080); // (0, 240)
		Size(525, 27);
		Font("SMALL");
		Text("AI scrap cheat:");
		JustifyText("right");
		Style("TRANSPARENT");
	}

	CreateControl("CPUScrapCheat0", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(540, 1080);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("0");
		UseVar("network.session.ivar24");
		Value(0);
	}

	CreateControl("CPUScrapCheat1", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(600, 1080);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("1");
		UseVar("network.session.ivar24");
		Value(2);
	}

	CreateControl("CPUScrapCheat2", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(660, 1080);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("2");
		UseVar("network.session.ivar24");
		Value(4);
	}

	CreateControl("CPUScrapCheat3", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "TOP");
		Position(720, 1080);
		Size(39, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "RADIO", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("3");
		UseVar("network.session.ivar24");
		Value(8);
	}
	CreateControl("PagesLabel", "STATIC")
	{
		Geometry("LEFT", "BOTTOM");
		Position(0, 0);
		Size(90, 27);
		Font("TINY");
		Text("Page:");
		JustifyText("left");
		Style("TRANSPARENT");
	}


	// Required control: gotta be able to get out of here.
	CreateControl("CloseExtras", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("LEFT", "BOTTOM");
		Position(120, 0);
		Size(90, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		Font("TINY");
		Text("Main");
		NotifyParent("Button::Press", "CloseExtra");
	}
		
	OnEvent("CloseExtra")
	{
		Cmd("network.session.closeextras");
	}

	CreateControl("OpenExtraOptions1", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("BOTTOM", "LEFT");
		Position(240, 0);
		Size(60, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "OUTLINE", "INERT");
		Cursor("Highlight");
		Font("SMALL");
		Text("1");
	}	

	CreateControl("OpenExtraOptions2", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("BOTTOM", "LEFT");
		Position(330, 0);
		Size(60, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		Font("SMALL");
		Text("2");
		NotifyParent("Button::Press", "OpenExtraOptions2");
	}	
	OnEvent("OpenExtraOptions2")
	{
		FadeOut("|ExtraOptions");
		FadeIn("|ExtraOptions2");
	}

	CreateControl("OpenExtraOptions3", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("BOTTOM", "LEFT");
		Position(420, 0);
		Size(60, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		Font("SMALL");
		Text("3");
		NotifyParent("Button::Press", "OpenExtraOptions3");			
	}	
	OnEvent("OpenExtraOptions3")
	{
		FadeOut("|ExtraOptions");
		FadeIn("|ExtraOptions3");
	}

	CreateControl("OpenExtraOptions4", "BUTTON")
	{
		ColorGroup("BLACKBLUE");
		Geometry("BOTTOM", "LEFT");
		Position(510, 0);
		Size(60, 27);
		BorderSize(9);
		BevelSize(9);
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		Font("SMALL");
		Text("4");
		NotifyParent("Button::Press", "OpenExtraOptions4");			
	}
	OnEvent("OpenExtraOptions4")
	{
		FadeOut("|ExtraOptions");
		FadeIn("|ExtraOptions4");
	}
}
// Pull in the other pages as well. Do this all at once so the exe can
// fill in all the listboxes we use.
Exec("bzshell_multi_fempi2_x3_0.cfg");
Exec("bzshell_multi_fempi3_x3_0.cfg");
Exec("bzshell_multi_fempi4_x3_0.cfg");
