function changeSwords(group, amount, type)
{
	var i;
	var image;
	if(type == 1)
		image = "swordb";
	else
		image = "sword";
	document.getElementById("head_" + group).style.background = "url(templates/underground/images/" + image + "_1.png) no-repeat right";
	document.getElementById("list_" + group).style.background = "url(templates/underground/images/" + image + "_2.png) repeat-y right";
	document.getElementById("img_" + group).src = "templates/underground/images/" + image + "_3.png";
}
