"; if(typeof data['new']!='undefined' && data['new']==1 ) { $("#"+section+type+"Title").after(html_data); } else { $("#"+section+type+"Container").append(html_data); } $("#"+itemId).addClass("psmSectionBlock"); $("#"+itemId).addClass("psmSection"+type); if(data['image']) { $("#"+itemId).addClass("psmSectionImage"); $("#"+itemId).append(" "); } else { $("#"+itemId).addClass("psmSectionNoImage"); } } } tcProductSelector = function(id,set) { tcpsId = "#"+id; tcpsData = set; this.init = function() { if(typeof(tcpsData[1]) != 'undefined') { $(tcpsId).append('