Multi-array replacement script
	$(".IT_Badge").each(function(i, el){
		var iconInst = $(this).addClass('Inst' + i);
	});

	iconInst.each(function(){
	    var badges = $(this).val().trim().split(",");
	    for (c = 0; words.length > c; c++) {
    	    $(this).contents().replaceWith($("<img/>").attr("src", 'Icon/' + badges[c] + '.png'));
	    }
    });

The function above finds each instance of a class called IT_Badge and adds a second class of Inst + i, where i is the count. Within each instance, i need to parse a string list, and replace each array item that is produced by the parsing with an image who's src is the string portion itself.

Pseudo logic explanation:

Find each instance of IT_Badge, wrap it in a span with a class name appended by it's instance count. Then within each of those instances, parse the string into an array. Replace the string with a series of images, each one with an src that reflects the current array index value's contents.
Multi-array replacement script
===

	$(".IT_Badge").each(function(i, el){
		var iconInst = $(this).addClass('Inst' + i);
	});

	iconInst.each(function(){
	    var badges = $(this).val().trim().split(",");
	    for (c = 0; words.length > c; c++) {
    	    $(this).contents().replaceWith($("<img/>").attr("src", 'Icon/' + badges[c] + '.png'));
	    }
    });

The function above finds each instance of a class called IT_Badge and adds a second class of Inst + i, where i is the count. Within each instance, i need to parse a string list, and replace each array item that is produced by the parsing with an image who's src is the string portion itself.

Pseudo logic explanation:

Find each instance of IT_Badge, wrap it in a span with a class name appended by it's instance count. Then within each of those instances, parse the string into an array. Replace the string with a series of images, each one with an src that reflects the current array index value's contents.