function center_x(size) {
	return ((screen.availWidth - size) / 2);
}

function center_y(size) {
	return ((screen.availHeight - size) / 2);
}