var files = new Array ('outline.htm','objectives.htm','requirements.htm','critiques.htm');
fileIndex=-1;

function goRing(direction)
	{
	curLoc = document.location.href;
	curLocArray = curLoc.split('/');
	curLoc = curLocArray[curLocArray.length-1];
	for(i=0;i<files.length;i++)
			{
			if(curLoc==files[i])
				{
				fileIndex = i;
				break;
				}
			}
	fileIndex = (fileIndex+direction+files.length) % files.length;	
	curLoc = files[fileIndex];
	document.location.href=curLoc;
	}
	
 

