function doAdjust(img,w,h){
	var whr = w / h;
	if((img.width / img.height) > whr) {
		img.width = w;
		//alert('w=' + w);
	}
	else {
		img.height = h;
		//alert('h=' + h);
	}
}

function doAdjustPicList(w,h){
	if (w == '' || w == null) w = 100;
	if (h == '' || h == null) h = 70;
	var o = document.images;
	for(i = 0; i < o.length; i++){
		if(o[i].id == 'paw'){
			doAdjust(o[i], w, h);
		}
	}
}
