// =======================
// BATTLEZONE FOG EDITOR
// =======================
//
//
//   ============================================
//   Oiled, polished and pinstriped by RocketmanX
//   ============================================
// |          Added Quick Pick Palette             |
//  -----------------------------------------------
//
//////////////////////////////////////////////
// CREATE QUICK PICK PALETTE WINDOW
//////////////////////////////////////////////

 CreateControl("FColor", "WINDOW")
  {

	Geometry("RIGHT", "TOP");
	Pos(0, 10);
	Size(150, 190);
	ColorGroup("TVBACK1");

	CreateControl("FColorTitle", "STATIC")
	{
		ColorGroup("WHITE");
		Pos(0, 2);
		Size(150, 10);
		Font("Small");
		JustifyText("CENTRE");
		Text("QP Palette");
		Style("TRANSPARENT");
	}

/////////////////////////////////////////////
// CREATE COLOR QUICK PICK PALETTE
/////////////////////////////////////////////

	CreateControl("RXFC001", "BUTTON")
	{
	    ColorGroup("RXPF001");
		Pos(70, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC001");
	}

	CreateControl("RXFC002", "BUTTON")
	{
	    ColorGroup("RXPF002");
		Pos(80, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC002");
    }

	CreateControl("RXFC003", "BUTTON")
	{
	    ColorGroup("RXPF003");
		Pos(90, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC003");
    }

    CreateControl("RXFC004", "BUTTON")
	{
	    ColorGroup("RXPF004");
		Pos(100, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC004");
    }

    CreateControl("RXFC005", "BUTTON")
	{
	    ColorGroup("RXPF005");
		Pos(110, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC005");
    }

    CreateControl("RXFC006", "BUTTON")
	{
	    ColorGroup("RXPF006");
		Pos(120, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC006");
    }

    CreateControl("RXFC007", "BUTTON")
	{
	    ColorGroup("RXPF007");
		Pos(130, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC007");
    }
    
////////
	CreateControl("RXFC008", "BUTTON")
	{
	    ColorGroup("RXPF008");
		Pos(60, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC008");
    }

    CreateControl("RXFC009", "BUTTON")
	{
	    ColorGroup("RXPF009");
		Pos(50, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC009");
    }

    CreateControl("RXFC010", "BUTTON")
	{
	    ColorGroup("RXPF010");
		Pos(40, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC010");
    }

    CreateControl("RXFC011", "BUTTON")
	{
	    ColorGroup("RXPF011");
		Pos(30, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC011");
    }

    CreateControl("RXFC012", "BUTTON")
	{
	    ColorGroup("RXPF012");
		Pos(20, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC012");
    }

    CreateControl("RXFC013", "BUTTON")
	{
	    ColorGroup("RXPF013");
		Pos(10, 80);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC013");
    }

	CreateControl("RXFC014", "BUTTON")
	{
	    ColorGroup("RXPF014");
		Pos(75, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC014");
    }

	CreateControl("RXFC015", "BUTTON")
	{
	    ColorGroup("RXPF015");
		Pos(85, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC015");
    }

    CreateControl("RXFC016", "BUTTON")
	{
	    ColorGroup("RXPF016");
		Pos(95, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC016");
    }

    CreateControl("RXFC017", "BUTTON")
	{
	    ColorGroup("RXPF017");
		Pos(105, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC017");
    }

    CreateControl("RXFC018", "BUTTON")
	{
	    ColorGroup("RXPF018");
		Pos(115, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC018");
    }

    CreateControl("RXFC019", "BUTTON")
	{
	    ColorGroup("RXPF019");
		Pos(125, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC019");
    }

    CreateControl("RXFC020", "BUTTON")
	{
	    ColorGroup("RXPF020");
		Pos(65, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC020");
    }

    CreateControl("RXFC021", "BUTTON")
	{
	    ColorGroup("RXPF021");
		Pos(55, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC021");
    }

    CreateControl("RXFC022", "BUTTON")
	{
	    ColorGroup("RXPF022");
		Pos(45, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC022");
    }

    CreateControl("RXFC023", "BUTTON")
	{
	    ColorGroup("RXPF023");
		Pos(35, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC023");
    }

    CreateControl("RXFC024", "BUTTON")
	{
	    ColorGroup("RXPF024");
		Pos(25, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC024");
    }

	CreateControl("RXFC025", "BUTTON")
	{
	    ColorGroup("RXPF025");
		Pos(15, 70);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC025");
    }
//
	CreateControl("RXFC025b", "BUTTON")
	{
	    ColorGroup("RXPF025b");
		Pos(125, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC025b");
    }

	CreateControl("RXFC026", "BUTTON")
	{
	    ColorGroup("RXPF026");
		Pos(115, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC026");
    }

	CreateControl("RXFC027", "BUTTON")
	{
	    ColorGroup("RXPF027");
		Pos(105, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC027");
    }

	CreateControl("RXFC028", "BUTTON")
	{
	    ColorGroup("RXPF028");
		Pos(95, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC028");
    }

	CreateControl("RXFC029", "BUTTON")
	{
	    ColorGroup("RXPF029");
		Pos(85, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC029");
    }

	CreateControl("RXFC030", "BUTTON")
	{
	    ColorGroup("RXPF030");
		Pos(75, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC030");
    }

	CreateControl("RXFC031", "BUTTON")
	{
	    ColorGroup("RXPF031");
		Pos(65, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC031");
    }

	CreateControl("RXFC032", "BUTTON")
	{
	    ColorGroup("RXPF032");
		Pos(55, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC032");
    }

	CreateControl("RXFC033", "BUTTON")
	{
	    ColorGroup("RXPF033");
		Pos(45, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC033");
    }

	CreateControl("RXFC034", "BUTTON")
	{
	    ColorGroup("RXPF034");
		Pos(35, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC034");
    }

	CreateControl("RXFC035", "BUTTON")
	{
	    ColorGroup("RXPF035");
		Pos(25, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC035");
    }

	CreateControl("RXFC036", "BUTTON")
	{
	    ColorGroup("RXPF036");
		Pos(15, 90);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC036");
    }
//
	CreateControl("RXFC037", "BUTTON")
	{
	    ColorGroup("RXPF037");
		Pos(120, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC037");
    }

	CreateControl("RXFC038", "BUTTON")
	{
	    ColorGroup("RXPF038");
		Pos(110, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC038");
    }

	CreateControl("RXFC039", "BUTTON")
	{
	    ColorGroup("RXPF039");
		Pos(100, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC039");
    }

	CreateControl("RXFC040", "BUTTON")
	{
	    ColorGroup("RXPF040");
		Pos(90, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC040");
    }

	CreateControl("RXFC041", "BUTTON")
	{
	    ColorGroup("RXPF041");
		Pos(80, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC041");
    }

	CreateControl("RXFC042", "BUTTON")
	{
	    ColorGroup("RXPF042");
		Pos(70, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC042");
    }

	CreateControl("RXFC043", "BUTTON")
	{
	    ColorGroup("RXPF043");
		Pos(60, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC043");
    }

	CreateControl("RXFC044", "BUTTON")
	{
	    ColorGroup("RXPF044");
		Pos(50, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC044");
    }

	CreateControl("RXFC045", "BUTTON")
	{
	    ColorGroup("RXPF045");
		Pos(40, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC045");
    }

	CreateControl("RXFC046", "BUTTON")
	{
	    ColorGroup("RXPF046");
		Pos(30, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC046");
    }

	CreateControl("RXFC047", "BUTTON")
	{
	    ColorGroup("RXPF047");
		Pos(20, 100);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC047");
    }
////
	CreateControl("RXFC048", "BUTTON")
	{
	    ColorGroup("RXPF048");
		Pos(115, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC048");
    }

	CreateControl("RXFC049", "BUTTON")
	{
	    ColorGroup("RXPF049");
		Pos(105, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC049");
    }

	CreateControl("RXFC050", "BUTTON")
	{
	    ColorGroup("RXPF050");
		Pos(95, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC050");
    }

	CreateControl("RXFC051", "BUTTON")
	{
	    ColorGroup("RXPF051");
		Pos(85, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC051");
    }

	CreateControl("RXFC052", "BUTTON")
	{
	    ColorGroup("RXPF052");
		Pos(75, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC052");
    }

	CreateControl("RXFC053", "BUTTON")
	{
	    ColorGroup("RXPF053");
		Pos(65, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC053");
    }

	CreateControl("RXFC054", "BUTTON")
	{
	    ColorGroup("RXPF054");
		Pos(55, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC054");
    }

	CreateControl("RXFC055", "BUTTON")
	{
	    ColorGroup("RXPF055");
		Pos(45, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC055");
    }

	CreateControl("RXFC056", "BUTTON")
	{
	    ColorGroup("RXPF056");
		Pos(35, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC056");
    }

	CreateControl("RXFC057", "BUTTON")
	{
	    ColorGroup("RXPF057");
		Pos(25, 110);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC057");
    }
////
	CreateControl("RXFC058", "BUTTON")
	{
	    ColorGroup("RXPF058");
		Pos(110, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC058");
    }

	CreateControl("RXFC059", "BUTTON")
	{
	    ColorGroup("RXPF059");
		Pos(100, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC059");
    }

	CreateControl("RXFC060", "BUTTON")
	{
	    ColorGroup("RXPF060");
		Pos(90, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC060");
    }

	CreateControl("RXFC061", "BUTTON")
	{
	    ColorGroup("RXPF061");
		Pos(80, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC061");
    }

	CreateControl("RXFC062", "BUTTON")
	{
	    ColorGroup("RXPF062");
		Pos(70, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC062");
    }

	CreateControl("RXFC063", "BUTTON")
	{
	    ColorGroup("RXPF063");
		Pos(60, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC063");
    }

	CreateControl("RXFC064", "BUTTON")
	{
	    ColorGroup("RXPF064");
		Pos(50, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC064");
    }

	CreateControl("RXFC065", "BUTTON")
	{
	    ColorGroup("RXPF065");
		Pos(40, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC065");
    }

	CreateControl("RXFC066", "BUTTON")
	{
	    ColorGroup("RXPF066");
		Pos(30, 120);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC066");
    }
/////////
	CreateControl("RXFC067", "BUTTON")
	{
	    ColorGroup("RXPF067");
		Pos(105, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC067");
    }

	CreateControl("RXFC068", "BUTTON")
	{
	    ColorGroup("RXPF068");
		Pos(95, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC068");
    }

	CreateControl("RXFC069", "BUTTON")
	{
	    ColorGroup("RXPF069");
		Pos(85, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC069");
    }

	CreateControl("RXFC070", "BUTTON")
	{
	    ColorGroup("RXPF070");
		Pos(75, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC070");
    }

	CreateControl("RXFC071", "BUTTON")
	{
	    ColorGroup("RXPF071");
		Pos(65, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC071");
    }

	CreateControl("RXFC072", "BUTTON")
	{
	    ColorGroup("RXPF072");
		Pos(55, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC072");
    }

	CreateControl("RXFC073", "BUTTON")
	{
	    ColorGroup("RXPF073");
		Pos(45, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC073");
    }

	CreateControl("RXFC074", "BUTTON")
	{
	    ColorGroup("RXPF074");
		Pos(35, 130);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC074");
    }
/////////
	CreateControl("RXFC075", "BUTTON")
	{
	    ColorGroup("RXPF075");
		Pos(100, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC075");
    }

	CreateControl("RXFC076", "BUTTON")
	{
	    ColorGroup("RXPF076");
		Pos(90, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC076");
    }

	CreateControl("RXFC077", "BUTTON")
	{
	    ColorGroup("RXPF077");
		Pos(80, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC077");
    }

	CreateControl("RXFC078", "BUTTON")
	{
	    ColorGroup("RXPF078");
		Pos(70, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC078");
    }

	CreateControl("RXFC079", "BUTTON")
	{
	    ColorGroup("RXPF079");
		Pos(60, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC079");
    }

	CreateControl("RXFC080", "BUTTON")
	{
	    ColorGroup("RXPF080");
		Pos(50, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC080");
    }

	CreateControl("RXFC081", "BUTTON")
	{
	    ColorGroup("RXPF081");
		Pos(40, 140);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC081");
    }
/////
	CreateControl("RXFC082", "BUTTON")
	{
	    ColorGroup("RXPF082");
		Pos(120, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC082");
    }
	CreateControl("RXFC083", "BUTTON")
	{
	    ColorGroup("RXPF083");
		Pos(110, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC083");
    }

	CreateControl("RXFC084", "BUTTON")
	{
	    ColorGroup("RXPF084");
		Pos(100, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC084");
    }

	CreateControl("RXFC085", "BUTTON")
	{
	    ColorGroup("RXPF085");
		Pos(90, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC085");
    }

	CreateControl("RXFC086", "BUTTON")
	{
	    ColorGroup("RXPF086");
		Pos(80, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC086");
    }

	CreateControl("RXFC087", "BUTTON")
	{
	    ColorGroup("RXPF087");
		Pos(70, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC087");
    }

	CreateControl("RXFC088", "BUTTON")
	{
	    ColorGroup("RXPF088");
		Pos(60, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC088");
    }

	CreateControl("RXFC089", "BUTTON")
	{
	    ColorGroup("RXPF089");
		Pos(50, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC089");
    }

	CreateControl("RXFC090", "BUTTON")
	{
	    ColorGroup("RXPF090");
		Pos(40, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC090");
    }

	CreateControl("RXFC091", "BUTTON")
	{
	    ColorGroup("RXPF091");
		Pos(30, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC091");
    }

	CreateControl("RXFC092", "BUTTON")
	{
	    ColorGroup("RXPF092");
		Pos(20, 60);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC092");
    }
////////
	CreateControl("RXFC093", "BUTTON")
	{
	    ColorGroup("RXPF093");
		Pos(115, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC093");
    }

	CreateControl("RXFC094", "BUTTON")
	{
	    ColorGroup("RXPF094");
		Pos(105, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC094");
    }

	CreateControl("RXFC095", "BUTTON")
	{
	    ColorGroup("RXPF095");
		Pos(95, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC095");
    }

	CreateControl("RXFC096", "BUTTON")
	{
	    ColorGroup("RXPF096");
		Pos(85, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC096");
    }

	CreateControl("RXFC097", "BUTTON")
	{
	    ColorGroup("RXPF097");
		Pos(75, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC097");
    }

	CreateControl("RXFC098", "BUTTON")
	{
	    ColorGroup("RXPF098");
		Pos(65, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC098");
    }

	CreateControl("RXFC099", "BUTTON")
	{
	    ColorGroup("RXPF099");
		Pos(55, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC099");
    }

	CreateControl("RXFC100", "BUTTON")
	{
	    ColorGroup("RXPF100");
		Pos(45, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC100");
    }

	CreateControl("RXFC101", "BUTTON")
	{
	    ColorGroup("RXPF101");
		Pos(35, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC101");
    }

	CreateControl("RXFC102", "BUTTON")
	{
	    ColorGroup("RXPF102");
		Pos(25, 50);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC102");
    }
////////
	CreateControl("RXFC103", "BUTTON")
	{
	    ColorGroup("RXPF103");
		Pos(110, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC103");
    }

	CreateControl("RXFC104", "BUTTON")
	{
	    ColorGroup("RXPF104");
		Pos(100, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC104");
    }

	CreateControl("RXFC105", "BUTTON")
	{
	    ColorGroup("RXPF105");
		Pos(90, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC105");
    }

	CreateControl("RXFC106", "BUTTON")
	{
	    ColorGroup("RXPF106");
		Pos(80, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC106");
    }

	CreateControl("RXFC107", "BUTTON")
	{
	    ColorGroup("RXPF107");
		Pos(70, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC107");
    }

	CreateControl("RXFC108", "BUTTON")
	{
	    ColorGroup("RXPF108");
		Pos(60, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC108");
    }

	CreateControl("RXFC109", "BUTTON")
	{
	    ColorGroup("RXPF109");
		Pos(50, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC109");
    }

	CreateControl("RXFC110", "BUTTON")
	{
	    ColorGroup("RXPF110");
		Pos(40, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC110");
    }

	CreateControl("RXFC111", "BUTTON")
	{
	    ColorGroup("RXPF111");
		Pos(30, 40);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC111");
    }
/////////
	CreateControl("RXFC112", "BUTTON")
	{
	    ColorGroup("RXPF112");
		Pos(105, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC112");
    }

	CreateControl("RXFC113", "BUTTON")
	{
	    ColorGroup("RXPF113");
		Pos(95, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC113");
    }

	CreateControl("RXFC114", "BUTTON")
	{
	    ColorGroup("RXPF114");
		Pos(85, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC114");
    }

	CreateControl("RXFC115", "BUTTON")
	{
	    ColorGroup("RXPF115");
		Pos(75, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC115");
    }

	CreateControl("RXFC116", "BUTTON")
	{
	    ColorGroup("RXPF116");
		Pos(65, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC116");
    }

	CreateControl("RXFC117", "BUTTON")
	{
	    ColorGroup("RXPF117");
		Pos(55, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC117");
    }

	CreateControl("RXFC118", "BUTTON")
	{
	    ColorGroup("RXPF118");
		Pos(45, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC118");
    }

	CreateControl("RXFC119", "BUTTON")
	{
	    ColorGroup("RXPF119");
		Pos(35, 30);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC119");
    }
//////////////
	CreateControl("RXFC120", "BUTTON")
	{
	    ColorGroup("RXPF120");
		Pos(100, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC120");
    }

	CreateControl("RXFC121", "BUTTON")
	{
	    ColorGroup("RXPF121");
		Pos(90, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC121");
    }

	CreateControl("RXFC122", "BUTTON")
	{
	    ColorGroup("RXPF122");
		Pos(80, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC122");
    }

	CreateControl("RXFC123", "BUTTON")
	{
	    ColorGroup("RXPF123");
		Pos(70, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC123");
    }

	CreateControl("RXFC124", "BUTTON")
	{
	    ColorGroup("RXPF124");
		Pos(60, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC124");
    }

	CreateControl("RXFC125", "BUTTON")
	{
	    ColorGroup("RXPF125");
		Pos(50, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC125");
    }

	CreateControl("RXFC126", "BUTTON")
	{
	    ColorGroup("RXPF126");
		Pos(40, 20);
		Size(0, 5);
		BorderSize(5);
		BevelSize(5);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC126");
    }
////////////////
// Greys
////////////////

	CreateControl("RXFC127", "BUTTON")
	{
	    ColorGroup("RXPF127");
		Pos(134, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC127");
    }

	CreateControl("RXFC128", "BUTTON")
	{
	    ColorGroup("RXPF128");
		Pos(126, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC128");
    }

	CreateControl("RXFC129", "BUTTON")
	{
	    ColorGroup("RXPF129");
		Pos(118, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC129");
    }

	CreateControl("RXFC130", "BUTTON")
	{
	    ColorGroup("RXPF130");
		Pos(110, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC130");
    }

	CreateControl("RXFC131", "BUTTON")
	{
	    ColorGroup("RXPF131");
		Pos(102, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC131");
    }

	CreateControl("RXFC132", "BUTTON")
	{
	    ColorGroup("RXPF132");
		Pos(94, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC132");
    }

	CreateControl("RXFC133", "BUTTON")
	{
	    ColorGroup("RXPF133");
		Pos(86, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC133");
    }

	CreateControl("RXFC134", "BUTTON")
	{
	    ColorGroup("RXPF134");
		Pos(78, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC134");
    }

	CreateControl("RXFC135", "BUTTON")
	{
	    ColorGroup("RXPF135");
		Pos(70, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC135");
    }

	CreateControl("RXFC136", "BUTTON")
	{
	    ColorGroup("RXPF136");
		Pos(62, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC136");
    }

	CreateControl("RXFC137", "BUTTON")
	{
	    ColorGroup("RXPF137");
		Pos(54, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC137");
    }

	CreateControl("RXFC138", "BUTTON")
	{
	    ColorGroup("RXPF138");
		Pos(46, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC138");
    }

	CreateControl("RXFC139", "BUTTON")
	{
	    ColorGroup("RXPF139");
		Pos(38, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC139");
    }

	CreateControl("RXFC140", "BUTTON")
	{
	    ColorGroup("RXPF140");
		Pos(30, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC140");
    }

	CreateControl("RXFC141", "BUTTON")
	{
	    ColorGroup("RXPF141");
		Pos(22, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC141");
    }

	CreateControl("RXFC142", "BUTTON")
	{
	    ColorGroup("RXPF142");
		Pos(14, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXFC142");
    }

    OnEvent("RXFC001")
	
	{	    
		Cmd("sky.fogcolor 255 255 255");
	}	

    OnEvent("RXFC002")
	{
	    Cmd("sky.fogcolor 255 233 233");
	}	
	OnEvent("RXFC003")
	{
		Cmd("sky.fogcolor 255 160 160");
	}
	OnEvent("RXFC004")
	{
		Cmd("sky.fogcolor 255 87 87");
		
	}
	OnEvent("RXFC005")
	{
		Cmd("sky.fogcolor 255 14 14");
		
	}
	OnEvent("RXFC006")
	{
		Cmd("sky.fogcolor 196 0 0");
	}
	OnEvent("RXFC007")
	{
		Cmd("sky.fogcolor 123 0 0");
		
	}
	OnEvent("RXFC008")
	{
		Cmd("sky.fogcolor 233 255 255");
		
	}
    OnEvent("RXFC009")
	{
		Cmd("sky.fogcolor 160 255 255");
		
 	}
    OnEvent("RXFC010")
	{
		Cmd("sky.fogcolor 87 255 255");
		
	}
    OnEvent("RXFC011")
	{
		Cmd("sky.fogcolor 14 255 255");
		
	}
    OnEvent("RXFC012")
	{
		Cmd("sky.fogcolor 0 196 196");
		
	}
    OnEvent("RXFC013")
	{
		Cmd("sky.fogcolor 0 123 123");
		
	}
	
    OnEvent("RXFC014")
	{
		Cmd("sky.fogcolor 255 233 254");
		
	}
	OnEvent("RXFC015")
	{
		Cmd("sky.fogcolor 255 160 206");
		
	}
    OnEvent("RXFC016")
	{
		Cmd("sky.fogcolor 255 87 137");
		
	}
    OnEvent("RXFC017")
	{
		Cmd("sky.fogcolor 255 14 66");
		
	}
    OnEvent("RXFC018")
	{
		Cmd("sky.fogcolor 196 0 32");
		
	}
    OnEvent("RXFC019")
	{
		Cmd("sky.fogcolor 123 0 16");
		
	}
    OnEvent("RXFC020")
	{
		Cmd("sky.fogcolor 233 233 255");
		
	}
    OnEvent("RXFC021")
	{
		Cmd("sky.fogcolor 160 207 255");
		
	}
    OnEvent("RXFC022")
	{
		Cmd("sky.fogcolor 87 201 255");
		
	}
    OnEvent("RXFC023")
	{
		Cmd("sky.fogcolor 14 198 255");
		
	}
    OnEvent("RXFC024")
	{
		Cmd("sky.fogcolor 0 160 196");
		
	}
	OnEvent("RXFC025")
	{
		Cmd("sky.fogcolor 0 105 123");
		
	}
	OnEvent("RXFC025b")
	{
		Cmd("sky.fogcolor 123 16 0");
		
	}
	OnEvent("RXFC026")
	{
		Cmd("sky.fogcolor 196 32 0");
		
	}
	OnEvent("RXFC027")
	{
		Cmd("sky.fogcolor 255 66 14");
		
	}
	OnEvent("RXFC028")
	{
		Cmd("sky.fogcolor 255 137 87");
		
	}
	OnEvent("RXFC029")
	{
		Cmd("sky.fogcolor 255 206 160");
		
	}
	OnEvent("RXFC030")
	{
		Cmd("sky.fogcolor 255 254 233");
		
	}
	OnEvent("RXFC031")
	{
		Cmd("sky.fogcolor 233 255 233");
		
	}
	OnEvent("RXFC032")
	{
		Cmd("sky.fogcolor 160 255 207");
		
	}
	OnEvent("RXFC033")
	{
		Cmd("sky.fogcolor 87 255 201");
		
	}
	OnEvent("RXFC034")
	{
		Cmd("sky.fogcolor 14 255 198");
		
	}
	OnEvent("RXFC035")
	{
		Cmd("sky.fogcolor 0 196 160");
		
	}
	OnEvent("RXFC036")
	{
		Cmd("sky.fogcolor 0 123 105");
		
	}
	OnEvent("RXFC037")
	{
		Cmd("sky.fogcolor 123 37 0");
		
	}
	OnEvent("RXFC038")
	{
		Cmd("sky.fogcolor 196 75 0");
		
	}
	OnEvent("RXFC039")
	{
		Cmd("sky.fogcolor 255 130 14");
		
	}
	OnEvent("RXFC040")
	{
		Cmd("sky.fogcolor 255 199 87");
		
	}
	OnEvent("RXFC041")
	{
		Cmd("sky.fogcolor 255 253 160");
		
	}
	OnEvent("RXFC042")
	{
		Cmd("sky.fogcolor 207 255 160");
		
	}
	OnEvent("RXFC043")
	{
		Cmd("sky.fogcolor 160 255 160");
		
	}
	OnEvent("RXFC044")
	{
		Cmd("sky.fogcolor 87 255 140");
		
	}
	OnEvent("RXFC045")
	{
		Cmd("sky.fogcolor 14 255 134");
		
	}
	OnEvent("RXFC046")
	{
		Cmd("sky.fogcolor 0 196 118");
		
	}
	OnEvent("RXFC047")
	{
		Cmd("sky.fogcolor 0 123 84");
		
	}

/////

	OnEvent("RXFC048")
	{
		Cmd("sky.fogcolor 123 59 0");
		
	}
	OnEvent("RXFC049")
	{
		Cmd("sky.fogcolor 196 118 0");
		
	}
	OnEvent("RXFC050")
	{
		Cmd("sky.fogcolor 255 194 14");
		
	}
	OnEvent("RXFC051")
	{
		Cmd("sky.fogcolor 255 252 87");
		
	}
	OnEvent("RXFC052")
	{
		Cmd("sky.fogcolor 204 255 87");
		
	}
	OnEvent("RXFC053")
	{
		Cmd("sky.fogcolor 140 255 87");
		
	}
	OnEvent("RXFC054")
	{
		Cmd("sky.fogcolor 87 255 87");
		
	}
	OnEvent("RXFC055")
	{
		Cmd("sky.fogcolor 14 255 70");
		
	}
	OnEvent("RXFC056")
	{
		Cmd("sky.fogcolor 0 196 75");
		
	}
	OnEvent("RXFC057")
	{
		Cmd("sky.fogcolor 0 123 61");
		
	}

/////

	OnEvent("RXFC058")
	{
		Cmd("sky.fogcolor 123 82 0");
		
	}
	OnEvent("RXFC059")
	{
		Cmd("sky.fogcolor 196 157 0");
		
	}
	OnEvent("RXFC060")
	{
		Cmd("sky.fogcolor 255 250 14");
		
	}
	OnEvent("RXFC061")
	{
		Cmd("sky.fogcolor 202 255 14");
		
	}
	OnEvent("RXFC062")
	{
		Cmd("sky.fogcolor 134 255 14");
		
	}
	OnEvent("RXFC063")
	{
		Cmd("sky.fogcolor 70 255 14");
		
	}
	OnEvent("RXFC064")
	{
		Cmd("sky.fogcolor 14 255 14");
		
	}
	OnEvent("RXFC065")
	{
		Cmd("sky.fogcolor 0 196 36");
		
	}
	OnEvent("RXFC066")
	{
		Cmd("sky.fogcolor 0 123 39");
		
	}

//////

	OnEvent("RXFC067")
	{
		Cmd("sky.fogcolor 123 103 0");
		
	}
	OnEvent("RXFC068")
	{
		Cmd("sky.fogcolor 196 193 0");
		
	}
	OnEvent("RXFC069")
	{
		Cmd("sky.fogcolor 163 196 0");
		
	}
	OnEvent("RXFC070")
	{
		Cmd("sky.fogcolor 121 196 0");
		
	}
	OnEvent("RXFC071")
	{
		Cmd("sky.fogcolor 78 196 0");
		
	}
	OnEvent("RXFC072")
	{
		Cmd("sky.fogcolor 36 196 0");
		
	}
	OnEvent("RXFC073")
	{
		Cmd("sky.fogcolor 0 196 0");
		
	}
	OnEvent("RXFC074")
	{
		Cmd("sky.fogcolor 0 123 18");
		
	}

////////

	OnEvent("RXFC075")
	{
		Cmd("sky.fogcolor 123 121 0");
		
	}
	OnEvent("RXFC076")
	{
		Cmd("sky.fogcolor 107 123 0");
		
	}
	OnEvent("RXFC077")
	{
		Cmd("sky.fogcolor 86 123 0");
		
	}
	OnEvent("RXFC078")
	{
		Cmd("sky.fogcolor 61 123 0");
		
	}
	OnEvent("RXFC079")
	{
		Cmd("sky.fogcolor 39 123 0");
		
	}
	OnEvent("RXFC080")
	{
		Cmd("sky.fogcolor 18 123 0");
		
	}
	OnEvent("RXFC081")
	{
		Cmd("sky.fogcolor 0 123 0");
		
	}

///////

	OnEvent("RXFC082")
	{
		Cmd("sky.fogcolor 123 0 37");
		
	}
	OnEvent("RXFC083")
	{
		Cmd("sky.fogcolor 196 0 75");
		
	}
	OnEvent("RXFC084")
	{
		Cmd("sky.fogcolor 255 14 130");
		
	}
	OnEvent("RXFC085")
	{
		Cmd("sky.fogcolor 255 87 199");
		
	}
	OnEvent("RXFC086")
	{
		Cmd("sky.fogcolor 255 160 253");
		
	}
	OnEvent("RXFC087")
	{
		Cmd("sky.fogcolor 207 160 255");
		
	}
	OnEvent("RXFC088")
	{
		Cmd("sky.fogcolor 160 160 255");
	
	}
	OnEvent("RXFC089")
	{
		Cmd("sky.fogcolor 87 140 255");
		
	}
	OnEvent("RXFC090")
	{
		Cmd("sky.fogcolor 14 134 255");
		
	}
	OnEvent("RXFC091")
	{
		Cmd("sky.fogcolor 0 118 196");
		
	}
	OnEvent("RXFC092")
	{
		Cmd("sky.fogcolor 0 84 123");
		
	}

//////

	OnEvent("RXFC093")
	{
		Cmd("sky.fogcolor 123 0 59");
		
	}
	OnEvent("RXFC094")
	{
		Cmd("sky.fogcolor 196 0 118");
		
	}
	OnEvent("RXFC095")
	{
		Cmd("sky.fogcolor 255 14 194");
		
	}
	OnEvent("RXFC096")
	{
		Cmd("sky.fogcolor 255 87 252");
		
	}
	OnEvent("RXFC097")
	{
		Cmd("sky.fogcolor 204 87 255");
	
	}
	OnEvent("RXFC098")
	{
		Cmd("sky.fogcolor 140 87 255");
		
	}
	OnEvent("RXFC99")
	{
		Cmd("sky.fogcolor 87 87 255");
		
	}
	OnEvent("RXFC100")
	{
		Cmd("sky.fogcolor 140 70 255");
		
	}
	OnEvent("RXFC101")
	{
		Cmd("sky.fogcolor 0 75 196");
		
	}
	OnEvent("RXFC102")
	{
		Cmd("sky.fogcolor 0 61 123");
		
	}

///////

	OnEvent("RXFC103")
	{
		Cmd("sky.fogcolor 123 0 82");
		
	}
	OnEvent("RXFC104")
	{
		Cmd("sky.fogcolor 196 0 157");
		
	}
	OnEvent("RXFC105")
	{
		Cmd("sky.fogcolor 255 14 250");
		
	}
	OnEvent("RXFC106")
	{
		Cmd("sky.fogcolor 204 14 255");
		
	}
	OnEvent("RXFC107")
	{
		Cmd("sky.fogcolor 134 14 255");
		
	}
	OnEvent("RXFC108")
	{
		Cmd("sky.fogcolor 70 14 255");
		
	}
	OnEvent("RXFC109")
	{
		Cmd("sky.fogcolor 14 14 255");
		
	}
	OnEvent("RXFC110")
	{
		Cmd("sky.fogcolor 0 36 196");
		
	}
	OnEvent("RXFC111")
	{
		Cmd("sky.fogcolor 0 39 123");
		
	}

////////

	OnEvent("RXFC112")
	{
		Cmd("sky.fogcolor 123 0 103");
		
	}
	OnEvent("RXFC113")
	{
		Cmd("sky.fogcolor 196 0 193");
		
	}
	OnEvent("RXFC114")
	{
		Cmd("sky.fogcolor 163 0 196");
		
	}
	OnEvent("RXFC115")
	{
		Cmd("sky.fogcolor 121 0 196");
		
	}
	OnEvent("RXFC116")
	{
		Cmd("sky.fogcolor 78 0 196");
		
	}
	OnEvent("RXFC117")
	{
		Cmd("sky.fogcolor 36 0 196");
		
	}
	OnEvent("RXFC118")
	{
		Cmd("sky.fogcolor 0 0 196");
		
	}
	OnEvent("RXFC119")
	{
		Cmd("sky.fogcolor 0 18 123");
		
	}

////////

	OnEvent("RXFC120")
	{
		Cmd("sky.fogcolor 123 0 121");
		
	}
	OnEvent("RXFC121")
	{
		Cmd("sky.fogcolor 107 0 123");
		
	}
	OnEvent("RXFC122")
	{
		Cmd("sky.fogcolor 86 0 123");
		
	}
	OnEvent("RXFC123")
	{
		Cmd("sky.fogcolor 61 0 123");
		
	}
	OnEvent("RXFC124")
	{
		Cmd("sky.fogcolor 39 0 123");
		
	}
	OnEvent("RXFC125")
	{
		Cmd("sky.fogcolor 18 0 123");
		
	}
	OnEvent("RXFC126")
	{
		Cmd("sky.fogcolor 0 0 123");
		
	}

///////
//Greys
///////

	OnEvent("RXFC127")
	{
		Cmd("sky.fogcolor 0 0 0");
		
	}
	OnEvent("RXFC128")
	{
		Cmd("sky.fogcolor 30 30 30");
		
	}
	OnEvent("RXFC129")
	{
		Cmd("sky.fogcolor 45 45 45");
		
	}
	OnEvent("RXFC130")
	{
		Cmd("sky.fogcolor 60 60 60");
		
	}
	OnEvent("RXFC131")
	{
		Cmd("sky.fogcolor 75 75 75");
		
	}
	OnEvent("RXFC132")
	{
		Cmd("sky.fogcolor 90 90 90");
		
	}
	OnEvent("RXFC133")
	{
		Cmd("sky.fogcolor 105 105 105");
		
	}
	OnEvent("RXFC134")
	{
		Cmd("sky.fogcolor 120 120 120");
		
	}
	OnEvent("RXFC135")
	{
		Cmd("sky.fogcolor 135 135 135");
		
	}
	OnEvent("RXFC136")
	{
		Cmd("sky.fogcolor 150 150 150");
		
	}
	OnEvent("RXFC137")
	{
		Cmd("sky.fogcolor 165 165 165");
		
	}
	OnEvent("RXFC138")
	{
		Cmd("sky.fogcolor 180 180 180");
		
	}
	OnEvent("RXFC139")
	{
		Cmd("sky.fogcolor 195 195 195");
		
	}
	OnEvent("RXFC140")
	{
		Cmd("sky.fogcolor 210 210 210");
		
	}
	OnEvent("RXFC141")
	{
		Cmd("sky.fogcolor 225 225 225");
		
	}
	OnEvent("RXFC142")
	{
		Cmd("sky.fogcolor 240 240 240");
		
	}

}
	
	

//         by Lizard
// CREATE THE FOG EDITOR WINDOW
//
CreateControl("EditFog", "WINDOW")
{
	Pos(2, 10);
	Size(105, 451);

	ColorGroup("BACKGROUND");

///////////////////////////////////////////

	CreateControl("FogColorQP", "BUTTON")
	{
        ColorGroup("TVBUTTON1");
		Pos(10, 20);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Fog Color Palette");
		Cursor("Highlight");

		NotifyParent("Button::Press", "FogColorQP");
	}
//////////////////////////////////////////////////
	CreateControl("FograngeTitle", "STATIC")
	{
		Pos(10, 38);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Fog Range Select");
		Style("TRANSPARENT");
	}

	CreateControl("FogRange1", "BUTTON")
	{
		Pos(10, 57);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("100 - 200 m");
		Cursor("Highlight");

		NotifyParent("Button::Press", "FogRange1");
	}

	OnEvent("FogRange1")
	{
		Cmd("sky.fogrange 100 200");
	}

	CreateControl("FogRange2", "BUTTON")
	{
		Pos(10, 75);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("200 - 300 m");
		Cursor("Highlight");

		NotifyParent("Button::Press", "FogRange2");
	}

	OnEvent("FogRange2")
	{
		Cmd("sky.fogrange 200 300");
	}

	CreateControl("FogRange3", "BUTTON")
	{
		Pos(10, 93);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("300 - 400 m");
		Cursor("Highlight");

		NotifyParent("Button::Press", "FogRange3");
	}

	OnEvent("FogRange3")
	{
		Cmd("sky.fogrange 300 400");
	}
	CreateControl("FogRange4", "BUTTON")
	{
		Pos(10, 111);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("400 - 500 m");
		Cursor("Highlight");

		NotifyParent("Button::Press", "FogRange4");
	}

	OnEvent("FogRange4")
	{
		Cmd("sky.fogrange 400 500");
	}


	CreateControl("VisrangeTitle", "STATIC")
	{
		Pos(10, 129);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Draw Distance Select");
		Style("TRANSPARENT");
	}

	CreateControl("VisRange1", "BUTTON")
	{
		Pos(10, 149);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("150 m");
		Cursor("Highlight");

		NotifyParent("Button::Press", "VisRange1");
	}

	OnEvent("VisRange1")
	{
		Cmd("sky.visibilityrange 150");
	}

	CreateControl("VisRange2", "BUTTON")
	{
		Pos(10, 168);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("250 m");
		Cursor("Highlight");

		NotifyParent("Button::Press", "VisRange2");
	}

	OnEvent("VisRange2")
	{
		Cmd("sky.visibilityrange 250");
	}

	CreateControl("VisRange3", "BUTTON")
	{
		Pos(10, 187);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("350 m");
		Cursor("Highlight");

		NotifyParent("Button::Press", "VisRange3");
	}

	OnEvent("VisRange3")
	{
		Cmd("sky.visibilityrange 350");
	}

	CreateControl("VisRange4", "BUTTON")
	{
		Pos(10, 206);
		Size(80, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("450 m");
		Cursor("Highlight");

		NotifyParent("Button::Press", "VisRange4");
	}

	OnEvent("VisRange4")
	{
		Cmd("sky.visibilityrange 450");
	}

	CreateControl("GroundfogTitle", "STATIC")
	{
		Pos(10, 225);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Ground Fog Settings");
		Style("TRANSPARENT");
	}

	CreateControl("Fogheight1Title", "STATIC")
	{
		Pos(10, 245);
		Size(120, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("10 Above Height 0");
		Style("TRANSPARENT");
	}

	CreateControl("Fogheight1", "BUTTON")
	{
		Pos(3, 265);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thick");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight1");
	}

	OnEvent("Fogheight1")
	{
		Cmd("fog.height -50 10 1");
	}

	CreateControl("Fogheight2", "BUTTON")
	{
		Pos(40, 265);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Med");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight2");
	}

	OnEvent("Fogheight2")
	{
		Cmd("fog.height -50 10 .7");
	}

	CreateControl("Fogheight3", "BUTTON")
	{
		Pos(75, 265);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thin");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight3");
	}

	OnEvent("Fogheight3")
	{
		Cmd("fog.height -50 10 .4");
	}

	CreateControl("Fogheight2Title", "STATIC")
	{
		Pos(10, 284);
		Size(125, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("20 Above Height 0");
		Style("TRANSPARENT");
	}

	CreateControl("Fogheight4", "BUTTON")
	{
		Pos(3, 304);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thick");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight4");
	}

	OnEvent("Fogheight4")
	{
		Cmd("fog.height -50 20 1");
	}

	CreateControl("Fogheight5", "BUTTON")
	{
		Pos(40, 304);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Med");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight5");
	}

	OnEvent("Fogheight5")
	{
		Cmd("fog.height -50 20 .7");
	}

	CreateControl("Fogheight6", "BUTTON")
	{
		Pos(75, 304);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thin");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight6");
	}

	OnEvent("Fogheight6")
	{
		Cmd("fog.height -50 20 .4");
	}

	CreateControl("Fogheight3Title", "STATIC")
	{
		Pos(10, 323);
		Size(125, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("50 Above Height 0");
		Style("TRANSPARENT");
	}

	CreateControl("Fogheight7", "BUTTON")
	{
		Pos(3, 343);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thick");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight7");
	}

	OnEvent("Fogheight7")
	{
		Cmd("fog.height -50 50 1");
	}

	CreateControl("Fogheight8", "BUTTON")
	{
		Pos(40, 343);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Med");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight8");
	}

	OnEvent("Fogheight8")
	{
		Cmd("fog.height -50 50 .7");
	}

	CreateControl("Fogheight9", "BUTTON")
	{
		Pos(75, 343);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thin");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight9");
	}

	OnEvent("Fogheight9")
	{
		Cmd("fog.height -50 50 .4");
	}

	CreateControl("Fogheight4Title", "STATIC")
	{
		Pos(10, 362);
		Size(125, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("100 Above Height 0");
		Style("TRANSPARENT");
	}

	CreateControl("Fogheight10", "BUTTON")
	{
		Pos(3, 382);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thick");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight10");
	}

	OnEvent("Fogheight10")
	{
		Cmd("fog.height -50 100 1");
	}

	CreateControl("Fogheight11", "BUTTON")
	{
		Pos(40, 382);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Med");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight11");
	}

	OnEvent("Fogheight11")
	{
		Cmd("fog.height -50 100 .7");
	}

	CreateControl("Fogheight12", "BUTTON")
	{
		Pos(75, 382);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thin");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight12");
	}

	OnEvent("Fogheight12")
	{
		Cmd("fog.height -50 100 .4");
	}

	CreateControl("Fogheight5Title", "STATIC")
	{
		Pos(10, 401);
		Size(125, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("200 Above Height 0");
		Style("TRANSPARENT");
	}

	CreateControl("Fogheight13", "BUTTON")
	{
		Pos(3, 421);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thick");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight13");
	}

	OnEvent("Fogheight13")
	{
		Cmd("fog.height -50 200 1");
	}

	CreateControl("Fogheight14", "BUTTON")
	{
		Pos(40, 421);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Med");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight14");
	}

	OnEvent("Fogheight14")
	{
		Cmd("fog.height -50 200 .7");
	}

	CreateControl("Fogheight15", "BUTTON")
	{
		Pos(75, 421);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Thin");
		Cursor("Highlight");

		NotifyParent("Button::Press", "Fogheight15");
	}

	OnEvent("Fogheight15")
	{
		Cmd("fog.height -50 200 .4");
	}

	OnEvent("Control::Deactivate")
	{
	   Deactivate("|FColor");	 
	}
	
	OnEvent("None")
	{
	   Deactivate("|FColor");	   
	}
	
	OnEvent("FogColorQP")
	{
	   Activate("|FColor");	   
	}


}