ButtonNormal={0,0,149,38};
ButtonOver={0,41,149,41+38};
ButtonPressed={0,82,149,82+38};
ImageName="window1.png";
FontName="font4.fnt";

ButtonTextNormal=
{
	Font="font2.fnt",
	TextArea={0,6,148,25},
	HAlign="center",
};

ButtonTextOver=
{
	Font="font2.fnt",
	TextArea={0,6,148,25},
	HAlign="center",
};


ButtonTextPressed=
{
	Font="font2.fnt",
	TextArea={1,7,149,26},
	HAlign="center",
};

TimeIsUp=
{

	Pos={400-404/2,300-270/2},
	Image=ImageName,
	SrcRect={3,230,408,507},
	
	{
		Name="TimeIsUp_Title",
		Type="Text",	
		Caption="TIME IS UP",
		Font="Font5.fnt",
		TextArea={95,11,280,33},
		HAlign="center",
	},
	{
		Name="TimeIsUp_Text1",
		Type="Text",	
		Caption="You didn't finish the level",
		Font="Font8.fnt",
		TextArea={52,50,328,50+33},
		HAlign="center",
	},
	{
		Name="TimeIsUp_Text2",
		Type="Text",	
		Caption="within the allotted time.",
		Font="Font8.fnt",
		TextArea={52,50+30,328,50+33+30},
		HAlign="center",
	},

	{
		Name="TimeIsUp_Text3",
		Type="Text",	
		Caption="Try again!",
		Font="Font8.fnt",
		TextArea={2,60+30*2,378,60+33+30*2},
		HAlign="center",
	},

	{
		Name="TimeIsUp_Text4",
		Type="Text",	
		Caption="Maybe you'll do better.",
		Font="Font8.fnt",
		TextArea={52,60+30*3,328,60+33+30*3},
		HAlign="center",
	},

	{
		Name="TimeIsUp_OK",
		Type="Button",
		Pos={187-74,200},
		Image=ImageName,
		Caption="Ok", 
		Normal=ButtonNormal,
		Over=ButtonOver,
		Pressed=ButtonPressed,
		TextNormal=ButtonTextNormal,
		TextOver=ButtonTextOver,
		TextPressed=ButtonTextPressed,
		SoundPressed="butclick",
		--SoundHover="butclick1",

	},


	
};