function pickhouse() {
  var indexhouses = [
    "./img/mansardlegg.jpg",
    "./img/littlebit.jpg",
    "./img/colonialbit.jpg",
    "./img/hollyann.jpg",
    "./img/kottonkandy.jpg",
    "./img/ladyashley.jpg"
  ];
  var i = Math.floor(Math.random() * indexhouses.length);
  var himg = indexhouses[i];
  delete(indexhouses[i]);
  return himg;
}

var categories = [
  new Category('home',"Home",
      '<p><img style="float:right;clear:right;" src="' + pickhouse() + '" border="0" alt="HJB Dollhouse" />'
    + 'Welcome to the premier dollhouse manufacture, The House That Jack Built.  Since '
    + 'the company was born, its owners and staff have been committed to satisfying '
    + 'the needs and desires of collectors and dollhouse enthusiasts from around the globe.'
    + '</p>'
    + '<p>Each house is a precious all-American, hand-crafted treasure.</p>'
  ),

  new Category('whatsnew',"What's New",false),

  new Category('cherylsplace','<center><img src="thumbs/cherylsplace.jpg" alt="Cheryl\'s Place"/></center>',
      '<p><font style="font-weight:bold;">Cheryl\'s Place</font> is the latest addition to the HBJ Dollhouse list. '
    + 'This warm and cozy two-story house has an open rear featuring not just the stairs to the second floor, but a second set of stairs to the attic! '
    + 'This house has what it takes to look and feel like a house you could just live in yourself.</p>'
    + '<div style="width:100%;text-align:center;">'
    + '<img style="margin:5px;" src="img/cherylsplace.jpg" height="250" width="250" border="0" alt="HJB Dollhouse" />'
    + '<img style="margin:5px;" src="img/cherylsplace2.jpg" height="250" width="250" border="0" alt="HJB Dollhouse" />'
    + '<img style="margin:5px;" src="img/cherylsplace3.jpg" height="250" width="250" border="0" alt="HJB Dollhouse" />'
    + '</div>'
  ),
  
  new Category('kottonkandyspecial','<img src="whatsnew3-thumb.jpg" alt="Kotton Kandy Special"/>',
      '<p><img style="float:right;clear:right;" src="whatsnew3.jpg" border="0" alt="HJB Dollhouse" />'
    + 'A new look for a classic House that Jack Built.  The Kotton Candy Special features a colorful '
    + 'roof resembling a cornecopea of candy, and playful twists to the columns of the porch.  A standout '
    + 'special for your collection!'
    + '</p>'
  ),
  
  new Category('whatsnew1','<img src="whatsnew1-thumb.jpg" alt="Hannah\'s Haven"/>',
      '<p><img style="float:right;clear:right;" src="whatsnew1.jpg" border="0" alt="Hannah\'s Haven" />'
    + 'Dollhouses may be an old passtime, but they sure do come in all shapes and sizes, and there are often new innovations in dollhouse collections. '
    + 'Today we feature Hannah\'s Haven near completion as one of our artists plies her craft attentively with each stroke.'
    + '</p>'
  ),

  new Category ('whatsnew2','<img style="background: black;" src="whatsnew2-thumb.gif" alt="The New Yorking"/>',
      '<p><img style="float:right;clear:right;clear:left;background:black;" src="whatsnew2.gif" border="0" alt="The New Yorker" />'
    + 'There is lots of demand for this next house.  The New Yorker.  '
    + 'What better house to feature on what\'s new than a house '
    + 'reminiscent of the Big Apple?  It has the style and class of Brooklyn life; '
    + 'a must have for any collection.'
    + '</p>'
  )
];
