jQuery(document).ready(function() { 
	jQuery('#mtg_text p').hide();
	jQuery('#mtg_text p:eq(0)').show();

	jQuery('#mtg_r a').bind('click', function() {
		if (jQuery('#mtg_text p:visible').next().length==0) {
			jQuery('#mtg_text p').hide();
			jQuery('#mtg_text p:eq(0)').show();
		} else {
			jQuery('#mtg_text p:visible').hide().next().show();		
		}
		return false;
	});

	jQuery('#mtg_l a').bind('click', function() {
		if (jQuery('#mtg_text p:visible').prev().length==0) {
			jQuery('#mtg_text p').hide();
			jQuery('#mtg_text p:last').show();
		} else {
			jQuery('#mtg_text p:visible').hide().prev().show();		
		}
		return false;
	});


});


