	var hidectx = {savedata: -1, index: 0, data: 0, savehref: 0, href: 0, hideIntvl: 0};
	function HideFeed(count) {
		if (hidectx.savedata == -1) {
			hidectx.savedata = jQuery('#livefeed a').eq(0).html();
			hidectx.savehref = jQuery('#livefeed a').eq(0).attr('href');
			if (!hidectx.savedata) {
				clearInterval(hidectx.hideIntvl);
				//alert("Window unloaded...sidehidefeed");
				hidectx.hideIntvl = 0;
				return;
			}	
		}
		jQuery('#livefeed a').hide();
		if ( hidectx.index%count != 0) {
			hidectx.data = jQuery('#livefeed a').eq(hidectx.index%count).html();
			hidectx.href = jQuery('#livefeed a').eq(hidectx.index%count).attr('href');
		} else {
			hidectx.data = hidectx.savedata;
			hidectx.href = hidectx.savehref
		}

		jQuery('#livefeed a').eq(0).html(hidectx.data).attr('href',hidectx.href).show('slow');
		hidectx.index += 1;
	}
	jQuery(document).ready( function () {
		jQuery('#livefeed a').hide();
		HideFeed(2);
		hidectx.hideIntvl = setInterval('HideFeed(2)', '5000');
	});
	
	jQuery(window).unload( function () {
		if (hidectx.hideIntvl != 0) {
			clearInterval(hidectx.hideIntvl);
			//alert("Window unloaded...hidefeed");
			hidectx.hideIntvl = 0;
		}
	});
