// NEWS TOGGLE
function toggle(){
	$(".toggle").parent().children('.contentWrap').hide();
	$(".toggle").parent().children('.contentWrap').css({ opacity: 0 });
	
	$(".toggle").toggle(function(){
		var div = $(this).parent().children('.contentWrap');
		$(this).html('Shrink');
		div.slideDown(function(){
			div.animate({opacity: 1});
		});
	},function(){
		var div = $(this).parent().children('.contentWrap');
		$(this).html('Expand');
		div.animate({opacity: 0}, function(){
			div.slideUp(function(){});
		});
	});
}
// NEWS NAV
function showResults(s, pg, sect){
	$.post("http://signstopsigns.com/mods/"+pg+".php?s="+ s +"&f=3", function(data){
		if(data.length >0) {
			$(sect).html(data);
		}		
		next = s+3;
		prev = s-3;
		$(".nextBut").click(function(){ showResults(next, pg, sect); });
		$(".prevBut").click(function(){ showResults(prev, pg, sect); });
	});	
}

