function mainpage(div_id,disposition){
	var url = "/ajax/mainpage/?dispos="+disposition+"&div="+div_id;
	new Request({url: url,
		method: 'get',
		//update: $(div_id),
		evalScripts: true,
		onComplete: function(text) {
			// when complete, we remove the spinner
			$(div_id).removeClass('ajax-loading');
			$(div_id).innerHTML = unescape(text);
		},
		onCancel: function() {
			// when we stop timed ajax while it's requesting
			// we forse to cancel the request, so here we
			// just remove the spinner
			$(div_id).removeClass('ajax-loading');
		}
	}).send();
}
