function DoBury(id)
{
	val = parseInt(document.getElementById('bury'+id).value);
	switch (val)
	{
		case -1:
			break;
		default:
		document.getElementById('whole_'+id).className = 'opacity40';
		elem = document.getElementById('hootcount_'+id);
		elem.innerHTML = '';
		pic = document.getElementById('img_'+id);
		setTimeout("ChangeText(elem,'JUST BOOTED')",1000);
		pic.src = 'images/btnBooted.png';
		pic.title = 'Booted';
		pic.onmouseover = '';
		pic.onmouseout = '';
			break;
	}
}

function DoWishlist(id)
{
	val = parseInt(document.getElementById('wishlist'+id).value);
	switch (val)
	{
		case -1:
			break;
		default:
		/*
		document.getElementById('whole_'+id).className = 'opacity40';
		*/
		elem = document.getElementById('hootcount_'+id);
		elem.innerHTML = '';
		
		oTitle = document.getElementById('wishTitle'+id);
		oTitle.innerHTML = "Wished";
		
		pic = document.getElementById('img_'+id);
		setTimeout("ChangeText(elem,'JUST WISHED')",1000);
		/*
		pic.src = 'images/btnBooted.png';
		*/
		pic.title = 'Wished!';
		pic.onmouseover = '';
		pic.onmouseout = '';
		break;
	}
}

function DoAddict(id)
{
	val = parseInt(document.getElementById('addict'+id).value);
	switch (val)
	{
		case -1:
			break;
		default:
		/*
		document.getElementById('whole_'+id).className = 'opacity40';
		*/
		elem = document.getElementById('hootcount_'+id);
		elem.innerHTML = '';
		
		oTitle = document.getElementById('addictTitle'+id);
		oTitle.innerHTML = "Addicted";

		pic = document.getElementById('img_'+id);
		setTimeout("ChangeText(elem,'JUST ADDICTED')",1000);
		pic.title = 'Addicted!';
		pic.onmouseover = '';
		pic.onmouseout = '';
		break;
	}
}

function ChangeText(elemn,sTxt)
{
  elemn.innerHTML = sTxt;
}