function getContent(divTarget,contentToDisplay) {
    //alert(contentToDisplay);
    //We can use one Request object many times.
    var req = new Request.HTML({url:contentToDisplay,
        onRequest: function() { $(divTarget).set('html', '<img src="/images/lytebox/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);
			if (divTarget=="preMenuFilters")
				{
					var myAccordion = new Accordion($('accordion'), 'h4.toggler', 'div.element', {
                                        opacity: false,
                                        onActive: function(toggler, element){
                                        toggler.setStyle('color', '#41464D');
                                        toggler.setStyle('font-weight', 'bold');
                                        },
                                        onBackground: function(toggler, element){
                                        toggler.setStyle('color', '#41464D');
                                        toggler.setStyle('font-weight', 'normal');
                                        }
                                });
				}
        },
        //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();
}

function cartouche_getModels(divTarget,contentToDisplay) {
	//alert(contentToDisplay);
    //We can use one Request object many times.
    var req = new Request.HTML({url:contentToDisplay,
        onRequest: function() { $(divTarget).set('html', '<img src="/images/lytebox/loading.gif">'); },
        onSuccess: function(html) {
			 return false;
        },
        //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();
}
