function reportAvatar(reportURL)
{
	if (confirm ('Are you sure you want to report this avatar?'))
	{
		new Ajax.Request(reportURL, {
			method: 'get',
			on400:alertFailure,
			on200:alertSuccess
			}
		);
	}
}

function alertSuccess()
{
	alert ("Thank you for reporting this avatar. The admin has been notified and will review your report soon.");
}

function alertFailure()
{
	alert ("The request could not be completed. Make sure that you are logged in and that you have not already flagged the user.");
}

function gotogoogle()
{
	alert('asdfasdf');
	//window.location.href = "http://www.google.com";
}
