-- {GameFolder}\stat_garden.lua
-- this is automatic generated file! do not modify it!
-- script for nls15 window loader. version 1.50.
-- copyright (c) 2005-2007 rionix. all rights reserved.

function FillWindow(wnd)

	wnd:SetActive(true)
	wnd:SetModal(true)

	local ctrl

	ctrl = cFrameCtrl(wnd, "frame")
	ctrl:SetPos(291, 150, cCtrl.e_None)
	ctrl:SetSize(442, 538, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("gui_frame")
	ctrl:SetSize(256, 154, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.5000, 0.3027, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cButtonCtrl(wnd, "ok")
	ctrl:SetPos(433, 170, cCtrl.e_None)
	ctrl:SetSize(158, 65, cCtrl.e_None)
		ctrl:SetFontPrt("button24x24")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetText("Close")
	ctrl:SetSize(16, 16, cCtrl.e_frmBorder)
	ctrl:SetTexture("gui_main", cCtrl.e_btnNormal)
	ctrl:SetUVPos(0.0020, 0.8711, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.2500, 0.1289, cCtrl.e_btnNormal)
	ctrl:SetUVSize(0.0313, 0.0313, cCtrl.e_btnNormal + cCtrl.e_frmBorder)
	
	ctrl = cFrameCtrl(wnd, "caption")
	ctrl:SetPos(414, 628, cCtrl.e_None)
	ctrl:SetSize(196, 70, cCtrl.e_None)
	ctrl:SetUVPos(0.6758, 0.4141, cCtrl.e_None)
	ctrl:SetUVSize(0.3242, 0.1367, cCtrl.e_None)
	ctrl:SetTexture("gui_main")
	ctrl:SetSize(52, 0, cCtrl.e_frmBorder)
	ctrl:SetUVSize(0.1016, 0.0000, cCtrl.e_frmBorder)
	ctrl:DrawInnerRect(true)

	ctrl = cLabelSysCtrl(wnd, "noname")
	ctrl:SetPos(412, 652, cCtrl.e_None)
	ctrl:SetSize(200, 20, cCtrl.e_None)
		ctrl:SetFontPrt("header32x32")
	ctrl:SetColor(1.000, 1.000, 1.000)
	ctrl:SetAlign(cAlign.Center + cAlign.Middle)
	ctrl:SetText("Sold")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "plant00")
	ctrl:SetPos(330, 570, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_plant00")
	ctrl:SetPos(370, 570, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "plant01")
	ctrl:SetPos(330, 530, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_plant01")
	ctrl:SetPos(370, 530, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "plant02")
	ctrl:SetPos(330, 490, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_plant02")
	ctrl:SetPos(370, 490, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "plant03")
	ctrl:SetPos(330, 450, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_plant03")
	ctrl:SetPos(370, 450, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "plant04")
	ctrl:SetPos(470, 570, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_plant04")
	ctrl:SetPos(510, 570, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "plant05")
	ctrl:SetPos(470, 530, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_plant05")
	ctrl:SetPos(510, 530, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "plant06")
	ctrl:SetPos(470, 490, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_plant06")
	ctrl:SetPos(510, 490, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "plant07")
	ctrl:SetPos(470, 450, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_plant07")
	ctrl:SetPos(510, 450, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "product00")
	ctrl:SetPos(330, 370, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_product00")
	ctrl:SetPos(370, 370, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "product01")
	ctrl:SetPos(330, 330, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_product01")
	ctrl:SetPos(370, 330, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "product02")
	ctrl:SetPos(330, 290, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_product02")
	ctrl:SetPos(370, 290, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "product03")
	ctrl:SetPos(330, 250, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_product03")
	ctrl:SetPos(370, 250, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "product01_1")
	ctrl:SetPos(470, 330, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_product01_1")
	ctrl:SetPos(510, 330, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "product02_1")
	ctrl:SetPos(470, 290, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_product02_1")
	ctrl:SetPos(510, 290, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "product03_1")
	ctrl:SetPos(470, 250, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_product03_1")
	ctrl:SetPos(510, 250, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "ostrich")
	ctrl:SetPos(610, 570, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_ostrich")
	ctrl:SetPos(650, 570, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "goat")
	ctrl:SetPos(610, 530, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_goat")
	ctrl:SetPos(650, 530, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "hive")
	ctrl:SetPos(610, 490, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_hive")
	ctrl:SetPos(650, 490, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "peacock")
	ctrl:SetPos(610, 450, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_peacock")
	ctrl:SetPos(650, 450, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "egg")
	ctrl:SetPos(610, 370, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_egg")
	ctrl:SetPos(650, 370, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "milk")
	ctrl:SetPos(610, 330, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_milk")
	ctrl:SetPos(650, 330, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "honey")
	ctrl:SetPos(610, 290, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_honey")
	ctrl:SetPos(650, 290, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cImageCtrl(wnd, "nib")
	ctrl:SetPos(610, 250, cCtrl.e_None)
	ctrl:SetSize(32, 32, cCtrl.e_None)
	ctrl:SetUVPos(0.0000, 0.0000, cCtrl.e_None)
	ctrl:SetUVSize(1.0000, 1.0000, cCtrl.e_None)
	ctrl:SetTexture("")
	ctrl:EnableState(cCtrl.e_Ignorable)

	ctrl = cLabelSysCtrl(wnd, "num_nib")
	ctrl:SetPos(650, 250, cCtrl.e_None)
	ctrl:SetSize(50, 32, cCtrl.e_None)
		ctrl:SetFontPrt("text24x24")
	ctrl:SetColor(0.647, 0.000, 0.129)
	ctrl:SetAlign(cAlign.Left + cAlign.Middle)
	ctrl:SetText("x10")
	ctrl:EnableState(cCtrl.e_Ignorable)


end
