function popUpImageResize(image, name){

	var image;
	var name;

	window.open('Media.php?' + image + '&resize', name, 'width=50,height=50,scrollbars=yes, resizable=yes');}

function windowResize(x, y){

	var x;
	var y;

	if(x > screen.width){
		x = screen.width;}

	if(y > screen.height){
		 y = screen.height;}
	
	window.resizeTo(x, y);}
