//
// Called from Flash AS or from JS
// Load the page with AJAX request
//


function loadNews( pageURI) {

	var req = new Request.HTML( { url: pageURI,
								  method: 'post',
								  //data: 'ajx=1&' + reqData,
								  evalScripts: true,
								  onSuccess: function( html ) {
										var sFX = new Fx.Tween( $( 'comunicazione_news' ), {
																  duration: 500,
															  transition: Fx.Transitions.Quad.easeInOut,
															  wait: false } );
									  // Clear everything currently inside the target div.
									  $( 'comunicazione_news' ).empty();
									  // Inject the new DOM elements into the target div.
									  $( 'comunicazione_news' ).adopt( html );
								  },
								  onFailure: function() {
								  } } );

	req.send();
}
