function uilabels()
{width = ui.getWidth(); height = ui.getHeight();
eatingLabel.x = width/2 - 21; eatingLabel.y = height/2 - 21;
netLabel.x = width/2 - 12; netLabel.y = height/2 - 92;
netItemLabel.x = width/2 - 8; netItemLabel.y = height/2 - 88;
throwingLabel.x = width/2 - 70; throwingLabel.y = 40;
throwingLabelHP.x = width/2 - 70; throwingLabelHP.y = 40;
throwingItem.x = width/2 - 67; throwingItem.y = 45;
torchLabel.x = width/2 - 50; torchLabel.y = height/2 - 30;
sleepEffect2.y = height-height/4; sleepEffect.width = width; sleepEffect2.width = width; 
energyLabel.x = width - 120; energyLabel.y = height - 30;
hungerLabelHP.x = 4; hungerLabelHP.y = height - 30;
hungerLabel.x = 4; hungerLabel.y = height - 30;
breakLabelHP.x = width/2 - 27.5; breakLabel.x = width/2 - 27.5; breakLabel.y = height/2 - 35;
energyAmount.y = height - 20; energyLabelHP.y = height - 30;
hungerAmount.y = height - 20; blockLabel.y = height/2 - 62; blockLabel.x = width/2 + 2;
helpShop.y = helpBuild.y = helpCraft.y = height/2 - 100;
helpCraft.x = helpBuild.x = helpShop.x = width/2 - 213; sb.x = width/2 - 124;
hb2.x = hb.x = width/2 - 96; hb2.y = hb.y = height - 32;
hb5.x = hb4.x = hb3.x = width/2 - 86; hb5.y = hb4.y = hb3.y = height/2 - 80;
mainPageShow.x = width/2 - 129; mainPageShow.y = height/2 - 120; 
pageShow.x = width/2 - 129; pageShow.y = height/2 - 120; 

for (var i = 0; i < 3; i++) {
	craftPG[i].y = height/2 + 64; craftPG[i].x = width/2 - 95 + 95*i;
	for (var ii = 0; ii < 4; ii++) 
		craftCase [i][ii].y = height/2 - 28.5 + 20*ii;
	craftCase[i][4].y = height/2 + 45;
}
craftItem.y = height/2 - 110; craftItem.x = width/2 + 8;
craftItemPNG.y = height/2 - 116; for (i = 0; i < mS; i++)
craftFrame.x = width/2 - 92; craftFrame.y = height/2 - 97;

skillShow [mS] [0].y = 31; skillShow [mS] [1].y = 21; skillShow [mS] [1].x = width/2 - 64.5;
skillShow [mS] [2].y = skillShow [mS] [4].y = 28; skillShow [mS] [3].y = skillShow [mS] [5].y = 40;
for (i = 0; i < mS; i++) 
	skillShow [i] [0].y = height/2 - 70;

fp2.x = width/2 - 112; fp.x = width/2 - 112; fp2.y = height/2 - 80; fp.y = height/2 - 80;
firepowerLabel.y = height/2 - 74; fireburnLabel.y = height/2 - 62;
firepowerLabel.x = width/2 - 90; fireburnLabel.x = width/2;
levelAmount.x = width/2 - 129; waterAmount.y = height/2 - 74; sunAmount.y = height/2 - 74;
gardenLabel.x = width/2 - 108; gardenLabel.y = height/2 - 83;
coinLabel.x = width - 105; coinAmount.x = width - 64; 
bookPG0.y = height/2 + 47; bookPG1.y = height/2 + 35; bookPG2.y = height/2 + 50;
bookCase.x = width/2 - 129; bookCase.y = height/2 - 100; 
bookShow.x = width/2 - 129; bookShow.y = height/2 - 100;
clockLabel.x = width - 32; clockLabel.y = 40; clockAmount.x = width - 13; clockAmount.y = 51;
buildMainPage.x = width/2 - 126; buildMainPage.y = height/2 - 120;
buildCase.x = width/2 - 92; buildCase.y = height/2 - 92; buildHouse.x = width/2 - 126;
buildHouse.y = height/2 - 120; buildNeed.x = width/2 + 10; buildNeed.y = height/2 - 59;
buildNeed [0].x = buildNeed [1].x = width/2 + 10; buildNeed [0].y = buildNeed [2].y = height/2 - 59;
buildNeed [1].y = buildNeed [3].y = height/2 - 33; buildNeed [2].x = buildNeed [3].x = width/2 + 89;
cheatingSign.x = width/2 - 28; cheatingSign.y = -2;
armorCase.x = 5; armorCase.y = height/2 + 30;
for (i = 1; i < 13; i++) {armorBody [i].x = 5; armorBody [i].y = height/2 + 30;}
sourceLabel.y = height/2 - 40; sourceLabel2.y = height/2 - 40;
sourceAmount [0].y = sourceAmount [4].y = height/2 - 27; sourceAmount [1].y = sourceAmount [5].y = height/2 - 8;
sourceAmount [2].y = sourceAmount [6].y = height/2 + 11.5; sourceAmount [3].y = sourceAmount [7].y = height/2 + 31;
sleepLabel.x = width - 120; sleepLabel.y = height - 30;
sleepLabelB.x = width/2 - 18; sleepLabelB.y = height/2 - 15;
sleepAmount.x = width/2 - 0; sleepAmount.y = height/2 - 4;
dialogueBar.y = height - dialogueBar.height;
dialogueBar2.x = Math.min(220, width - 201); dialogueBar2.y = height - dialogueBar.height;
dialogueFace.y = dialogueBar.y + 4; dialogueText.y = dialogueBar.y + 5;

achievName.x = width/2; achievClone [0].x = width/2 - 113;
achievClone [1].x = achievClone [2].x = width/2 - 103;
achievClone [3].x = achievClone [4].x = width/2 - 68;
openCraftBook.x = width/2 - 8; openCraftBook.y = height/2 - 8;
openCraft.x = width/2; openCraft.y = height/2;

shopMain.x = width/2 - 126; shopMain.y = height/2 - 134;
for (i = 0; i < 16; i++) {
shopCases [i] [0].x = width/2 - 122 + i%4*63;     shopCases [i] [0].y = height/2 - 90 + Math.floor(i/4)*38;
shopCases [i] [1].x = shopCases [i] [0].x + 4.5;  shopCases [i] [1].y = shopCases [i] [0].y + 5;
shopCases [i] [2].x = shopCases [i] [0].x + 39.5; shopCases [i] [2].y = shopCases [i] [0].y + 9;
shopCases [i] [3].x = shopCases [i] [0].x + 15;   shopCases [i] [3].y = shopCases [i] [0].y + 14;}
shopMoney.x = width/2 + 100;	shopMoney.y = height/2 + 72;
shopDisplay.x = width/2;     	shopDisplay.y = height/2 + 72;
shopInCase.x = width/2 + 48; 	shopInCase.y = height/2 - 52;
shopInIcon.x = width/2 - 66.5;	shopInIcon.y = height/2 - 31;
shopInv.x = width/2 + 60;    	shopInv.y = height/2 - 26;
shopPage [0].y = shopPage [1].y = shopPage [2].y = height/2 + 88; 
shopPage [0].x = width/2 - 84; shopPage [1].x = width/2 + 84; shopPage [2].x = width/2;} uilabels();