add: delete param.limit; 
context: function imagelist_macro(param) {   var site = param.of ? root.get(param.of) : res.handlers.site;   if (!site)      return;   if (!site.images.size())      return;   var max = Math.min(param.limit ? param.limit : 5, site.images.size());   var idx = 0;   var imgParam;   var linkParam = {};   while (idx < max) {      var imgObj = site.images.get(idx++);      imgParam = Object.clone(param);      delete imgParam.itemprefix;      delete imgParam.itemsuffix;      delete imgParam.as;      delete linkParam.href;      delete linkParam.onclick;      res.write(param.itemprefix);      // return different display according to param.as      switch (param.as) {         case "url":            res.write(imgObj.getUrl());            break;         case "popup":            linkParam.onclick = imgObj.getPopupUrl();         case "thumbnail":            linkParam.href = param.linkto ? param.linkto : imgObj.getUrl();            if (imgObj.thumbnail)               imgObj = imgObj.thumbnail;         default:            if (linkParam.href) {               Html.openLink(linkParam);               renderImage(imgObj, imgParam);               Html.closeLink();            } else               renderImage(imgObj, imgParam);      }      res.write(param.itemsuffix);   }   return;}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/b7ae0f6329e2364be2f98811f8b2011279a51116/macros.js/buggy/code/Global/macros.js