$(function(){
	var tmpObj = $('.thumb-txts');
	var tmpLen = tmpObj.length;
	
	var tmpList = [];
	for(var i = 0; i < tmpLen; i++){
		var tmpDiv = tmpObj.eq(i);
		var tmpClass = 'thumb-txt-' + i;
		tmpDiv.addClass(tmpClass);
		tmpList.push('.' + tmpClass);
		if(tmpList.length >= 2) {
			var tmpStr = tmpList.toString();
			$(tmpStr).flatHeights();
			tmpList = [];
		}
	}
	
});
