// JScript File
	
	function highlightImages(targetCell, contentType){
		var targetRow = targetCell.parentNode; //Get the row the user is on
		var targetTable = ''
		if(targetRow != ''){targetTable = targetRow.parentNode;} //Get the table the user is in
		var tableRows = new Array();
    	if(targetTable != ''){tableRows = targetTable.rows;} // Get all the rows from the table
    	var rowCells = new Array();
    	var tableCells = new Array();
    	var p = 0;
    	var selectedClass = '';
                
    	for (var m = 0; m < tableRows.length; m++) { // Get all the cells in the table
        	rowCells = tableRows[m].cells;
        	for(var n = 0; n < rowCells.length; n++) {
            	tableCells[p] = rowCells[n];
            	p++;
        	}
    	}
    	
    	var eventType = window.event.type;
    	
   		for (var q = 0; q < tableCells.length; q++) {// Walk through the array of cells and change to the selected style
            selectedClass = tableCells[q].className;   	
    		if(eventType == 'mouseover'){
        		if (selectedClass == 'a2'){tableCells[q].className = 'a2' + contentType;}
				if (selectedClass == 'b2'){tableCells[q].className = 'b2' + contentType;}
				if (selectedClass == 'b3'){tableCells[q].className = 'b3' + contentType;}
				if (selectedClass == 'c1'){tableCells[q].className = 'c1' + contentType;}
				if (selectedClass == 'c2'){tableCells[q].className = 'c2' + contentType;}
				if (selectedClass == 'd2'){tableCells[q].className = 'd2' + contentType;}
    		}else if(eventType == 'mouseout'){
        		if (selectedClass == 'a2' + contentType){tableCells[q].className = 'a2';}
				if (selectedClass == 'b2' + contentType){tableCells[q].className = 'b2';}
				if (selectedClass == 'b3' + contentType){tableCells[q].className = 'b3';}
				if (selectedClass == 'c1' + contentType){tableCells[q].className = 'c1';}
				if (selectedClass == 'c2' + contentType){tableCells[q].className = 'c2';}
				if (selectedClass == 'd2' + contentType){tableCells[q].className = 'd2';}
    		}
    	}
	}
	
	function highlightLinks(contentType){
		var elements = document.getElementsByTagName('a');
		var selectedID = '';
		var hideID = '';
		var j = 0;
		var elementIDs = new Array();
		
		for (var i = 0; i < elements.length; i++) {
			selectedID = elements[i].id;
			if(selectedID.match('NavLink')) {
			elementIDs[j] = selectedID;
			j++;
			}
		}
		
		var eventType = window.event.type;
		
		for (var q = 0; q < elementIDs.length; q++) {// Walk through the array of ids and hide the text of all other links
			hideID = elementIDs[q];
			if (hideID.match(contentType) != contentType){
    			if(eventType == 'mouseover'){
    				document.getElementById(elementIDs[q]).style.visibility = 'hidden';
    			}else if(eventType == 'mouseout'){
    				document.getElementById(elementIDs[q]).style.visibility = 'visible';
    			}
    		}
    	}
	}
	
	function gotoLinks(contentType){
		var elements = document.getElementsByTagName('a');
		var selectedID = '';
		var hideID = '';
	
		for (var i = 0; i < elements.length; i++) {
			selectedID = elements[i].id;
			if(selectedID.match('NavLink' + contentType)) {
				document.location.replace(elements[i].href);
			}
		}
	}
