function populateRSSList ( ) {
	var rssL = '';
	jQuery('link[type="application/rss+xml"]').each(function() { rssL += '<li class="ncW_rssListItem"><a href="' + this.href + '">' + jQuery(this).attr('title') + '</a></li>'; });
	
	ncW_manager.processAction('<ul>' + rssL + '</ul>', 'update_rssList');
}

function ncRssFeedList_showModal() {
	var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;
	if (isIE6) {
		ncW_manager.actions=function( type, queryObject, eventIdentifier, data, divObject ){ 
			switch(eventIdentifier) {
				case 'updateShim':
					divObject.innerHTML = data; 
					break;

				case 'init_RSSFeedList':
					ncW_manager.eventArray[(ncW_manager.eventArray).length] = ['JS', null, 'update_rssList', divObject];
					populateRSSList();
					break;

				case 'update_rssList':
					document.getElementById('ncW_RSSFeedList').innerHTML=ncFixHTML(data);
					break;

				default:
					null;
			}

		};
		ncW_manager.message = "A list of available RSS feeds on this page.";
		windowID = ncW_manager.makeWindow( true, 'center', 'RSSFeedList', 'RSS Feeds');
	}
}
