
function change_ram($id) {




	var zmienna_11 = new XHR({
		onRequest: function(){
		},
		onSuccess: function(){
			document.getElementById('radio_ramowka').innerHTML=this.response.text;	

		}
	});

	zmienna_11.method='post';
	zmienna_11.send('ajaxphp/ajax.php5?name=changeram&id='+$id,null);




/*



	window.addEvent('domready', function() {
		// You can skip the following two lines of code. We need them to make sure demos
		// are runnable on MooTools demos web page.
		// --
			
		//We can use one Request object many times.
		var req = new Request.HTML({url:'ajaxphp/ajax.php5?name=changeram&id='+$id, 
			onSuccess: function(html) {
				//Clear the text currently inside the results div.
				$('radio_ramowka').set('text', '');
				//Inject the new DOM elements into the results div.
				$('radio_ramowka').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() {
				$('radio_ramowka').set('text', 'The request failed.');
			}
		});
			req.send();

	});

*/
}



