function signout()
{				
	var qstring = "functions/auth.php?signout";
	
	$("#loading").ajaxStart(function(){
		$(this).attr('src', 'pres/img/loading.gif')
	});
	
	$("#loading").ajaxStop(function(){
		$(this).attr('src', 'pres/img/loading_off.gif')
	});

	$.ajax({
	type: "GET",
	url: qstring,
	dataType: "xml",
	success: function(xml) {
		var msg = $(xml).find('message').text();
		$("#messagetext").text(msg);
		$("#authenticateform").hide();
		$("#signinform").show();
		$("#register").show();
		$("#account").hide();
		$("#settli").hide();
		$("#itemcontrols").hide();
		showmessage(msg);
			
		}//close success
	}); //close $.ajax(			
}; //close func