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

 CreateControl("SpriteColor", "WINDOW")
  {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	CreateControl("RXSP142", "BUTTON")
	{
	    ColorGroup("RXPF142");
		Pos(14, 160);
		Size(6, 12);
		BorderSize(0);
		BevelSize(0);
		Style("ROLLOVER");
       	Cursor("Highlight");
		NotifyParent("Button::Press", "RXSP142");
    }
	
	OnEvent("RXSP001")
	
	{	    
		Cmd("sprites.color 255 255 255");
	}	

    OnEvent("RXSP002")
	{
	    Cmd("sprites.color 255 233 233");
	}	
	OnEvent("RXSP003")
	{
		Cmd("sprites.color 255 160 160");
	}
	OnEvent("RXSP004")
	{
		Cmd("sprites.color 255 87 87");
		
	}
	OnEvent("RXSP005")
	{
		Cmd("sprites.color 255 14 14");
		
	}
	OnEvent("RXSP006")
	{
		Cmd("sprites.color 196 0 0");
	}
	OnEvent("RXSP007")
	{
		Cmd("sprites.color 123 0 0");
		
	}
	OnEvent("RXSP008")
	{
		Cmd("sprites.color 233 255 255");
		
	}
    OnEvent("RXSP009")
	{
		Cmd("sprites.color 160 255 255");
		
 	}
    OnEvent("RXSP010")
	{
		Cmd("sprites.color 87 255 255");
		
	}
    OnEvent("RXSP011")
	{
		Cmd("sprites.color 14 255 255");
		
	}
    OnEvent("RXSP012")
	{
		Cmd("sprites.color 0 196 196");
		
	}
    OnEvent("RXSP013")
	{
		Cmd("sprites.color 0 123 123");
		
	}
	
    OnEvent("RXSP014")
	{
		Cmd("sprites.color 255 233 254");
		
	}
	OnEvent("RXSP015")
	{
		Cmd("sprites.color 255 160 206");
		
	}
    OnEvent("RXSP016")
	{
		Cmd("sprites.color 255 87 137");
		
	}
    OnEvent("RXSP017")
	{
		Cmd("sprites.color 255 14 66");
		
	}
    OnEvent("RXSP018")
	{
		Cmd("sprites.color 196 0 32");
		
	}
    OnEvent("RXSP019")
	{
		Cmd("sprites.color 123 0 16");
		
	}
    OnEvent("RXSP020")
	{
		Cmd("sprites.color 233 233 255");
		
	}
    OnEvent("RXSP021")
	{
		Cmd("sprites.color 160 207 255");
		
	}
    OnEvent("RXSP022")
	{
		Cmd("sprites.color 87 201 255");
		
	}
    OnEvent("RXSP023")
	{
		Cmd("sprites.color 14 198 255");
		
	}
    OnEvent("RXSP024")
	{
		Cmd("sprites.color 0 160 196");
		
	}
	OnEvent("RXSP025")
	{
		Cmd("sprites.color 0 105 123");
		
	}
	OnEvent("RXSP025b")
	{
		Cmd("sprites.color 123 16 0");
		
	}
	OnEvent("RXSP026")
	{
		Cmd("sprites.color 196 32 0");
		
	}
	OnEvent("RXSP027")
	{
		Cmd("sprites.color 255 66 14");
		
	}
	OnEvent("RXSP028")
	{
		Cmd("sprites.color 255 137 87");
		
	}
	OnEvent("RXSP029")
	{
		Cmd("sprites.color 255 206 160");
		
	}
	OnEvent("RXSP030")
	{
		Cmd("sprites.color 255 254 233");
		
	}
	OnEvent("RXSP031")
	{
		Cmd("sprites.color 233 255 233");
		
	}
	OnEvent("RXSP032")
	{
		Cmd("sprites.color 160 255 207");
		
	}
	OnEvent("RXSP033")
	{
		Cmd("sprites.color 87 255 201");
		
	}
	OnEvent("RXSP034")
	{
		Cmd("sprites.color 14 255 198");
		
	}
	OnEvent("RXSP035")
	{
		Cmd("sprites.color 0 196 160");
		
	}
	OnEvent("RXSP036")
	{
		Cmd("sprites.color 0 123 105");
		
	}
	OnEvent("RXSP037")
	{
		Cmd("sprites.color 123 37 0");
		
	}
	OnEvent("RXSP038")
	{
		Cmd("sprites.color 196 75 0");
		
	}
	OnEvent("RXSP039")
	{
		Cmd("sprites.color 255 130 14");
		
	}
	OnEvent("RXSP040")
	{
		Cmd("sprites.color 255 199 87");
		
	}
	OnEvent("RXSP041")
	{
		Cmd("sprites.color 255 253 160");
		
	}
	OnEvent("RXSP042")
	{
		Cmd("sprites.color 207 255 160");
		
	}
	OnEvent("RXSP043")
	{
		Cmd("sprites.color 160 255 160");
		
	}
	OnEvent("RXSP044")
	{
		Cmd("sprites.color 87 255 140");
		
	}
	OnEvent("RXSP045")
	{
		Cmd("sprites.color 14 255 134");
		
	}
	OnEvent("RXSP046")
	{
		Cmd("sprites.color 0 196 118");
		
	}
	OnEvent("RXSP047")
	{
		Cmd("sprites.color 0 123 84");
		
	}

/////

	OnEvent("RXSP048")
	{
		Cmd("sprites.color 123 59 0");
		
	}
	OnEvent("RXSP049")
	{
		Cmd("sprites.color 196 118 0");
		
	}
	OnEvent("RXSP050")
	{
		Cmd("sprites.color 255 194 14");
		
	}
	OnEvent("RXSP051")
	{
		Cmd("sprites.color 255 252 87");
		
	}
	OnEvent("RXSP052")
	{
		Cmd("sprites.color 204 255 87");
		
	}
	OnEvent("RXSP053")
	{
		Cmd("sprites.color 140 255 87");
		
	}
	OnEvent("RXSP054")
	{
		Cmd("sprites.color 87 255 87");
		
	}
	OnEvent("RXSP055")
	{
		Cmd("sprites.color 14 255 70");
		
	}
	OnEvent("RXSP056")
	{
		Cmd("sprites.color 0 196 75");
		
	}
	OnEvent("RXSP057")
	{
		Cmd("sprites.color 0 123 61");
		
	}

/////

	OnEvent("RXSP058")
	{
		Cmd("sprites.color 123 82 0");
		
	}
	OnEvent("RXSP059")
	{
		Cmd("sprites.color 196 157 0");
		
	}
	OnEvent("RXSP060")
	{
		Cmd("sprites.color 255 250 14");
		
	}
	OnEvent("RXSP061")
	{
		Cmd("sprites.color 202 255 14");
		
	}
	OnEvent("RXSP062")
	{
		Cmd("sprites.color 134 255 14");
		
	}
	OnEvent("RXSP063")
	{
		Cmd("sprites.color 70 255 14");
		
	}
	OnEvent("RXSP064")
	{
		Cmd("sprites.color 14 255 14");
		
	}
	OnEvent("RXSP065")
	{
		Cmd("sprites.color 0 196 36");
		
	}
	OnEvent("RXSP066")
	{
		Cmd("sprites.color 0 123 39");
		
	}

//////

	OnEvent("RXSP067")
	{
		Cmd("sprites.color 123 103 0");
		
	}
	OnEvent("RXSP068")
	{
		Cmd("sprites.color 196 193 0");
		
	}
	OnEvent("RXSP069")
	{
		Cmd("sprites.color 163 196 0");
		
	}
	OnEvent("RXSP070")
	{
		Cmd("sprites.color 121 196 0");
		
	}
	OnEvent("RXSP071")
	{
		Cmd("sprites.color 78 196 0");
		
	}
	OnEvent("RXSP072")
	{
		Cmd("sprites.color 36 196 0");
		
	}
	OnEvent("RXSP073")
	{
		Cmd("sprites.color 0 196 0");
		
	}
	OnEvent("RXSP074")
	{
		Cmd("sprites.color 0 123 18");
		
	}

////////

	OnEvent("RXSP075")
	{
		Cmd("sprites.color 123 121 0");
		
	}
	OnEvent("RXSP076")
	{
		Cmd("sprites.color 107 123 0");
		
	}
	OnEvent("RXSP077")
	{
		Cmd("sprites.color 86 123 0");
		
	}
	OnEvent("RXSP078")
	{
		Cmd("sprites.color 61 123 0");
		
	}
	OnEvent("RXSP079")
	{
		Cmd("sprites.color 39 123 0");
		
	}
	OnEvent("RXSP080")
	{
		Cmd("sprites.color 18 123 0");
		
	}
	OnEvent("RXSP081")
	{
		Cmd("sprites.color 0 123 0");
		
	}

///////

	OnEvent("RXSP082")
	{
		Cmd("sprites.color 123 0 37");
		
	}
	OnEvent("RXSP083")
	{
		Cmd("sprites.color 196 0 75");
		
	}
	OnEvent("RXSP084")
	{
		Cmd("sprites.color 255 14 130");
		
	}
	OnEvent("RXSP085")
	{
		Cmd("sprites.color 255 87 199");
		
	}
	OnEvent("RXSP086")
	{
		Cmd("sprites.color 255 160 253");
		
	}
	OnEvent("RXSP087")
	{
		Cmd("sprites.color 207 160 255");
		
	}
	OnEvent("RXSP088")
	{
		Cmd("sprites.color 160 160 255");
	
	}
	OnEvent("RXSP089")
	{
		Cmd("sprites.color 87 140 255");
		
	}
	OnEvent("RXSP090")
	{
		Cmd("sprites.color 14 134 255");
		
	}
	OnEvent("RXSP091")
	{
		Cmd("sprites.color 0 118 196");
		
	}
	OnEvent("RXSP092")
	{
		Cmd("sprites.color 0 84 123");
		
	}

//////

	OnEvent("RXSP093")
	{
		Cmd("sprites.color 123 0 59");
		
	}
	OnEvent("RXSP094")
	{
		Cmd("sprites.color 196 0 118");
		
	}
	OnEvent("RXSP095")
	{
		Cmd("sprites.color 255 14 194");
		
	}
	OnEvent("RXSP096")
	{
		Cmd("sprites.color 255 87 252");
		
	}
	OnEvent("RXSP097")
	{
		Cmd("sprites.color 204 87 255");
	
	}
	OnEvent("RXSP098")
	{
		Cmd("sprites.color 140 87 255");
		
	}
	OnEvent("RXSP99")
	{
		Cmd("sprites.color 87 87 255");
		
	}
	OnEvent("RXSP100")
	{
		Cmd("sprites.color 140 70 255");
		
	}
	OnEvent("RXSP101")
	{
		Cmd("sprites.color 0 75 196");
		
	}
	OnEvent("RXSP102")
	{
		Cmd("sprites.color 0 61 123");
		
	}

///////

	OnEvent("RXSP103")
	{
		Cmd("sprites.color 123 0 82");
		
	}
	OnEvent("RXSP104")
	{
		Cmd("sprites.color 196 0 157");
		
	}
	OnEvent("RXSP105")
	{
		Cmd("sprites.color 255 14 250");
		
	}
	OnEvent("RXSP106")
	{
		Cmd("sprites.color 204 14 255");
		
	}
	OnEvent("RXSP107")
	{
		Cmd("sprites.color 134 14 255");
		
	}
	OnEvent("RXSP108")
	{
		Cmd("sprites.color 70 14 255");
		
	}
	OnEvent("RXSP109")
	{
		Cmd("sprites.color 14 14 255");
		
	}
	OnEvent("RXSP110")
	{
		Cmd("sprites.color 0 36 196");
		
	}
	OnEvent("RXSP111")
	{
		Cmd("sprites.color 0 39 123");
		
	}

////////

	OnEvent("RXSP112")
	{
		Cmd("sprites.color 123 0 103");
		
	}
	OnEvent("RXSP113")
	{
		Cmd("sprites.color 196 0 193");
		
	}
	OnEvent("RXSP114")
	{
		Cmd("sprites.color 163 0 196");
		
	}
	OnEvent("RXSP115")
	{
		Cmd("sprites.color 121 0 196");
		
	}
	OnEvent("RXSP116")
	{
		Cmd("sprites.color 78 0 196");
		
	}
	OnEvent("RXSP117")
	{
		Cmd("sprites.color 36 0 196");
		
	}
	OnEvent("RXSP118")
	{
		Cmd("sprites.color 0 0 196");
		
	}
	OnEvent("RXSP119")
	{
		Cmd("sprites.color 0 18 123");
		
	}

////////

	OnEvent("RXSP120")
	{
		Cmd("sprites.color 123 0 121");
		
	}
	OnEvent("RXSP121")
	{
		Cmd("sprites.color 107 0 123");
		
	}
	OnEvent("RXSP122")
	{
		Cmd("sprites.color 86 0 123");
		
	}
	OnEvent("RXSP123")
	{
		Cmd("sprites.color 61 0 123");
		
	}
	OnEvent("RXSP124")
	{
		Cmd("sprites.color 39 0 123");
		
	}
	OnEvent("RXSP125")
	{
		Cmd("sprites.color 18 0 123");
		
	}
	OnEvent("RXSP126")
	{
		Cmd("sprites.color 0 0 123");
		
	}

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

	OnEvent("RXSP127")
	{
		Cmd("sprites.color 0 0 0");
		
	}
	OnEvent("RXSP128")
	{
		Cmd("sprites.color 30 30 30");
		
	}
	OnEvent("RXSP129")
	{
		Cmd("sprites.color 45 45 45");
		
	}
	OnEvent("RXSP130")
	{
		Cmd("sprites.color 60 60 60");
		
	}
	OnEvent("RXSP131")
	{
		Cmd("sprites.color 75 75 75");
		
	}
	OnEvent("RXSP132")
	{
		Cmd("sprites.color 90 90 90");
		
	}
	OnEvent("RXSP133")
	{
		Cmd("sprites.color 105 105 105");
		
	}
	OnEvent("RXSP134")
	{
		Cmd("sprites.color 120 120 120");
		
	}
	OnEvent("RXSP135")
	{
		Cmd("sprites.color 135 135 135");
		
	}
	OnEvent("RXSP136")
	{
		Cmd("sprites.color 150 150 150");
		
	}
	OnEvent("RXSP137")
	{
		Cmd("sprites.color 165 165 165");
		
	}
	OnEvent("RXSP138")
	{
		Cmd("sprites.color 180 180 180");
		
	}
	OnEvent("RXSP139")
	{
		Cmd("sprites.color 195 195 195");
		
	}
	OnEvent("RXSP140")
	{
		Cmd("sprites.color 210 210 210");
		
	}
	OnEvent("RXSP141")
	{
		Cmd("sprites.color 225 225 225");
		
	}
	OnEvent("RXSP142")
	{
		Cmd("sprites.color 240 240 240");
		
	}
}
////////////////////////////////////
//         by Lizard
// CREATE THE SPRITES EDITOR WINDOW
////////////////////////////////////
//
CreateControl("EditSprites", "WINDOW")
{
	Pos(2, 10);
	Size(105, 555);

	ColorGroup("BACKGROUND");

	CreateControl("SpriteSelect", "STATIC")
	{
		Pos(5, 5);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Select Sprite");
		Style("TRANSPARENT");
	}

	CreateControl("SpriteSelect1", "BUTTON")
	{
		Pos(5, 25);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("1");
		Cursor("Highlight");

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

	OnEvent("SpriteSelect1")
	{
		Cmd("sprites.select 0");
	}

	CreateControl("SpriteSelect2", "BUTTON")
	{
		Pos(30, 25);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("2");
		Cursor("Highlight");

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

	OnEvent("SpriteSelect2")
	{
		Cmd("sprites.select 1");
	}

	CreateControl("SpriteSelect3", "BUTTON")
	{
		Pos(55, 25);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("3");
		Cursor("Highlight");

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

	OnEvent("SpriteSelect3")
	{
		Cmd("sprites.select 2");
	}

	CreateControl("SpriteSelect4", "BUTTON")
	{
		Pos(80, 25);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("4");
		Cursor("Highlight");

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

	OnEvent("SpriteSelect4")
	{
		Cmd("sprites.select 3");
	}

	CreateControl("SpriteSelect5", "BUTTON")
	{
		Pos(5, 45);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("5");
		Cursor("Highlight");

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

	OnEvent("SpriteSelect5")
	{
		Cmd("sprites.select 4");
	}

	CreateControl("SpriteSelect6", "BUTTON")
	{
		Pos(30, 45);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("6");
		Cursor("Highlight");

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

	OnEvent("SpriteSelect6")
	{
		Cmd("sprites.select 5");
	}

	CreateControl("SpriteSelect7", "BUTTON")
	{
		Pos(55, 45);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("5");
		Cursor("Highlight");

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

	OnEvent("SpriteSelect7")
	{
		Cmd("sprites.select 6");
	}

	CreateControl("SpriteSelect8", "BUTTON")
	{
		Pos(80, 45);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("8");
		Cursor("Highlight");

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

	OnEvent("SpriteSelect8")
	{
		Cmd("sprites.select 7");
	}

	CreateControl("SpriteTexture", "STATIC")
	{
		Pos(5, 65);
		Size(80, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Select Texture");
		Style("TRANSPARENT");
	}

	CreateControl("SpriteTexture1", "BUTTON")
	{
		Pos(5, 85);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Aur1");
		Cursor("Highlight");

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

	OnEvent("SpriteTexture1")
	{
		Cmd("sprites.texturename aurora1.tga");
	}


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

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

	OnEvent("SpriteTexture2")
	{
		Cmd("sprites.texturename aurora2.tga");
	}

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

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

	OnEvent("SpriteTexture3")
	{
		Cmd("sprites.texturename aurora3.tga");
	}


	CreateControl("SpriteTexture4", "BUTTON")
	{
		Pos(5, 105);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Aur4");
		Cursor("Highlight");

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

	OnEvent("SpriteTexture4")
	{
		Cmd("sprites.texturename aurora4.tga");
	}

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

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

	OnEvent("SpriteTexture5")
	{
		Cmd("sprites.texturename aurora5.tga");
	}

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

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

	OnEvent("SpriteTexture6")
	{
		Cmd("sprites.texturename twin.tga");
	}

	CreateControl("SpriteTexture7", "BUTTON")
	{
		Pos(5, 125);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Sat1");
		Cursor("Highlight");

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

	OnEvent("SpriteTexture7")
	{
		Cmd("sprites.texturename saturn.tga");
	}


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

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

	OnEvent("SpriteTexture8")
	{
		Cmd("sprites.texturename saturn2.tga");
	}

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

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

	OnEvent("SpriteTexture9")
	{
		Cmd("sprites.texturename pscharon.tga");
	}


	CreateControl("SpriteTexture10", "BUTTON")
	{
		Pos(5, 145);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Cmet");
		Cursor("Highlight");

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

	OnEvent("SpriteTexture10")
	{
		Cmd("sprites.texturename pscomet.tga");
	}

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

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

	OnEvent("SpriteTexture11")
	{
		Cmd("sprites.texturename psgalax1.tga");
	}

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

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

	OnEvent("SpriteTexture12")
	{
		Cmd("sprites.texturename psnebu01.tga");
	}

	CreateControl("SpriteTexture13", "BUTTON")
	{
		Pos(5, 165);
		Size(25, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Neb2");
		Cursor("Highlight");

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

	OnEvent("SpriteTexture13")
	{
		Cmd("sprites.texturename psnebu02.tga");
	}


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

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

	OnEvent("SpriteTexture14")
	{
		Cmd("sprites.texturename psnebu03.tga");
	}


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

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

	OnEvent("SpriteTexture15")
	{
		Cmd("sprites.texturename psnebu04.tga");
	}


	CreateControl("SpriteSize", "STATIC")
	{
		Pos(5, 185);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Select Sprite size");
		Style("TRANSPARENT");
	}

	CreateControl("SpriteSize1", "BUTTON")
	{
		Pos(5, 205);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("1");
		Cursor("Highlight");

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

	OnEvent("SpriteSize1")
	{
		Cmd("sprites.size 1");
	}

	CreateControl("SpriteSize2", "BUTTON")
	{
		Pos(30, 205);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("2");
		Cursor("Highlight");

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

	OnEvent("SpriteSize2")
	{
		Cmd("sprites.size 2");
	}


	CreateControl("SpriteSize3", "BUTTON")
	{
		Pos(55, 205);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("4");
		Cursor("Highlight");

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

	OnEvent("SpriteSize3")
	{
		Cmd("sprites.size 4");
	}

	CreateControl("SpriteSize4", "BUTTON")
	{
		Pos(80, 205);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("10");
		Cursor("Highlight");

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

	OnEvent("SpriteSize4")
	{
		Cmd("sprites.size 10");
	}

	CreateControl("SpriteSize5", "BUTTON")
	{
		Pos(5, 225);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("20");
		Cursor("Highlight");

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

	OnEvent("SpriteSize5")
	{
		Cmd("sprites.size 20");
	}


	CreateControl("SpriteSize6", "BUTTON")
	{
		Pos(30, 225);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("40");
		Cursor("Highlight");

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

	OnEvent("SpriteSize6")
	{
		Cmd("sprites.size 40");
	}


	CreateControl("SpriteSize7", "BUTTON")
	{
		Pos(55, 225);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("70");
		Cursor("Highlight");

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

	OnEvent("SpriteSize7")
	{
		Cmd("sprites.size 70");
	}

	CreateControl("SpriteSize8", "BUTTON")
	{
		Pos(80, 225);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("100");
		Cursor("Highlight");

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

	OnEvent("SpriteSize8")
	{
		Cmd("sprites.size 100");
	}

	CreateControl("SpriteRoll", "STATIC")
	{
		Pos(5, 245);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Rotate Sprite (degrees)");
		Style("TRANSPARENT");
	}


	CreateControl("SpriteRoll1", "BUTTON")
	{
		Pos(5, 265);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("0");
		Cursor("Highlight");

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

	OnEvent("SpriteRoll1")
	{
		Cmd("sprites.roll 0");
	}

	CreateControl("SpriteRoll2", "BUTTON")
	{
		Pos(30, 265);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("90");
		Cursor("Highlight");

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

	OnEvent("SpriteRoll2")
	{
		Cmd("sprites.roll 90");
	}

	CreateControl("SpriteRoll3", "BUTTON")
	{
		Pos(55, 265);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("180");
		Cursor("Highlight");

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

	OnEvent("SpriteRoll3")
	{
		Cmd("sprites.roll 180");
	}

	CreateControl("SpriteRoll4", "BUTTON")
	{
		Pos(80, 265);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("270");
		Cursor("Highlight");

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

	OnEvent("SpriteRoll4")
	{
		Cmd("sprites.roll 270");
	}

	CreateControl("SpriteAzim", "STATIC")
	{
		Pos(5, 285);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Sprite Azimuth ");
		Style("TRANSPARENT");
	}

	CreateControl("SpriteAzim1", "BUTTON")
	{
		Pos(5, 305);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("0");
		Cursor("Highlight");

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

	OnEvent("SpriteAzim1")
	{
		Cmd("sprites.azim 0");
	}

	CreateControl("SpriteAzim2", "BUTTON")
	{
		Pos(30, 305);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("45");
		Cursor("Highlight");

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

	OnEvent("SpriteAzim2")
	{
		Cmd("sprites.azim 45");
	}

	CreateControl("SpriteAzim3", "BUTTON")
	{
		Pos(55, 305);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("90");
		Cursor("Highlight");

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

	OnEvent("SpriteAzim3")
	{
		Cmd("sprites.azim 90");
	}

	CreateControl("SpriteAzim4", "BUTTON")
	{
		Pos(80, 305);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("135");
		Cursor("Highlight");

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

	OnEvent("SpriteAzim4")
	{
		Cmd("sprites.azim 135");
	}

	CreateControl("SpriteAzim5", "BUTTON")
	{
		Pos(5, 325);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("180");
		Cursor("Highlight");

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

	OnEvent("SpriteAzim5")
	{
		Cmd("sprites.azim 180");
	}


	CreateControl("SpriteAzim6", "BUTTON")
	{
		Pos(30, 325);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("225");
		Cursor("Highlight");

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

	OnEvent("SpriteAzim6")
	{
		Cmd("sprites.azim 225");
	}

	CreateControl("SpriteAzim7", "BUTTON")
	{
		Pos(55, 325);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("270");
		Cursor("Highlight");

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

	OnEvent("SpriteAzim7")
	{
		Cmd("sprites.azim 270");
	}


	CreateControl("SpriteAzim8", "BUTTON")
	{
		Pos(80, 325);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("315");
		Cursor("Highlight");

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

	OnEvent("SpriteAzim8")
	{
		Cmd("sprites.azim 315");
	}


	CreateControl("SpriteHeight", "STATIC")
	{
		Pos(5, 345);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Sprite Height ");
		Style("TRANSPARENT");
	}

	CreateControl("SpriteHeight1", "BUTTON")
	{
		Pos(5, 365);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("-20");
		Cursor("Highlight");

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

	OnEvent("SpriteHeight1")
	{
		Cmd("sprites.height -20");
	}

	CreateControl("SpriteHeight2", "BUTTON")
	{
		Pos(30, 365);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("-10");
		Cursor("Highlight");

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

	OnEvent("SpriteHeight2")
	{
		Cmd("sprites.height -10");
	}

	CreateControl("SpriteHeight3", "BUTTON")
	{
		Pos(55, 365);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("-5");
		Cursor("Highlight");

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

	OnEvent("SpriteHeight3")
	{
		Cmd("sprites.height -5");
	}

	CreateControl("SpriteHeight4", "BUTTON")
	{
		Pos(80, 365);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("0");
		Cursor("Highlight");

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

	OnEvent("SpriteHeight4")
	{
		Cmd("sprites.height 0");
	}

	CreateControl("SpriteHeight5", "BUTTON")
	{
		Pos(5, 385);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("5");
		Cursor("Highlight");

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

	OnEvent("SpriteHeight5")
	{
		Cmd("sprites.height 5");
	}

	CreateControl("SpriteHeight6", "BUTTON")
	{
		Pos(30, 385);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("10");
		Cursor("Highlight");

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

	OnEvent("SpriteHeight6")
	{
		Cmd("sprites.height 10");
	}

	CreateControl("SpriteHeight7", "BUTTON")
	{
		Pos(55, 385);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("15");
		Cursor("Highlight");

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

	OnEvent("SpriteHeight7")
	{
		Cmd("sprites.height 15");
	}


	CreateControl("SpriteHeight8", "BUTTON")
	{
		Pos(80, 385);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("20");
		Cursor("Highlight");

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

	OnEvent("SpriteHeight8")
	{
		Cmd("sprites.height 20");
	}

	CreateControl("SpriteElev", "STATIC")
	{
		Pos(5, 405);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Sprite Elevation ");
		Style("TRANSPARENT");
	
	}

	CreateControl("SpriteElev1", "BUTTON")
	{
		Pos(5, 425);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("10");
		Cursor("Highlight");

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

	OnEvent("SpriteElev1")
	{
		Cmd("sprites.elev 10");
	}


	CreateControl("SpriteElev2", "BUTTON")
	{
		Pos(30, 425);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("20");
		Cursor("Highlight");

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

	OnEvent("SpriteElev2")
	{
		Cmd("sprites.elev 20");
	}

	CreateControl("SpriteElev3", "BUTTON")
	{
		Pos(55, 425);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("35");
		Cursor("Highlight");

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

	OnEvent("SpriteElev3")
	{
		Cmd("sprites.elev 35");
	}


	CreateControl("SpriteElev4", "BUTTON")
	{
		Pos(80, 425);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("50");
		Cursor("Highlight");

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

	OnEvent("SpriteElev4")
	{
		Cmd("sprites.elev 50");
	}

	CreateControl("SpriteDist", "STATIC")
	{
		Pos(5, 445);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Sprite Distance ");
		Style("TRANSPARENT");
	
	}


	CreateControl("SpriteDist1", "BUTTON")
	{
		Pos(5, 465);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("100");
		Cursor("Highlight");

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

	OnEvent("SpriteDist1")
	{
		Cmd("sprites.distance 100");
	}


	CreateControl("SpriteDist2", "BUTTON")
	{
		Pos(30, 465);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("200");
		Cursor("Highlight");

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

	OnEvent("SpriteDist2")
	{
		Cmd("sprites.distance 200");
	}

	CreateControl("SpriteDist3", "BUTTON")
	{
		Pos(55, 465);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("500");
		Cursor("Highlight");

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

	OnEvent("SpriteDist3")
	{
		Cmd("sprites.distance 500");
	}

	CreateControl("SpriteDist4", "BUTTON")
	{
		Pos(80, 465);
		Size(15, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("900");
		Cursor("Highlight");

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

	OnEvent("SpriteDist4")
	{
		Cmd("sprites.distance 900");
	}

	CreateControl("SpriteMod", "STATIC")
	{
		Pos(5, 485);
		Size(100, 10);
		Font("TINY");
		JustifyText("LEFT");
		Text("Modulation");
		Style("TRANSPARENT");
	
	}

	CreateControl("SpriteMod1", "BUTTON")
	{
		Pos(5, 505);
		Size(40, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("ADD");
		Cursor("Highlight");

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

	OnEvent("SpriteMod1")
	{
		Cmd("sprites.modulate 1");
	}

	CreateControl("SpriteMod2", "BUTTON")
	{
		Pos(55, 505);
		Size(40, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("BLEND");
		Cursor("Highlight");

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

	OnEvent("SpriteMod2")
	{
		Cmd("sprites.modulate 0");
	}

	CreateControl("SpriteColor", "BUTTON")
	{
        ColorGroup("TVBUTTON1");
		Pos(5, 525);
		Size(85, 9);
		BorderSize(3);
		BevelSize(3);
		Font("TINY");
		Style("ROLLOVER", "OUTLINE");
       	Text("Sprite Color Palette");
		Cursor("Highlight");

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

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

}