var randnum = Math.random();
var inum = 10;
var imagePath = '/img/';
var rand1 = Math.round(randnum * (inum-1)) + 1;
imgs = new Array
imgs[1] = "<a href='/do/product/your-childs-profession-of-faith'><img src='"+imagePath+"promo-profession.jpg' width='192' height='190' border='0' /></a><br />";
imgs[2] = "<a href='/do/category/character-building-collection'><img src='"+imagePath+"promo-character.jpg' width='192' height='190' border='0' /></a><br />";
imgs[3] = "<a href='http://facebook.com/GraceandTruthBooks' target='_blank'><img src='"+imagePath+"promo-facebook.jpg' width='192' height='190' border='0' /></a><br />";
imgs[4] = "<a href='/do/category/heritage-series-boys-books'><img src='"+imagePath+"promo-boys-heritage.jpg' width='192' height='190' border='0' /></a><br />";
imgs[5] = "<a href='/category/sets-and-series'><img src='"+imagePath+"promo-sets.jpg' width='192' height='190' border='0' /></a><br />";
imgs[6] = "<a href='/do/category/character-building-collection'><img src='"+imagePath+"promo-character.jpg' width='192' height='190' border='0' /></a><br />";
imgs[7] = "<a href='http://facebook.com/GraceandTruthBooks' target='_blank'><img src='"+imagePath+"promo-facebook.jpg' width='192' height='190' border='0' /></a><br />";
imgs[8] = "<a href='/do/category/heritage-series-girls-books'><img src='"+imagePath+"promo-girls-heritage.jpg' width='192' height='190' border='0' /></a><br />";
imgs[9] = "<a href='/category/sets-and-series'><img src='"+imagePath+"promo-sets.jpg' width='192' height='190' border='0' /></a><br />";
imgs[10] = "<a href='/do/category/character-building-collection'><img src='"+imagePath+"promo-character.jpg' width='192' height='190' border='0' /></a><br />";
imgs[11] = "<a href='http://facebook.com/GraceandTruthBooks' target='_blank'><img src='"+imagePath+"promo-facebook.jpg' width='192' height='190' border='0' /></a><br />";
var img = imgs[rand1];

var randnum2 = Math.random();
var inum2 = 8;
var rand12 = Math.round(randnum2 * (inum2-1)) + 1;
imgs2 = new Array;
imgs2[1] = "<a href='/do/category/christian-books-for-girls'><img src='"+imagePath+"promo-girls.jpg' width='192' height='190' border='0' /></a><br />";
imgs2[2] = "<a href='/product/gift-certificates'><img src='"+imagePath+"promo-giftcerts.jpg' width='192' height='190' border='0' /></a><br />";
imgs2[3] = "<a href='/do/category/puritans'><img src='"+imagePath+"promo-puritans.jpg' width='192' height='190' border='0' /></a><br />";
imgs2[4] = "<a href='/do/category/puritan-paperbacks'><img src='"+imagePath+"promo-puritan-paperbacks.jpg' width='192' height='190' border='0' /></a><br />";
imgs2[5] = "<a href='/do/category/mens-books'><img src='"+imagePath+"promo-men.jpg' width='192' height='190' border='0' /></a><br />";
imgs2[6] = "<a href='/product/gift-certificates'><img src='"+imagePath+"promo-giftcerts.jpg' width='192' height='190' border='0' /></a><br />";
imgs2[7] = "<a href='http://www.graceandtruthbooks.com'><img src='"+imagePath+"promo-judy-rogers.jpg' width='192' height='190' border='0' /></a><br />";
imgs2[8] = "<a href='/do/category/womens-books'><img src='"+imagePath+"promo-women.jpg' width='192' height='190' border='0' /></a><br />";
imgs2[9] = "<a href='/product/gift-certificates'><img src='"+imagePath+"promo-giftcerts.jpg' width='192' height='190' border='0' /></a><br />";
var img2 = imgs2[rand12];


var randnum3 = Math.random();
var inum3 = 4;
var rand13 = Math.round(randnum3 * (inum3-1)) + 1;
imgs3 = new Array;
imgs3[1] = "<a href='/do/category/henty-books'><img src='"+imagePath+"promo-henty.jpg' width='192' height='190' border='0' /></a><br />";
imgs3[2] = "<a href='/do/category/christian-fiction'><img src='"+imagePath+"promo-fiction.jpg' width='192' height='190' border='0' /></a><br />";
imgs3[3] = "<a href='/do/category/family-worship'><img src='"+imagePath+"promo-family-worship.jpg' width='192' height='190' border='0' /></a><br />";
imgs3[4] = "<a href='/do/category/catechisms-and-confessions'><img src='"+imagePath+"promo-confessions.jpg' width='192' height='190' border='0' /></a><br />";
imgs3[5] = "<a href='/do/category/theology'><img src='"+imagePath+"promo-theology.jpg' width='192' height='190' border='0' /></a><br />";
var img3 = imgs3[rand13];



var randnum4 = Math.random();
var inum4 = 4;
var rand14 = Math.round(randnum4 * (inum4-1)) + 1;
imgs4 = new Array;
imgs4[1] = "<a href='/do/category/parenting-child-rearing'><img src='"+imagePath+"promo-child-rearing.jpg' width='192' height='190' border='0' /></a><br />";
imgs4[2] = "<a href='/do/product/fireproof-the-movie'><img src='"+imagePath+"promo-fireproof-dvds.jpg' width='192' height='190' border='0' /></a><br />";
imgs4[3] = "<a href='/do/category/bargain-books'><img src='"+imagePath+"promo-bargains.jpg' width='192' height='190' border='0' /></a><br />";
imgs4[4] = "<a href='/do/category/lamplighter'><img src='"+imagePath+"promo-lamplighter.jpg' width='192' height='190' border='0' /></a><br />";
imgs4[5] = "<a href='/do/category/christian-books-for-boys'><img src='"+imagePath+"promo-boys.jpg' width='192' height='190' border='0' /></a><br />";
var img4 = imgs4[rand14];



