window.addEvent('domready', function() {
});
function ajaxRequest(url, id){
  
  document.getElementById(id).innerHTML='<img src="/images/loading.gif">';
  
  var myAjax = new Request(
  						 {  url: url, 
                  method: 'get', 
									evalScripts: true,
									evalResponse: false,
									onFailure: function(){
									  document.getElementById(id).innerHTML="Ajax Request Error";
									},
									onComplete: function(){																														
											
											  $(id).set('html',this.response.text);											  									
																
									}
							 }).send();						
	}