

var questionArray = new Array();
for (i=0; i<11; i++){


	if (i > 0) {
		questionArray[i] = 'howRide' + i;
	}
}

//alert(questionArray[10]);

function highlightQuestion(question){

	var linkRef = question+'A';	

	document.getElementById(question).style.color = 'red';
	document.getElementById(linkRef).style.color = 'red';

}


function showQuestion(question){

	document.getElementById(question).style.visibility = 'visible';

}


function rollover(id){
	document.getElementById(id).src='../images/subNav/' +id+ '_on.gif';
}

function rollout(id){
	document.getElementById(id).src='../images/subNav/' +id+ '_off.gif';
}

function navRollover(id){
	document.getElementById(id).src='../images/' +id+ '_on.gif';
}

function navRollout(id){
	document.getElementById(id).src='../images/' +id+ '_off.gif';
}


function homeRollover(id){
	document.getElementById(id).src='images/' +id+ '_on.gif';
}

function homeRollout(id){
	document.getElementById(id).src='images/' +id+ '_off.gif';
}



function noHighlights(){

	var prefix = 'howRide';
	for (var i=1; i<11; i++){
		document.getElementById(prefix+i).style.color = '#4C4C4C';
		document.getElementById(prefix+i+'A').style.color = '#4C4C4C';
	}

}

function noQuestions(){

	var prefix = 'howRide';
	for (var i=1; i<11; i++){
		document.getElementById(prefix+i+'Q').style.visibility = 'hidden';
	}

}



