new Ext.XTemplate('<tpl if="isSameUnit(a,b,c)==true">'.</tpl>..,{
isSameUnit : function(unit1, unit2, unit3) {
return ((unit1 == unit2) && (unit1 == unit3));
}
}
)
2
'<tpl if="xindex==1 && imagePath!=null">' +
'<img width="100" height="80" src="viewPhoto.do?path={imagePath}"/>' +
'</tpl>'+