// javascript for quickInfoBar
function changeArrow(id) {
	
	//local variables
	var quickInfo = new Array("q1", "q2", "q3");
	var current = document.getElementById(id);
	var selected = new Array();
	selected[0] = "url(images/slices/sbar1.png)";
	selected[1] = "url(images/slices/sbar2.png)";
	selected[2] = "url(images/slices/sbar3.png)";
	var notSelected = new Array();
	notSelected[0] = "url(images/slices/bar1.png)";
	notSelected[1] = "url(images/slices/bar2.png)";
	notSelected[2] = "url(images/slices/bar3.png)";

	var i;
	var tempObject;
	//statements
	for(i = 0; i < quickInfo.length; i++)
	{
		if(current.id == quickInfo[i])
		{
			current.style.background = selected[i];
			current.style.backgroundRepeat = "no-repeat";
		}
		else
		{
			tempObject = document.getElementById(quickInfo[i]);
			tempObject.style.background = notSelected[i];
			tempObject.style.backgroundRepeat = "no-repeat";
		}
	}
}

function swapTextBox(id)
{
	var current = document.getElementById(id);
	var boxes = new Array("whatWeOffer", "goodAt", "doNext");
	var i;
	var tempObject;
	
	for(i = 0; i < boxes.length; i++)
	{
		if(current.id == boxes[i])
		{
			current.style.display = "block";	
		}
		else
		{
			tempObject = document.getElementById(boxes[i]);
			tempObject.style.display = "none";
		}
		
	}
}

function hand(id) 
{
		var bar = document.getElementById(id);
		bar.style.cursor = "pointer";
}

function optionsHover(id)
{
	var border = document.getElementById(id);
	//border.style.borderBottom = "solid 1px #dcdcdc";
	//border.style.fontWeight = 'bold';
}

function optionsOut(id)
{
	var border = document.getElementById(id);
	//border.style.borderBottom = "";
}