// JavaScript Document
function move_in(img_name,img_src) {
	document[img_name].src = img_src;
}

function move_out(img_name,img_src) {
	document[img_name].src = img_src;
}

var windowObj = '';

function galleryWindow(image_file) {
	var imageObj = new Image();
	imageObj.src = image_file;
	var paramString = "scrollbars=no, resizable=no, status=no, width=800, height=600";
	
	if (!windowObj.closed && windowObj.location) {
		//windowObj.resizeTo((imageObj.width+20), (imageObj.height+30));
		windowObj.location.href = image_file;
		windowObj.focus();
	}
	else {
		windowObj = window.open(image_file, 'Gallery', paramString);
	}
	windowObj.name = "Lemon Tree Image Gallery Close-up";	
	//windowObj.status = paramString;
	return false;
}

function tidy() {
if (windowObj.location && !windowObj.closed) { 
   windowObj.close(); 
   } 
}

