<!-- //

/*
Script made by Martial Boissonneault © 2001-2003 http://getElementById.com/
This script may be used and changed freely as long as this msg is intact
Visit http://getElementById.com/ for more free scripts and tutorials.
*/
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/

timerID = null;

function ScrollUp1(speed)
{
	if(document.getElementById)
	{
   	if(parseInt(obj1.style.top) < 0)
		{
    		obj1.style.top = parseInt(obj1.style.top) + speed + "px";
		}
   	timerID = setTimeout("ScrollUp1("+speed+")",30);
   }
}

function ScrollDown1(speed)
{
	if(document.getElementById)
	{ 
  		if(parseInt(obj1.style.top) > document.getElementById('clients_list_1').offsetHeight - obj1.offsetHeight)
		{ 
    		obj1.style.top = parseInt(obj1.style.top) - speed + "px";
		}
    	timerID = setTimeout("ScrollDown1("+speed+")",30);
   }
}

function ScrollUp2(speed)
{
	if(document.getElementById)
	{
   	if(parseInt(obj2.style.top) < 0)
		{
    		obj2.style.top = parseInt(obj2.style.top) + speed + "px";
		}
   	timerID = setTimeout("ScrollUp2("+speed+")",30);
   }
}

function ScrollDown2(speed)
{
	if(document.getElementById)
	{ 
  		if(parseInt(obj2.style.top) > document.getElementById('clients_list_2').offsetHeight - obj2.offsetHeight)
		{ 
    		obj2.style.top = parseInt(obj2.style.top) - speed + "px";
		}
    	timerID = setTimeout("ScrollDown2("+speed+")",30);
   }
}

function ScrollStop()
{
	if(document.getElementById)
	{
   	clearTimeout(timerID);
   }
}

// -->
