// JavaScript Document
var pers = [0,0,0,0,0,0,0];

function pers_top(info,buts,tech) {
	vk = tech;
	pers[0] = info[1];
	out = '<table width="100%" border="0" cellspacing="0"><tr><td style="padding-left:10px;">' +
	'<strong>'+info[0]+' ['+info[1]+']</strong> [<strong><font color="#CC0000"><span id="r_hp_is">'+info[2]+'</span>/'+info[3]+'</font> <font color="#0000CC">'+info[4]+'/'+info[5]+'</font> <font color="#00CC00">'+info[6]+'/'+info[7]+'</font></strong>]'+
	'</td><td align="right">';
    out = out + '<input type="button" value="Персонаж" onclick="location.href=\'/main.php?act=1&move=pers&vcode='+tech+'\'"> <input type="button" value="Рюкзак"  onclick="location.href=\'/main.php?act=1&move=inv&vcode='+tech+'\'"> <input type="button" value="Лавка"  onclick="location.href=\'/main.php?act=1&move=store&vcode='+tech+'\'"> <input type="button" value="Арена" onclick="location.href=\'/main.php?act=1&move=arena&vcode='+tech+'\'">';
    /*
    <input type="button" disabled value="Вернуться">*/
    out = out + '</td></tr></table>';
	d('pers_top').innerHTML = out;
	restore(info[2],info[3],300);
}