// JavaScript Document


function Next(type, speed)
 {
	document.getElementById(type).setAttribute ('direction','left');
	document.getElementById(type).setAttribute('scrollamount',speed, 0);
 }

function defaultSpeed(type, speed)
{
	if(type=='default')
	{
		document.getElementById('Client').setAttribute ('direction','left');
		document.getElementById('Client').setAttribute('scrollamount',speed, 0);
		document.getElementById('Partner').setAttribute ('direction','left');
		document.getElementById('Partner').setAttribute('scrollamount',speed, 0);
	}
	else
	{
		document.getElementById(type).setAttribute ('direction','left');
		document.getElementById(type).setAttribute('scrollamount',speed, 0);
	}
}

function Previous(type, speed)
{
	document.getElementById(type).setAttribute ('direction','right');
	document.getElementById(type).setAttribute('scrollamount',speed, 0);
}



function HideArrow()
{
//alert(document.getElementById("MenuLeftSideArrow").style.backgroundImage);
	document.getElementById("MenuLeftSideArrow").className="HideArrow";
	
}
function ShowArrow()
{
//alert(document.getElementById("MenuLeftSideArrow").style.backgroundImage);
	document.getElementById("MenuLeftSideArrow").className = "ShowArrow";
	
	
	
}