function getContent(divTarget,contentToDisplay) {
    //We can use one Request object many times.
    var req = new Request.HTML({url:contentToDisplay,
        onRequest: function() { $(divTarget).set('html', '<img src="/images/loading.gif">');  },
        onSuccess: function(html) {
            //Clear the text currently inside the results div.
            $(divTarget).set('text', '');
            //Inject the new DOM elements into the results div.
            $(divTarget).adopt(html);
			// user cases
			switch(contentToDisplay) {
				case 'portfolio-developpements-specifiques.php':
				case 'portfolio-e-commerce.php':
					myMooFlowPage.start();
					break;
			}
        },
        //Our request will most likely succeed, but just in case, we'll add an
        //onFailure method which will let the user know what happened.
        onFailure: function() {
            $(divTarget).set('text', 'The request failed.');
        }
    });
    req.send();
}
