function change_tab(tab, products_id) {
	tab_content = $('product_tab_content');
	if (tab_content != null) {
		var myHTMLRequest = new Request.HTML({
			url: 'product_info_tab_content.php',
			onSuccess: function(html){
				//Clear the text currently inside the results div.
				$('product_tab_content').set('text', '');
				//Inject the new DOM elements into the results div.
				$('product_tab_content').adopt(html);
			},
			//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(){
				$('product_tab_content').set('text', 'The request failed.');
			}
		}).get({'tab': tab, 'products_id': products_id});
		
		var myHTMLRequest = new Request.HTML({
			url: 'product_info_tabs.php',
			onSuccess: function(html){
				//Clear the text currently inside the results div.
				$('tabs_container').set('text', '');
				//Inject the new DOM elements into the results div.
				$('tabs_container').adopt(html);
			},
			//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(){
				$('tabs_container').set('text', 'The request failed.');
			}
		}).get({'tab': tab, 'products_id': products_id});
	}
}
