function tableload(location,pos)
{
	if(pos=="wtable"){
		location=location+"/admin1/ok.php";

		/*var req = new Request.HTML({
		method: 'get',
		url: location,
		onComplete: function(responseTree, responseElements, responseHTML, responseJavaScript) {
		
		$(pos).innerHTML = responseHTML;
		}
		}).send();*/
		
		$.ajax({
		   type: "GET",
		   url: location,
		   success: function(msg){
			 $('#'+pos).html(msg);
		   }
		 });

	}else if(pos=="stable"){
		location=location+"/admin1/cancel.html";

		/*var req = new Request.HTML({
		method: 'get',
		url: location,
		onComplete: function(responseTree, responseElements, responseHTML, responseJavaScript) {
		
		$(pos).innerHTML = responseHTML;
		}
		}).send(); */
		
		$.ajax({
		   type: "GET",
		   url: location,
		   success: function(msg){
			 $('#'+pos).html(msg);
		   }
		 });		
		
	}
	
}
