// JavaScript Document

function FamNote(){
	
	var notes = new Array();
	var _window;
	//----
	
	this.loadNote = function(note){
		 notes.push(note);
	}
	
	this.displayNote = function(index){
		var note = "<html><head><style>*{font-family:Geneva, Arial, Helvetica, sans-serif}#title{font-size:15px;font-weight:bold;color:333333;border-bottom:solid 1px #CCCCCC}#number{font-size:15px;}#body{font-size:13px;color:333333}</style></head><body><div id='title'>Footnote:</div><span id='number'>"+index+". </span><span id='body'>"+notes[index-1]+"</span></body></html>"
		
		_window = window.open("#",'','width=650,height=100,resizable=yes,scrollbars=yes',false);
		_window.document.write(note);
	}
	
	this.resetNotes = function(){
			notes = [];
	}
}