<!-- Begin

function resize(theImg) {

	if (theImg.width >= theImg.height) {

		if(theImg.width > 170) {
			theImg.width = 170;
		}
	}
	else
	{
		if(theImg.height > 150) {
			theImg.height = 150;
		}
	}

}

//  End -->
