(function($) {
    $.fn.extend({
        ImageSwap : function(newcolor) {                           
            return this.each(function(newcolor) {
                if (this.tagName != 'IMG' || this.tagName != 'INPUT') {
                    var img = $(this);
                    var origSrc = img.attr('src');
                    
		if (origSrc == 'Images/left_nav_arrow.gif')
		{
			img.attr('src', 'images/left_nav_arrow_' + img.attr('nc') + '.gif');

		}
		else
		{
			img.hide();
		}
                }
            });
        }
    });
})(jQuery);