// print_form.js - used for managing printing on-line forms
<!--Hide from legacy browsers

function loadTxtPrint(box){	 
	//Text box or text area onBlur function. Stores the DOM index
	
	var i = box.sourceIndex + 1;	
		// -of the calling Select box and adds 1 to that index.
	
	var sValue = box.value;		
		//Stores the text of a text box or text area.
	
	var oHidBox = document.all[i];	
		//Stores a ref. to the next DOM index (our empty font tag).
	
	oHidBox.innerHTML = sValue;	
		//Writes the text into the empty font tag.
}
	
function loadSelPrint(box){	
	//Select box onChange function. Stores the DOM index of the calling 
	
	var i = box.sourceIndex + box.length + 1;	
		//-select box and adds the number of options plus 1 to that index.
	
	var sel = box.selectedIndex;	
		//Stores the index of the selected item of the calling Select box.
	
	var sValue = box.options[sel].text;	
		//Stores the text of the selected item using the Select box index. 
	
	var oHidBox = document.all[i];	
		//Stores a reference to the next DOM index (our empty font tag).
	
	oHidBox.innerHTML = sValue;	
		//Writes the Select box's selected text into the empty font tag.
}

//-->
