function wrap_blue (text,cde) {
 var res=[];
 for (var i=0; i<3; i++) {
  res[i]=['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="/collab/img/blue',(i?2:1),cde,'_l.gif" width="8" height="23" border="0"></td><td background="/collab/img/blue',(i?2:1),cde,'_m.gif" style="font-face: tahoma, verdana, arial; font-size: 11px; font-weight: bold; color: #105D94" width="100%">',text,'</td><td><img src="/collab/img/blue',(i?2:1),cde,'_r.gif" width="8" height="23" border="0"></td></tr></table>'].join('');
 }
 return res;
}

function wrap_blue_selected (text,cde) {
 var res=[];
 for (var i=0; i<3; i++)
  res[i]=['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="/collab/img/bluesel',(i?2:1),cde,'_l.gif" width="8" height="23" border="0"></td><td background="/collab/img/bluesel',(i?2:1),cde,'_m.gif" style="font-face: tahoma, verdana, arial; font-size: 11px; font-weight: bold; color: #1010AA" width="100%">',text,'</td><td><img src="/collab/img/bluesel',(i?2:1),cde,'_r.gif" width="8" height="23" border="0"></td></tr></table>'].join('');
 return res;
}

function tab_images (text, imgl, imgm, imgr, imgol, imgom, imgor) {
 var res=[];
 for (var i=0; i<3; i++) {
  if (i==0) { 
   res[i]=['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="/collab/data/photo/',imgl,'" width="8" height="23" border="0"></td><td background="/collab/data/photo/',imgm,'" style="font-face: tahoma, verdana, arial; font-size: 11px; letter-spacing: 0px; font-weight: bold; color: #1010AA" width="100%">',text,'</td><td><img src="/collab/data/photo/',imgr,'" width="8" height="23" border="0"></td></tr></table>'].join('');
  }
  if (i==1) { 
   res[i]=['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="/collab/data/photo/',imgol,'" width="8" height="23" border="0"></td><td background="/collab/data/photo/',imgom,'" style="font-face: tahoma, verdana, arial; font-size: 11px; letter-spacing: 0px; font-weight: bold; color: #1010AA" width="100%">',text,'</td><td><img src="/collab/data/photo/',imgor,'" width="8" height="23" border="0"></td></tr></table>'].join('');
  }
  if (i==2) { 
   res[i]=['<table cellpadding="0" cellspacing="0" border="0"><tr><td><img src="/collab/data/photo/',imgol,'" width="8" height="23" border="0"></td><td background="/collab/data/photo/',imgom,'" style="font-face: tahoma, verdana, arial; font-size: 11px; letter-spacing: 0px; font-weight: bold; color: #1010AA" width="100%">',text,'</td><td><img src="/collab/data/photo/',imgor,'" width="8" height="23" border="0"></td></tr></table>'].join('');
  }
 }
 return res;

}
