require( "scripts/style.lua" );

Page1BottomTextFont = {
	oldsansblackFont,
	25,
	Color(0,0,0,255),
};

Page2TitleFont = {
	oldsansblackFont,
	30,
	Color(153,0,0,255),
};

TasksFont = {
	oldsansblackFont,
	15,
	Color(0,0,0,255),
};

YellowFont = {
	oldsansblackFont,
	15,
	Color(224,224,124,255),
};

TasksMiniFont = {
	oldsansblackFont,
	15,
	Color(0,0,0,255),
};

NewTasksFont = {
	oldsansblackFont,
	25,
	Color(0,0,0,255),
};

DayFont = {
	oldsansblackFont,
	55,
	Color(0,0,0,255),
};

--If you need to exchange index pages, DO NOT CHANGE THIS VALUES! 
--modify the button labels bellow (just search for titleW2 or any number... titleW#)
titleW1 = "tutorial_page1_1";
titleW2 = "disciplinemeter_title";
titleW3 = "ngf1d2title";
titleW4 = "ngf1d3title";
titleW5 = "ngf1d4title";
titleW6 = "tutorial_page2_1";
titleW7 = "ngsingleparenttxt1";
titleW8 = "tutorial_page3_1";
titleW9 = "ngnaptimetxt1";
titleW10 = "ngstopfight1";
titleW11 = "ngf2d6title";
titleW12 = "ngbarbecuetxt1";
titleW13 = "ngfamilytimetxt1";
--If you need to exchange index pages, DO NOT CHANGE THIS VALUES! 
--modify the button labels bellow

displaceyW1 = -100; --ok
displaceyW2 = 5; --ok
displaceyW3 = -25; --ok
displaceyW4 = -80; --ok
displaceyW5 = -145; --ok
displaceyW6 = 0; --ok
displaceyW7 = -95; --ok
displaceyW8 = 0; --ok
displaceyW9 = 0; --ok
displaceyW10 = -90;
displaceyW11 = 0;
displaceyW12 = -90;
displaceyW13 = 0;
displaceyW14 = -90;

MoveButtonsY = 90;

gCurScreen = 0;

function SetScreen( screen )

	 if screen == 1 then
		EnableWindow("helptext1",true)
		EnableWindow("helptext2",false)
		EnableWindow("helptext3",false)
		EnableWindow("helptext4",false)
		EnableWindow("helptext5",false)
		EnableWindow("helptext6",false)
		EnableWindow("helptext7",false)
		EnableWindow("helptext8",false)
		EnableWindow("helptext9",false)
		EnableWindow("helptext10",false)
		EnableWindow("helptext11",false)
		EnableWindow("helptext12",false)
	end
	
	if screen == 13 then
		screen = 1
	end
	
	if screen == 0 then
		screen = 12
	end
	EnableWindow("helptext"..gCurScreen ,false);
	EnableWindow("helptext"..screen ,true);

	gCurScreen = screen ;
	ChangeScreenTo( gCurScreen );
	
end

TextStyle=
{
	parent=DialogBodyText,
	x=0,y=46,w=kMax,h=kMax-80
};

MakeDialog
{
	-- Name the modal dialog
	alpha = 0.99,
	name="help",
	x=0,
	y=0,
	Help
	{
		alpha = 0.99,
		image="backgrounds/help_bg_2",
		x=0,
		y=0,
		
		
		Color1 = Color(0,200,255,255), 
		Color2 = Color(0,200,200,255),
		
		BeginGroup(),
		SetStyle( MenuButtonStyleOld ),
		Button
		{
			name="buttonW1",
			MenuButtonLabelOld("#1) "..GetString(titleW1),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 80,
			w = 280,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 1 ); end;
		},
		Button
		{
			name="buttonW2",
			MenuButtonLabelOld("#2) "..GetString(titleW2),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 110,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 2 ); end;
		},	
		Button
		{
			name="buttonW3",
			MenuButtonLabelOld("#3) "..GetString(titleW6),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 140,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 3 ); end;
		},		Button
		{
			name="buttonW4",
			MenuButtonLabelOld("#4) "..GetString(titleW8),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 170,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 4 ); end;
		},		Button
		{
			name="buttonW5",
			MenuButtonLabelOld("#5) "..GetString(titleW5),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 200,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 5 ); end;
		},		Button
		{
			name="buttonW6",
			MenuButtonLabelOld("#6) "..GetString(titleW3),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 230,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 6 ); end;
		},		
		Button
		{
			name="buttonW7",
			MenuButtonLabelOld("#7) "..GetString(titleW4),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 260,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 7 ); end;
		},		Button
		{
			name="buttonW8",
			MenuButtonLabelOld("#8) "..GetString(titleW9),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 290,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 8 ); end;
		},		Button
		{
			name="buttonW9",
			MenuButtonLabelOld("#9) "..GetString(titleW10),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 320,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 9 ); end;
		},		Button
		{
			name="buttonW10",
			MenuButtonLabelOld("#10) "..GetString(titleW11),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 350,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 10 ); end;
		},		Button
		{
			name="buttonW11",
			MenuButtonLabelOld("#11) "..GetString(titleW12),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 380,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 11 ); end;
		},		Button
		{
			name="buttonW12",
			MenuButtonLabelOld("#12) "..GetString(titleW13),  Color(153,0,0,100), Color(153,0,0,255), 20),
			--fit = true,
			type = kRadio,
			--type = kPush,
			x=130,
			y=MoveButtonsY + 410,
			w = 200,
			h = 22,
			--align=kHAlignLeft,
			command=function() SetScreen( 12 ); end;
		},
		
		
	-- Text
	-- {
		-- flags=kHAlignRight,
		-- x = 71,y = displacey +  kMax -65,		
		-- h = 20, w = 465,
		-- font = HelpTextFontMinus,
		-- label="helpnext",
	-- },
	-- Text
	-- {
		-- flags=kHAlignLeft,
		-- x = 71,y = displacey +  kMax -65,		
		-- h = 20, w = 465,
		-- font = HelpTextFontMinus,
		-- label="helpprev",
	-- },
		
		
		
		--WINDOW 1
		Window
		{
		displaceyW1 = 1000;
		--OrganizingToys
		align=kHAlignLeft + kVAlignTop,
		name = "helptext6",
		image = "gui/nanny_guide/common/nanny_manual",
		x = 0,
		y = 0,
		w=kMax,h=kMax,
		--fit = true,
		alpha = 0.99,
		Bitmap
		{
			name = "title",
			image = "gui/nanny_guide/common/title",
			x = 531,
			y = 203,
			scale = 1.00,
			SetStyle(DialogBodyText),
			Text
			{
				name = "title",
				label = "ngf1d2title",
				x = 72,
				y = 13,
				w = 280,
				h = 45,
				font = Page2TitleFont,
				flags = kHAlignCenter+kVAlignCenter,
			}
		},
		SetStyle(DialogBodyText),
		Bitmap
		{
			name = "figure1",
			image = "gui/nanny_guide/family1/day2/yellow_glow",
			x = 604,
			y = 319,
			scale = 1.00
		},
		Bitmap
		{
			name = "figure2",
			image = "gui/nanny_guide/family1/day2/arrow_box",
			x = 620,
			y = 532,
			scale = 1.00
		},
		-- SetStyle(DialogBodyText),
		-- Text
		-- {
			-- name = "text1",
			-- label = "ngf1d2text1",
			-- x = 572,
			-- y = displaceyW1 +  121,
			-- w = 220,
			-- h = 49,
			-- font = TasksFont,
			-- flags = kHAlignLeft+kVAlignTop,
		-- },
		SetStyle(DialogBodyText),
		Text
		{
			name = "text2",
			label = "ngf1d2text2",
			x = 575,
			y = 275,
			w = 350,
			h = 40,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text3",
			label = "ngf1d2text3",
			x = 576,
			y = 499,
			w = 363,
			h = 60,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text3",
			label = "ngf1d2text4",
			x = 564,
			y = 114,
			w = 363,
			h = 90,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},		SetStyle( MenuButtonStyle ),
		Button
		{
			name="quit",
			graphics = MediumButton2Graphics,
			MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
			fit = true,
			--align=kHAlignRight,
			x=800,y=10,
			close = true,
			--command=function() SetToCloseWindow(); end;
		},
		Button
		{
			name="back",
			graphics = MediumButton2Graphics,
			MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
			fit = true,
			x=100,y=710,
			command=function() SetScreen( gCurScreen-1 ); end;
		},
		Button
		{
			name="next",
			graphics = MediumButton2Graphics,
			MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
			fit = true,
			x=770,y=710,
			command=function() SetScreen( gCurScreen+1 ); end;
		},
			
	},
		
		
		
		
		
		--WINDOW 2
		Window
		{
		--Stress Meter
			displaceyW2 =  0;
			align=kHAlignLeft + kVAlignTop,
			name = "helptext2",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "disciplinemeter1",
				x = 556,
				y = 158,
				w = 371,
				h = 60,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text2",
				label = "disciplinemeter2",
				x = 551,
				y = 276,
				w = 371,
				h = 50,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text2",
				label = "disciplinemeter3",
				x = 549,
				y = 455,
				w = 371,
				h = 50,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text2",
				label = "disciplinemeter4",
				x = 548,
				y = 497,
				w = 371,
				h = 50,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text2",
				label = "disciplinemeter5",
				x = 552,
				y = 624,
				w = 371,
				h = 50,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "image9",
				image = "gui/nanny_guide/common/title",
				x = 538,
				y = 75,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					align=kHAlignLeft + kVAlignTop,
					name = "text2",
					label = "disciplinemeter_title",
					x = 57,
					y = 21,
					w = 330,
					h = 30,
					font = Page2TitleFont,
					flags = kHAlignCenter+kVAlignTop,
				},
			},
			Bitmap
			{
				name = "image1",
				image = "gui/nanny_guide/discipline_meter/image1",
				x = 627,
				y = 200,
				scale = 1.00
			},
			Bitmap
			{
				name = "image2",
				image = "gui/nanny_guide/discipline_meter/image2",
				x = 602,
				y = 314,
				scale = 1.00
			},
			Bitmap
			{
				name = "image3",
				image = "gui/nanny_guide/discipline_meter/image3",
				x = 635,
				y = 528,
				scale = 1.00
			},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
					
		
		
		
		
		--WINDOW 3
		Window
		{		
		--Barbecue
			displaceyW3 =  0;
			align=kHAlignLeft + kVAlignTop,
			name = "helptext11",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			Bitmap
			{
				name = "title",
				image = "gui/nanny_guide/common/title",
				x = 536,
				y = displaceyW3 +  94,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "title",
					label = "ngbarbecuetxt1",
					x = 25,
					y = 13,
					w = 280,
					h = 45,
					font = Page2TitleFont,
					flags = kHAlignCenter+kVAlignCenter,
				}
			},

			SetStyle(DialogBodyText),
			Bitmap
			{
				name = "figure1",
				image = "gui/nanny_guide/barbecue/figure1",
				x = 571,
				y = displaceyW3 +  211,
				scale = 1.00
			},
			Bitmap
			{
				name = "figure2",
				image = "gui/nanny_guide/barbecue/figure2",
				x = 573,
				y = displaceyW3 +  348,
				scale = 1.00
			},
			Bitmap
			{
				name = "figure3",
				image = "gui/nanny_guide/barbecue/figure3",
				x = 569,
				y = displaceyW3 +  520,
				scale = 1.00
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "ngbarbecuetxt2",
				x = 555,
				y = displaceyW3 +  190,
				w = 371,
				h = 29,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text3",
				label = "ngbarbecuetxt3",
				x = 547,
				y = displaceyW3 +  324,
				w = 363,
				h = 31,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text4",
				label = "ngbarbecuetxt4",
				x = 551,
				y = displaceyW3 +  458,
				w = 363,
				h = 50,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
								
		
		
		
		
		--WINDOW 4
		Window
		{		
		--Family time
			displaceyW4 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext12",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			Bitmap
			{
				name = "title",
				image = "gui/nanny_guide/common/title",
				x = 541,
				y = displaceyW4 +  147,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "title",
					label = "ngfamilytimetxt1",
					x = 25,
					y = 13,
					w = 280,
					h = 45,
					font = Page2TitleFont,
					flags = kHAlignCenter+kVAlignCenter,
				}
			},
			SetStyle(DialogBodyText),
			Bitmap
			{
				name = "figure1",
				image = "gui/nanny_guide/family_time/figure1",
				x = 661,
				y = displaceyW4 +  285,
				scale = 1.00
			},
			Bitmap
			{
				name = "figure2",
				image = "gui/nanny_guide/family_time/figure2",
				x = 645,
				y = displaceyW4 +  435,
				scale = 1.00
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "ngfamilytimetxt2",
				x = 553,
				y = displaceyW4 +  243,
				w = 371,
				h = 50,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text3",
				label = "ngfamilytimetxt3",
				x = 555,
				y = displaceyW4 +  413,
				w = 363,
				h = 31,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},		
		
		
		
		--WINDOW 6
		Window
		{	
		--Extra Goals
			displaceyW6 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext4",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
		SetStyle(DialogBodyText),
		Text
		{
			name = "text2",
			label = "tutorial_page3_2",
			x = 549,
			y = 163,
			w = 371,
			h = 30,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		Text
		{
			name = "text2",
			label = "tutorial_page3_7",
			x = 544,
			y = 296,
			w = 371,
			h = 50,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		Text
		{
			name = "text2",
			label = "tutorial_page3_8",
			x = 544,
			y = 351,
			w = 371,
			h = 50,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		Text
		{
			name = "text2",
			label = "tutorial_page3_9",
			x = 544,
			y = 407,
			w = 371,
			h = 50,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		Bitmap
		{
			name = "image3",
			image = "gui/nanny_guide/extra_goals/image1",
			x = 540,
			y = 191,
			scale = 1.00,
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page3_3",
				x = 49,
				y = 5,
				w = 100,
				h = 20,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignCenter,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page3_4",
				x = 61,
				y = 23,
				w = 160,
				h = 15,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text2",
				label = "tutorial_page3_5_5",
				x = 275,
				y = 36,
				w = 105,
				h = 15,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text2",
				label = "tutorial_page3_5_4",
				x = 275,
				y = 23,
				w = 105,
				h = 15,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text2",
				label = "tutorial_page3_5_3",
				x = 263,
				y = 5,
				w = 100,
				h = 20,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignCenter,
			},
			Text
			{
				name = "text2",
				label = "tutorial_page3_5_2",
				x = 61,
				y = 49,
				w = 160,
				h = 15,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page3_5",
				x = 61,
				y = 36,
				w = 160,
				h = 15,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text2",
				label = "tutorial_page3_6",
				x = 275,
				y = 49,
				w = 105,
				h = 15,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
		},
		Bitmap
		{
			align=kHAlignLeft + kVAlignTop,
			name = "image9",
			image = "gui/nanny_guide/common/title",
			x = 538,
			y = 75,
			scale = 1.00,
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page3_1",
				x = 55,
				y = 22,
				w = 330,
				h = 30,
				font = Page2TitleFont,
				flags = kHAlignCenter+kVAlignTop,
			},
		},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
								
		
		
		
		
		--WINDOW 7
		Window
		{
			--stop fight		
			displaceyW7 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext9",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			Bitmap
			{
				name = "title",
				image = "gui/nanny_guide/common/title",
				x = 529,
				y = displaceyW7 +  171,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "title",
					label = "ngstopfight1",
					x = 25,
					y = 13,
					w = 280,
					h = 45,
					font = Page2TitleFont,
					flags = kHAlignCenter+kVAlignCenter,
				}
			},
			SetStyle(DialogBodyText),
			Bitmap
			{
				name = "figure1",
				image = "gui/nanny_guide/stop_fight/figure1",
				x = 672,
				y = displaceyW7 +  309,
				scale = 1.00
			},
			Bitmap
			{
				name = "figure2",
				image = "gui/nanny_guide/stop_fight/figure2",
				x = 662,
				y = displaceyW7 +  519,
				scale = 1.00
			},
			-- SetStyle(DialogBodyText),
			-- Text
			-- {
				-- name = "text1",
				-- label = "ngstopfight2",
				-- x = 572,
				-- y = displaceyW7 +  121,
				-- w = 220,
				-- h = 49,
				-- font = TasksFont,
				-- flags = kHAlignLeft+kVAlignTop,
			-- },
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "ngstopfight3",
				x = 559,
				y = displaceyW7 +  258,
				w = 371,
				h = 60,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text3",
				label = "ngstopfight4",
				x = 559,
				y = displaceyW7 +  459,
				w = 363,
				h = 31,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Text
			{
				name = "text3",
				label = "ngstopfight5",
				x = 559,
				y = displaceyW7 +  684,
				w = 363,
				h = 31,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
		
		
		
		
		
		
		
		
		Window
		{	
		--Directing  the Parents
			displaceyW8 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext1",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			Text
			{
				name = "text2",
				label = "tutorial_page1_2",
				x = 564,
				y = 147,
				w = 371,
				h = 60,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page1_9",
				x = 552,
				y = 302,
					w = 390,
					h = 40,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignCenter,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page1_11",
				x = 550,
				y = 470,
				w = 390,
				h = 40,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "image1",
				image = "gui/nanny_guide/new_movement/image1",
				x = 545,
				y = 183,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page1_4",
					x = 65,
					y = 15,
					w = 140,
					h = 20,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
				Text
				{
					align=kHAlignLeft + kVAlignTop,
					name = "text2",
					label = "tutorial_page1_3",
					x = 51,
					y = 0,
					w = 140,
					h = 20,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
				Text
				{
					name = "text2",
					label = "tutorial_page1_7_2",
					x = 261,
					y = 15,
					w = 140,
					h = 20,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
				Text
				{
					name = "text2",
					label = "tutorial_page1_7_3",
					x = 262,
					y = 30,
					w = 140,
					h = 20,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
				Text
				{
					name = "text2",
					label = "tutorial_page1_7_4",
					x = 262,
					y = 45,
					w = 140,
					h = 20,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page1_5",
					x = 65,
					y = 30,
					w = 140,
					h = 20,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page1_6",
					x = 65,
					y = 45,
					w = 140,
					h = 20,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page1_7",
					x = 248,
					y = 1,
					w = 140,
					h = 20,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
			},
			Bitmap
			{
				name = "image2",
				image = "gui/nanny_guide/new_movement/image2",
				x = 550,
				y = 248,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page1_8",
					x = 7,
					y = 4,
					w = 360,
					h = 40,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
			},
			Bitmap
			{
				name = "image3",
				image = "gui/nanny_guide/new_movement/image5",
				x = 728,
				y = 410,
				scale = 1.00
			},
			Bitmap
			{
				name = "image4",
				image = "gui/nanny_guide/new_movement/image2",
				x = 549,
				y = 350,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page1_10",
					x = 3,
					y = 3,
					w = 370,
					h = 40,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignCenter,
				},
			},
			Bitmap
			{
				name = "image5",
				image = "gui/nanny_guide/new_movement/image3",
				x = 547,
				y = 408,
				scale = 1.00
			},
			Bitmap
			{
				name = "image6",
				image = "gui/nanny_guide/new_movement/image6",
				x = 548,
				y = 582,
				scale = 1.00
			},
			Bitmap
			{
				name = "image7",
				image = "gui/nanny_guide/new_movement/image2",
				x = 529,
				y = 516,
				scale = 1.05,
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page1_12",
					x = 5,
					y = 4,
					w = 390,
					h = 40,
					font = TasksFont,
					flags = kHAlignLeft+kVAlignTop,
				},
			},
			Bitmap
			{
				name = "image8",
				image = "gui/nanny_guide/new_movement/image8",
				x = 736,
				y = 582,
				scale = 1.00
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "image9",
				image = "gui/nanny_guide/common/title",
				x = 538,
				y = 75,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page1_1",
					x = 55,
					y = 22,
					w = 330,
					h = 30,
					font = Page2TitleFont,
					flags = kHAlignCenter+kVAlignTop,
				},
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "gTextWnd0001",
				label = "tutorial_page1_10_2",
				x = 603,
				y = 424,
				w = 127,
				h = 20,
				font = TasksFont,
				flags = kHAlignCenter+kVAlignCenter,
			},
			Text
			{
				name = "gTextWnd0001",
				label = "tutorial_page1_10_3",
				x = 785,
				y = 424,
				w = 127,
				h = 20,
				font = TasksFont,
				flags = kHAlignCenter+kVAlignCenter,
			},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
		
		
		
		
		
		
			
		
		
		Window
		{	
		--Changing diapers
			displaceyW10 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext7",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			Bitmap
		{
			name = "title",
			image = "gui/nanny_guide/common/title",
			x = 526,
			y = displaceyW10 +  164,
			scale = 1.00,
			SetStyle(DialogBodyText),
			Text
			{
				name = "title",
				label = "ngf1d3title",
				x = 25,
				y = 15,
				w = 280,
				h = 45,
				font = Page2TitleFont,
				flags = kHAlignCenter+kVAlignCenter,
			}
		},
		-- SetStyle(DialogBodyText),
		-- Text
		-- {
			-- name = "text1",
			-- label = "ngf1d3text1",
			-- x = 574,
			-- y = displaceyW10 +  136,
			-- w = 220,
			-- h = 49,
			-- font = TasksFont,
			-- flags = kHAlignLeft+kVAlignTop,
		-- },
		SetStyle(DialogBodyText),
		Text
		{
			name = "text2",
			label = "ngf1d3text2",
			x = 558,
			y = displaceyW10 +  246,
			w = 300,
			h = 60,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text3",
			label = "ngf1d3text3",
			x = 559,
			y = displaceyW10 +  303,
			w = 363,
			h = 31,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		Bitmap
		{
			name = "figure1",
			image = "gui/nanny_guide/family1/day3/grab_toddler",
			x = 576,
			y = displaceyW10 +  326,
			scale = 1.00
		},
		Bitmap
		{
			name = "figure2",
			image = "gui/nanny_guide/family1/day3/diaper_changer",
			x = 583,
			y = displaceyW10 +  533,
			scale = 1.00
		},
		Bitmap
		{
			name = "figure3",
			image = "gui/nanny_guide/family1/day3/dumping",
			x = 743,
			y = displaceyW10 +  558,
			scale = 1.00
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text4",
			label = "ngf1d3text4",
			x = 562,
			y = displaceyW10 +  473,
			w = 165,
			h = 84,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text5",
			label = "ngf1d3text5",
			x = 742,
			y = displaceyW10 +  471,
			w = 165,
			h = 84,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
	






	
		
		Window
		{	
		--Meal Time
			displaceyW11 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext5",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			Bitmap
		{
			name = "title",
			image = "gui/nanny_guide/common/title",
			x = 527,
			y = displaceyW11 +  76,
			scale = 1.00,
			SetStyle(DialogBodyText),
			Text
			{
				name = "title",
				label = "ngf1d4title",
				x = 25,
				y = 15,
				w = 280,
				h = 45,
				font = Page2TitleFont,
				flags = kHAlignCenter+kVAlignCenter,
			}
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text11",
			label = "ngmttext1",
			x = 540,
			y = displaceyW11 +  194,
			w = 250,
			h = 30,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text22",
			label = "ngmttext2",
			x = 542,
			y = displaceyW11 +  436,
			w = 250,
			h = 30,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text23",
			label = "ngmttext3",
			x = 542,
			y = displaceyW11 +  568,
			w = 250,
			h = 30,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text3",
			label = "#<b>1)</b>",
			x = 540,
			y = displaceyW11 +  209,
			w = 363,
			h = 31,
			font = TasksNumberFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		Text
		{
			name = "text3",
			label = "#<b>2)</b>",
			x = 540,
			y = displaceyW11 +  326,
			w = 363,
			h = 31,
			font = TasksNumberFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		Text
		{
			name = "text3",
			label = "#<b>3)</b>",
			x = 540,
			y = displaceyW11 +  455,
			w = 363,
			h = 31,
			font = TasksNumberFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		Text
		{
			name = "text3",
			label = "#<b>4)</b>",
			x = 540,
			y = displaceyW11 +  583,
			w = 363,
			h = 31,
			font = TasksNumberFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Bitmap
		{
			name = "figure1",
			image = "gui/nanny_guide/meal_time/figure_1",
			x = 570,
			y = displaceyW11 +  210,
			scale = 1.00
		},
		Bitmap
		{
			name = "figure2",
			image = "gui/nanny_guide/meal_time/figure_2",
			x = 570,
			y = displaceyW11 +  326,
			scale = 1.00
		},
		Bitmap
		{
			name = "figure3",
			image = "gui/nanny_guide/meal_time/figure_3",
			x = 570,
			y = displaceyW11 +  453,
			scale = 1.00
		},
		Bitmap
		{
			name = "figure4",
			image = "gui/nanny_guide/meal_time/figure_4",
			x = 570,
			y = displaceyW11 +  583,
			scale = 1.00
		},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
		
		
		
		
		
		
		
		Window
		{	
		--idle states
			displaceyW12 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext3",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page2_2",
				x = 564,
				y = 147,
				w = 371,
				h = 50,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page2_3",
				x = 575-15,
				y = 189,
				w = 180,
				h = 30,
				font = TasksFont,
				flags = kHAlignCenter+kVAlignCenter,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page2_4",
				x = 764-15,
				y = 189,
				w = 150,
				h = 30,
				font = TasksFont,
				flags = kHAlignCenter+kVAlignCenter,
			},		SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "tutorial_page2_5",
				x = 549,
				y = 419,
				w = 371,
				h = 50,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				name = "image3",
				image = "gui/nanny_guide/idle_states/image1",
				x = 581,
				y = 222,
				scale = 1.00
			},
			Bitmap
			{
				name = "image3",
				image = "gui/nanny_guide/idle_states/image2",
				x = 580,
				y = 470,
				scale = 1.00
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "image9",
				image = "gui/nanny_guide/common/title",
				x = 538,
				y = 75,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "text2",
					label = "tutorial_page2_1",
					x = 55,
					y = 22,
					w = 330,
					h = 30,
					font = Page2TitleFont,
					flags = kHAlignCenter+kVAlignTop,
				},
			},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
				{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
		
		
		
		
		
		
		
		
		Window
		{	
		--Study time
			displaceyW13 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext10",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			Bitmap
			{
				name = "title",
				image = "gui/nanny_guide/common/title",
				x = 522,
				y = displaceyW13 +  74,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "title",
					label = "ngf2d6title",
					x = 30,
					y = 14,
					w = 280,
					h = 45,
					font = Page2TitleFont,
					flags = kHAlignCenter+kVAlignCenter,
				}
			},
			Bitmap
			{
				name = "figure1",
				image = "gui/nanny_guide/study_time/figure_1",
				x = 581,
				y = displaceyW13 +  260,
				scale = 1.00
			},
			Bitmap
			{
				name = "figure2",
				image = "gui/nanny_guide/study_time/figure_2",
				x = 742,
				y = displaceyW13 +  247,
				scale = 1.00
			},
			Bitmap
			{
				name = "figure3",
				image = "gui/nanny_guide/study_time/figure_3",
				x = 560,
				y = displaceyW13 +  504,
				scale = 1.00
			},
			Bitmap
			{
				name = "figure4",
				image = "gui/nanny_guide/study_time/figure_4",
				x = 679,
				y = displaceyW13 +  503,
				scale = 1.00
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text1",
				label = "ngf2d6text1",
				x = 558,
				y = displaceyW13 +  182,
				w = 179,
				h = 62,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "ngf2d6text2",
				x = 743,
				y = displaceyW13 +  182,
				w = 173,
				h = 59,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text3",
				label = "ngf2d6text3",
				x = 559,
				y = displaceyW13 +  459,
				w = 114,
				h = 55,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text4",
				label = "ngf2d6text4",
				x = 678,
				y = displaceyW13 +  460,
				w = 241,
				h = 58,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
		
		
		
		
		
		
		
		Window
		{	
		--nap time
			displaceyW14 =  0;		
			align=kHAlignLeft + kVAlignTop,
			name = "helptext8",
			image = "gui/nanny_guide/common/nanny_manual",
			x = 0,
			y = 0,
			w=kMax,h=kMax,
			alpha = 0.99,
			Bitmap
			{
				name = "title",
				image = "gui/nanny_guide/common/title",
				x = 530,
				y = displaceyW14 + 161,
				scale = 1.00,
				SetStyle(DialogBodyText),
				Text
				{
					name = "title",
					label = "ngnaptimetxt1",
					x = 25,
					y = 13,
					w = 280,
					h = 45,
					font = Page2TitleFont,
					flags = kHAlignCenter+kVAlignCenter,
				}
			},
			SetStyle(DialogBodyText),
			Bitmap
			{
				name = "figure1",
				image = "gui/nanny_guide/nap_time/figure1",
				x = 675,
				y = displaceyW14 + 306,
				scale = 1.00
			},
			Bitmap
			{
				name = "figure2",
				image = "gui/nanny_guide/nap_time/figure2",
				x = 598,
				y = displaceyW14 + 525,
				scale = 1.00
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text2",
				label = "ngnaptimetxt3",
				x = 558,
				y = displaceyW14 + 260,
				w = 371,
				h = 60,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "text3",
				label = "ngnaptimetxt4",
				x = 559,
				y = displaceyW14 + 486,
				w = 363,
				h = 60,
				font = TasksFont,
				flags = kHAlignLeft+kVAlignTop,
			},
						SetStyle( MenuButtonStyle ),
			Button
			{
				name="quit",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "back", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				--align=kHAlignRight,
				x=800,y=10,
				close = true,
				--command=function() SetToCloseWindow(); end;
			},
			Button
			{
				name="back",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpprev", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=100,y=710,
				command=function() SetScreen( gCurScreen-1 ); end;
			},
			Button
			{
				name="next",
				graphics = MediumButton2Graphics,
				MenuButtonLabel(0, 0, 152, 34, "helpnext", oldsansblackFont, 24, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
				fit = true,
				x=770,y=710,
				command=function() SetScreen( gCurScreen+1 ); end;
			},
		},
		
		
	}
}

SetScreen(1);
