function sizeGallery () {

	var size = $(document.body).getSize();
	var width = size['x'] - 220;
	if (width < 854 && navigator.appName != 'Microsoft Internet Explorer') width = width - 15;
	if (width < 640) width = 640;
	$('content').style.width = width+'px';
	$('content').style.display = 'block';
	window.onresize = sizeGallery;

}
