function viewFootnoteInfo(footnoteIdentifier, footnoteNumber, footnoteInstance){
	
	if(window.location.hash){
		var myURL = window.location.href;
		var myURLRegex = /(.+)#(.+)/;
					
		myURL = myURL.replace(myURLRegex, "$1");
					
		window.location.href = myURL + "#" + footnoteIdentifier + footnoteNumber;
	}
	else{
		window.location.href = window.location.href + "#" + footnoteIdentifier + footnoteNumber;
	}
	
	lastFootnoteInstanceVisitedArray[footnoteNumber] = footnoteInstance;
}

function returnToFootnote(footnoteReferenceIdentifier, footnoteNumber){
	if(window.location.hash){
		var myURL = window.location.href;
		var myURLRegex = /(.+)#(.+)/;
				
		myURL = myURL.replace(myURLRegex, "$1");
				
		window.location.href = myURL + "#" + footnoteReferenceIdentifier + footnoteNumber + lastFootnoteInstanceVisitedArray[footnoteNumber];
	}
	else{
		window.location.href = window.location.href + "#" + footnoteReferenceIdentifier + footnoteNumber + lastFootnoteInstanceVisitedArray[footnoteNumber];
	}
	
	lastFootnoteInstanceVisitedArray[footnoteNumber] = 0;
}
