
function hideBlankDataFields() {

	var SpanTags = document.getElementsByTagName( "span" );

	// Loop all SpanTags on page locating those with the db class. If they contain empty data then locate the parent node and set it's display to none. This action will hide any hard-coded html field names where there is no values for them
	for( var i = 0; i < SpanTags.length; i++ ) {
		if( /^xml/i.test( SpanTags[ i ].className ) ) {
			if( SpanTags[ i ].innerHTML == "" )
				SpanTags[ i ].parentNode.style.display = "none";
		}
	}
}
