   function genLinkInfo(vlinks, vtargetURLbase)
   {  
      vindent = "      ";
      for (i in vlinks)
      {
         if (vlinks[i].URLbase == vtargetURLbase)
         {
            document.write(vindent + "<h4 class=item>\n");
            if (vlinks[i].reciprocated == "Y")
            {
               document.write(vindent + "<img src=\"images/Blue%20Arrow.gif\" width=\"15\" height=\"13\">&nbsp;\n");
            } else {
               document.write(vindent + "<span style=\"width: 15px\"></span>&nbsp;\n");
            }
            document.write(vindent + "<a href=\"" + vlinks[i].URL + "\" target=\"partnerlink\">" + vlinks[i].name + "</a>\n");
            document.write(vindent + "</h4>\n");
            document.write(vindent + "<p class=item>\n");
            document.write(vindent + vlinks[i].description + "&nbsp;\n");
            document.write(vindent + "<a href=\"" + vlinks[i].URL + "\" target=\"partnerlink\">" + vlinks[i].URL + "</a>\n");
            document.write(vindent + "</p>\n\n");
         }
      }
   }

   function bySortkey(a, b)
   {
      if (a.sortkey < b.sortkey) {
         r = -1;
      } else {
         if (a.sortkey == b.sortkey) {
            r = 0;
         } else {
            if (a.sortkey > b.sortkey) {
               r = 1;
            }
         }
      }
      return (r);
   }
