var divShowProduct  = document.getElementById('divShowProduct');

var _current = divShowProduct.firstChild;
var _temp;
while(_current != null)
{
  _t = _current.nextSibling;
  
  if(_current.nodeName.toLowerCase().indexOf('text') > -1)
  {
    divShowProduct.removeChild(_current);
  }
  _current=_t;
}

for(var i=1;i<divShowProduct.childNodes.length;i++)
{
   divShowProduct.childNodes[i].appendChild(divShowProduct.firstChild.cloneNode(1));
}


function scroll_friends()
{
    if(divShowProduct.scrollTop >= divShowProduct.firstChild.offsetHeight)
    {
       divShowProduct.scrollTop = 0;
    }
    else
    {
       divShowProduct.scrollTop++;
    }
}

var timer_friends=setInterval("scroll_friends();",70);
divShowProduct.onmouseover = function()  {clearInterval(timer_friends)};
divShowProduct.onmouseout  = function()  {timer_friends = setInterval("scroll_friends();",70)};
