function ajaxPost(el, params, formid, message, checklogin) {
	// if check login
	if(checklogin == true) {
		if(!tipTool('quicklogin')) return false;
	}
	if(formid) {
		// serialize our data
		formdata = $(formid).serialize();
		// disable the form, so no double-clicking...
		$(formid).disable();
		
		// assign to postdata
		postdata = formdata + params;
	}
	else {
		postdata = params;
	}
	
	// add ajax var
	postdata = postdata + '&ajax=1';
	
	// show el
	$(el).style.display = '';
	
	// show loader
	if (message == 'nomsg') {}
	else if(message) $(el).innerHTML = message;
	else $(el).innerHTML = 'Loading...';
	
	// do ajax post, make sure form is re-enabled regardless of the results
	new Ajax.Updater(el, 'index.php', {
		parameters: postdata,
		asynchronous:true,
		method: 'post',
		evalScripts: true,
		onComplete: function(transport) {
			if(formid) $(formid).enable();
		}
	});
}