var imgCurrentStatus = new Array();

function toggleImgSize(imgID) {
	var imgFilePath = imgID.src;
	var imgFileName = imgFilePath.substring(imgFilePath.lastIndexOf('/', imgFilePath.length) + 1, imgFilePath.length);
	var imgCurrentHeight = imgID.height;
	if (imgCurrentStatus[imgFileName] != 'large') {
		imgID.width = 390;
		imgID.height = imgCurrentHeight * 3;
		imgCurrentStatus[imgFileName] = 'large';
	} else {
		imgID.width = 130;
		imgID.height = imgCurrentHeight / 3;
		imgCurrentStatus[imgFileName] = 'thumb';
	}
}
