function img_roll(text)
{
	document.getElementById('view_image').innerHTML=text;
}

function showPrices(id, e)
{
	var koor_x = 0, koor_y = 0;

  if (!e) e = window.event;

  if (e.pageX || e.pageY)
  {
    koor_x = e.pageX;
    koor_y = e.pageY;
  }
  else if (e.clientX || e.clientY)
  {
    koor_x = e.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft) - document.documentElement.clientLeft;
    koor_y = e.clientY + (document.documentElement.scrollTop || document.body.scrollTop) - document.documentElement.clientTop;
  }
	
	var price_container = document.createElement("div");
	document.body.appendChild(price_container);
	var price_div = document.getElementById("prices_div_"+id);
	price_container.style.position = 'absolute';
	price_container.style.top = (koor_y - 5)+"px";
	price_container.style.left = (koor_x - 80)+"px";
	price_container.setAttribute('id', 'prices_div');
	price_container.innerHTML = price_div.innerHTML;
}

function hidePrices(id)
{
	var price_container = document.getElementById("prices_div");
	document.body.removeChild(price_container);
}
