function switchProducts(idProduct, idBoxContent) {
	advAJAX.get({
		url: "ajaxActions.php",
		parameters : {
			action	 	 : 1,
			idProduct	 : idProduct,
			idBoxContent : idBoxContent
		},
		onSuccess : function(obj) {
			var response = obj.responseText;
			
			var sbNav = document.getElementById('sbNav_'+idBoxContent);
			var links = sbNav.getElementsByTagName('p');
			
			for (var i=0; i<=links.length; i++) {				
				if (links[i] !== undefined)
				links[i].className = '';
			}
			
			document.getElementById(idBoxContent+"Content").innerHTML = response;
			document.getElementById("lastAdded_"+idProduct).className = 'current';

		},
		onError : function(obj) { alert("Error: " + obj.status); }
	});
}

