
static SHORT BorderVectors2[] = {
	-2,-1,
	37,-1,
	37,12,
	-2,12,
	-2,-1,
	-1,-2,
	36,-2,
	36,13,
	-1,13,
	-1,-2
};
static struct Border Border2 = {
	9,95,
	1,2,JAM1,
	10,
	BorderVectors2,
	NULL
};

static SHORT BorderVectors1[] = {
	-2,-1,
	37,-1,
	37,12,
	-2,12,
	-2,-1,
	-1,-2,
	36,-2,
	36,13,
	-1,13,
	-1,-2
};
static struct Border Border1 = {
	155,95,
	1,2,JAM1,
	10,
	BorderVectors1,
	&Border2
};

static struct Gadget Gadget12 = {
	NULL,
	0,0,
	1,1,
	GADGHBOX+GADGHIMAGE,
	NULL,
	BOOLGADGET,
	(APTR)&Border1,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL
};

static SHORT BorderVectors3[] = {
	0,0,
	58,0,
	58,12,
	0,12,
	0,0
};
static struct Border Border3 = {
	-2,-1,
	3,0,JAM1,
	5,
	BorderVectors3,
	NULL
};

static struct IntuiText IText1 = {
	3,0,JAM2,
	-1,2,
	NULL,
	"<-Again",
	NULL
};

static struct Gadget AgainGad = {
	&Gadget12,
	120,63,
	55,11,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border3,
	NULL,
	&IText1,
	NULL,
	NULL,
	50,
	NULL
};

static UBYTE UserNumSIBuff[4];
static struct StringInfo UserNumSInfo = {
	UserNumSIBuff,
	NULL,
	0,
	4,
	0,
	0,0,0,0,0,
	0,
	0,
	NULL
};

static SHORT BorderVectors4[] = {
	0,0,
	41,0,
	41,12,
	0,12,
	0,0
};
static struct Border Border4 = {
	-2,-1,
	3,0,JAM1,
	5,
	BorderVectors4,
	NULL
};

static struct IntuiText IText2 = {
	3,0,JAM2,
	-4,15,
	NULL,
	"Number",
	NULL
};

static struct Gadget UserNum = {
	&AgainGad,
	77,63,
	38,11,
	NULL,
	RELVERIFY+STRINGCENTER+LONGINT,
	STRGADGET,
	(APTR)&Border4,
	NULL,
	&IText2,
	NULL,
	(APTR)&UserNumSInfo,
	25,
	NULL
};

static SHORT BorderVectors5[] = {
	0,0,
	58,0,
	58,12,
	0,12,
	0,0
};
static struct Border Border5 = {
	-2,-1,
	3,0,JAM1,
	5,
	BorderVectors5,
	NULL
};

static struct IntuiText IText3 = {
	3,0,JAM2,
	0,2,
	NULL,
	"Clear->",
	NULL
};

static struct Gadget ClearGad = {
	&UserNum,
	96,96,
	55,11,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border5,
	NULL,
	&IText3,
	NULL,
	NULL,
	75,
	NULL
};

static SHORT BorderVectors6[] = {
	-2,-1,
	37,-1,
	37,12,
	-2,12,
	-2,-1,
	-1,-2,
	36,-2,
	36,13,
	-1,13,
	-1,-2
};
static struct Border Border6 = {
	0,0,
	3,2,JAM1,
	10,
	BorderVectors6,
	NULL
};

static struct IntuiText IText4 = {
	1,0,JAM1,
	6,2,
	NULL,
	"100",
	NULL
};

static struct Gadget Gadget8 = {
	&ClearGad,
	139,41,
	36,12,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border6,
	NULL,
	&IText4,
	NULL,
	NULL,
	100,
	NULL
};

static SHORT BorderVectors7[] = {
	-2,-1,
	25,-1,
	25,12,
	-2,12,
	-2,-1,
	-1,-2,
	24,-2,
	24,13,
	-1,13,
	-1,-2
};
static struct Border Border7 = {
	0,0,
	3,2,JAM1,
	10,
	BorderVectors7,
	NULL
};

static struct IntuiText IText5 = {
	1,0,JAM1,
	4,2,
	NULL,
	"20",
	NULL
};

static struct Gadget Gadget7 = {
	&Gadget8,
	101,41,
	24,12,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border7,
	NULL,
	&IText5,
	NULL,
	NULL,
	20,
	NULL
};

static SHORT BorderVectors8[] = {
	-2,-1,
	25,-1,
	25,12,
	-2,12,
	-2,-1,
	-1,-2,
	24,-2,
	24,13,
	-1,13,
	-1,-2
};
static struct Border Border8 = {
	0,0,
	3,2,JAM1,
	10,
	BorderVectors8,
	NULL
};

static struct IntuiText IText6 = {
	1,0,JAM1,
	4,2,
	NULL,
	"12",
	NULL
};

static struct Gadget Gadget6 = {
	&Gadget7,
	59,41,
	24,12,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border8,
	NULL,
	&IText6,
	NULL,
	NULL,
	12,
	NULL
};

static SHORT BorderVectors9[] = {
	-2,-1,
	25,-1,
	25,12,
	-2,12,
	-2,-1,
	-1,-2,
	24,-2,
	24,13,
	-1,13,
	-1,-2
};
static struct Border Border9 = {
	0,0,
	3,2,JAM1,
	10,
	BorderVectors9,
	NULL
};

static struct IntuiText IText7 = {
	1,0,JAM1,
	4,2,
	NULL,
	"10",
	NULL
};

static struct Gadget Gadget5 = {
	&Gadget6,
	20,41,
	24,12,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border9,
	NULL,
	&IText7,
	NULL,
	NULL,
	10,
	NULL
};

static SHORT BorderVectors10[] = {
	-2,-1,
	13,-1,
	13,12,
	-2,12,
	-2,-1,
	-1,-2,
	12,-2,
	12,13,
	-1,13,
	-1,-2
};
static struct Border Border10 = {
	0,0,
	3,2,JAM1,
	10,
	BorderVectors10,
	NULL
};

static struct IntuiText IText8 = {
	1,0,JAM1,
	2,2,
	NULL,
	"8",
	NULL
};

static struct Gadget Gadget4 = {
	&Gadget5,
	140,20,
	12,12,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border10,
	NULL,
	&IText8,
	NULL,
	NULL,
	8,
	NULL
};

static SHORT BorderVectors11[] = {
	-2,-1,
	13,-1,
	13,12,
	-2,12,
	-2,-1,
	-1,-2,
	12,-2,
	12,13,
	-1,13,
	-1,-2
};
static struct Border Border11 = {
	0,0,
	3,2,JAM1,
	10,
	BorderVectors11,
	NULL
};

static struct IntuiText IText9 = {
	1,0,JAM1,
	2,2,
	NULL,
	"6",
	NULL
};

static struct Gadget Gadget3 = {
	&Gadget4,
	105,20,
	12,12,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border11,
	NULL,
	&IText9,
	NULL,
	NULL,
	6,
	NULL
};

static SHORT BorderVectors12[] = {
	-2,-1,
	13,-1,
	13,12,
	-2,12,
	-2,-1,
	-1,-2,
	12,-2,
	12,13,
	-1,13,
	-1,-2
};
static struct Border Border12 = {
	0,0,
	3,2,JAM1,
	10,
	BorderVectors12,
	NULL
};

static struct IntuiText IText10 = {
	1,0,JAM1,
	2,2,
	NULL,
	"4",
	NULL
};

static struct Gadget Gadget2 = {
	&Gadget3,
	70,20,
	12,12,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border12,
	NULL,
	&IText10,
	NULL,
	NULL,
	4,
	NULL
};

static SHORT BorderVectors13[] = {
	-2,-1,
	13,-1,
	13,12,
	-2,12,
	-2,-1,
	-1,-2,
	12,-2,
	12,13,
	-1,13,
	-1,-2
};
static struct Border Border13 = {
	0,0,
	3,2,JAM1,
	10,
	BorderVectors13,
	NULL
};

static struct IntuiText IText11 = {
	1,0,JAM1,
	2,2,
	NULL,
	"2",
	NULL
};

static struct Gadget Gadget1 = {
	&Gadget2,
	35,20,
	12,12,
	NULL,
	RELVERIFY,
	BOOLGADGET,
	(APTR)&Border13,
	NULL,
	&IText11,
	NULL,
	NULL,
	2,
	NULL
};

#define GadgetList1 Gadget1

static struct IntuiText IText13 = {
	1,0,JAM2,
	153,85,
	NULL,
	"Total",
	NULL
};

static struct IntuiText IText12 = {
	1,0,JAM2,
	5,84,
	NULL,
	"Result",
	&IText13
};

#define IntuiTextList1 IText12

static struct NewWindow NewWindowStructure1 = {
	206,45,
	200,110,
	0,1,
	NULL,
	WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE,
	&Gadget1,
	NULL,
	"Random Numbers",
	NULL,
	NULL,
	200,110,
	200,110,
	WBENCHSCREEN
};
