function wbids_bobprice_big(name, price)
{
	wbids_bobprice(name, 25, 4, 20, price);
}

function wbids_bobprice_small(name, price)
{
	wbids_bobprice(name, 25, 4, 20, price);
}

function wbids_bobprice(name, height, step, timeout, price)
{
	var el = document.getElementById(name);
	if(!el) return;

	setTimeout('wbids_bob_iterate(\''+name+'\', '+0+', '+height+', 1, '+step+', '+timeout+', \''+price+'\')', timeout);
}

function wbids_bob_iterate(name, cur, height, dir, step, timeout, price) {
	var el = document.getElementById(name);
	if(!el) return;

	cur += step;

	if(dir < 0)
		el.style.margin = cur-height + 'px 0 0 0';
	else	
		el.style.margin = cur + 'px 0 0 0';

	if(cur < height)
		setTimeout('wbids_bob_iterate(\''+name+'\', '+cur+', '+height+', '+dir+', '+step+', '+timeout+', \''+price+'\')', timeout);
	else if(dir > 0) {
		el.innerHTML = format_price(price);
		setTimeout('wbids_bob_iterate(\''+name+'\', '+0+', '+height+', \'-1\', '+step+', '+timeout+', \''+price+'\')', timeout);
	} else {
		el.style.margin = '0 0 0 0';
	}
}
