
    // Category Label: ITIL Lifecycle Suite Version 3
   
    var bcat1 = [];

    bcat1[0] = ['9780113310456','Service Strategy','jpg'];
    bcat1[1] = ['9780113310470','Service Design','jpg'];
    bcat1[2] = ['9780113310487','Service Transition','jpg'];
    bcat1[3] = ['9780113310463','Service Operation','jpg'];
    bcat1[4] = ['9780113310494','Continual Service Improvement','jpg'];
    
    // Category Label: Additional ITIL Resources
   var bcat2 = [];
    bcat2[0] = ['9780113310616', 'The Official Introduction to the Service Lifecycle','jpg'];
    bcat2[1] = ['9780113311194','Key Element Guide: Service Strategy','jpg'];
    bcat2[2] = ['9780113311200','Key Element Guide: Service Design','jpg'];
    bcat2[3] = ['9780113311217','Key Element Guide: Service Transition','jpg'];
    bcat2[4] = ['9780113311187','Key Element Guide: Service Operation','jpg'];
    bcat2[5] = ['9780113311224','Key Element Guide: Continual Service Improvement','jpg'];
    bcat2[6] = ['9780113310791','Passing Your ITIL Foundation Exam','jpg'];
    bcat2[7] = ['9780113310968','Building an ITIL&#174;-based Service Management Department','jpg'];

     
  var anonUI = {

     printCovers:function(catarr, name, limit, logged) {
         var theList = document.getElementById(name);
         for(var i=0; i<limit; i++) {
            var theLocation = '/'+catarr[i][0];
            if((catarr[i][2] == 'gif') || (catarr[i][2] == 'jpg') ) {
               var theImgType = '_xs.'+catarr[i][2];
               var theSrc = '/images/'+catarr[i][0]+'/'+catarr[i][0]+theImgType;
            } else {
               var theSrc = '/images/'+catarr[i][0]+'/'+catarr[i][2];
           }

            var listElem = document.createElement('li');
            var theLink = document.createElement('a');
            if (logged == 1) {
               theLink.setAttribute('href', theLocation);
           }else {
               theLink.setAttribute('href', "#");
               theLink.onclick = function() {
                  OpenSignInPopup();
                  return false;
               }
            }
            var theImg = document.createElement('img');
            theImg.setAttribute('src', theSrc);
            theImg.setAttribute('alt', catarr[i][1]);
            theImg.setAttribute('title', catarr[i][1] );
            theLink.appendChild(theImg);
            listElem.appendChild(theLink);
            // create the para element and add its CSS class
            var theTitle = document.createElement('p');
            // create the anchor and attach attributes and event handlers
            var theTitleLink = document.createElement("a");
            if (logged == 1) {
               theTitleLink.setAttribute('href', theLocation);
            } else {
               theTitleLink.setAttribute('href', "#");
               theTitleLink.onclick = function() { 
                  OpenSignInPopup();
                  return false;
               }
            }
           // put the book's title inside the anchor
            theTitleLink.innerHTML = catarr[i][1];
            // put the anchor inside the para, then add the para to the list element
            theTitle.appendChild(theTitleLink);
            listElem.appendChild(theTitle);
            theList.appendChild(listElem);
         }  // end for
         
     }// end printCovers
  }; //end anonUI
