	var currentHeight,timer,isRolling,moveHeight,timerMoveList;
	currentHeight=0;
	isRolling=0;

	function showProductHomeNewsList (flag) {
		if(isRolling == 0) {
			if (flag=="show") {
				document.getElementById('productHomeNewsList').style.display="none";
				document.getElementById('productHomeNewsListShow').style.display="block";
				isRolling=1;
				clearInterval(timerMoveList);
				timer=setInterval("productHomeNewsListShow('show')",50);
			} else {
				isRolling=1;
				timer=setInterval("productHomeNewsListShow('')",50);
			}
		}
	}

	function productHomeNewsListShow(flag) {
		if (flag=="show") {
			if (currentHeight>151)	{
				isRolling=0;
				clearInterval(timer);
			}
			currentHeight=parseInt(document.getElementById('productHomeNewsListShow').style.height);
			currentHeight=currentHeight+5;
		} else {
			if (currentHeight<38)	{
				isRolling=0;
				clearInterval(timer);
				document.getElementById('productHomeNewsList').style.display="block";
				document.getElementById('productHomeNewsListShow').style.display="none";
				document.getElementById('moveInfo').style.marginTop="0px";
				moveListControl(50);
			}

			currentHeight=parseInt(document.getElementById('productHomeNewsListShow').style.height);
			currentHeight=currentHeight-5;
		}
		document.getElementById('productHomeNewsListShow').style.height=currentHeight.toString()+"px";
	}

	function moveListControl(moveStep) {
		moveHeight=moveStep;
		timerMoveList=setInterval("moveList('"+moveStep+"')",3000);		
	}

	function moveList(moveStep) {
		if (moveHeight<=(-200))	{
			moveHeight=moveStep;
		}
		moveHeight=moveHeight-moveStep;
		if(document.getElementById('moveInfo'))
		    document.getElementById('moveInfo').style.marginTop=moveHeight.toString()+"px";
	}
	
