jQuery.noConflict();
jQuery(document).ready(function($){
	$('.newsRotator ul').innerfade({
		speed: 'slow',
		timeout: 4000,
		type: 'sequence',
		containerheight: '1.2em' 
	});
	
	
	$('.navigation a').each(function(){
		var currentURL = $(this).attr('href');
		var story = /story=[0-9]*/i;
		var locationSearch = window.location.search;
		if(locationSearch.replace(locationSearch.match(story), '') == '?')
			currentURL = currentURL.replace('?'+ currentURL.match(story), '');
		else currentURL = currentURL.replace(currentURL.match(story), '');
		$(this).attr('href', currentURL);
	});
});