
function getRandomNumber() 
{
	return (Math.floor(Math.random() * images.length));
}

var MAXPICTURES = 17;
images = new Array(MAXPICTURES);
names = new Array(MAXPICTURES);

var prefix = "<td align=\"center\" valign=\"top\">";
var postfix = "</td>";

var prefixNames = "<td align=\"center\" valign=\"top\"><p class=\"pBook\">";
var postfixNames = "</p></td>";

images[0] = prefix + "<a href = 'ltb'><img src='images/books/book_01.jpg' alt=\"Learning The Business One Story At A Time\" title=\"Learning The Business One Story At A Time\" hspace=\"3\"  vspace=\"3\"></a>" + postfix ;
images[1] = prefix + "<a href = 'art'><img src='images/books/book_02.gif' alt=\"The Simple Art of Duplication\" title=\"The Simple Art of Duplication\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[2] = prefix + "<a href = 'fundamentals.html'><img src='images/books/book_03.gif' alt=\"Mastering The Fundamentals\" title=\"Mastering The Fundamentals\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;											
images[3] = prefix + "<a href = 'thinketh'><img src='images/books/book_04.gif' alt=\"As A Man Thinketh\" title=\"As A Man Thinketh\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[4] = prefix + "<a href = 'fc'><img src='images/books/book_05.gif' alt=\"Future Choice\" title=\"Future Choice\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[5] = prefix + "<a href = 'life'><img src='images/books/book_06.gif' alt=\"Building A Better Life\" title=\"Building A Better Life\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;											
images[6] = prefix + "<a href = 'ypt'><img src='images/books/book_07.gif' alt=\"Your Prospecting Toolbox\" title=\"Your Prospecting Toolbox\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[7] = prefix + "<a href = 'developingleaders.html'><img src='images/books/book_08.gif' alt=\"The Secret To Developing Leaders\" title=\"The Secret To Developing Leaders\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[8] = prefix + "<a href = 'tsp'><img src='images/books/book_09.gif' alt=\"Total MLM Success Pack\" title=\"Total MLM Success Pack\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;											
images[9] = prefix + "<a href = '28days.html'><img src='images/books/book_10.gif' alt=\"28 Days To Your New Future\" title=\"28 Days To Your New Future\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[10] = prefix + "<a href = 'think'><img src='images/books/book_11.gif' alt=\"Thinking Your Way To Success\" title=\"Thinking Your Way To Success\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[11] = prefix + "<a href = 'mlm-tools-online'><img src='images/books/book_12.gif' alt=\"67 Days To MLM Success\" title=\"67 Days To MLM Success\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;											
images[12] = prefix + "<a href = 'edge'><img src='images/books/book_13.jpg' alt=\"The Slight Edge\" title=\"The Slight Edge\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[13] = prefix + "<a href = 'v'><img src='images/books/book_14.gif' alt=\"The Fifth Principle\" title=\"The Fifth Principle\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;											
images[14] = prefix + "<a href = 'you'><img src='images/books/book_15.gif' alt=\"Building The Network Marketing Business YOU Really Want!\" title=\"Building The Network Marketing Business YOU Really Want!\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[15] = prefix + "<a href = 'rfs'><img src='images/books/book_16.gif' alt=\"Recipe For MLM Success\" title=\"Recipe For MLM Success\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;											
images[16] = prefix + "<a href = 'vision'><img src='images/books/book_17.jpg' alt=\"Mach II With Your Hair On Fire\" title=\"Mach II With Your Hair On Fire\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;
images[17] = prefix + "<a href = 'no'><img src='images/books/book_18.gif' alt=\"Go for No!\" title=\"Go for No!\" hspace=\"3\"  vspace=\"3\" ></a>" + postfix ;


names[0] = prefixNames + "<a href = 'ltb'>It's How MLM Works</a>" + postfixNames ;
names[1] = prefixNames + "<a href = 'art'>MLM Duplication</a>" + postfixNames ;
names[2] = prefixNames + "<a href = 'fundamentals.html'>The MLM Fundamentals</a>" + postfixNames ;											
names[3] = prefixNames + "<a href = 'thinketh'>Your Thinking Matters</a>" + postfixNames ;
names[4] = prefixNames + "<a href = 'fc'>Why MLM Works</a>" + postfixNames ;
names[5] = prefixNames + "<a href = 'life'>Design The MLM Life You Want</a>" + postfixNames ;											
names[6] = prefixNames + "<a href = 'ypt'>More MLM Prospects</a>" + postfixNames ;
names[7] = prefixNames + "<a href = 'developingleaders.html'>Find More MLM Leaders</a>" + postfixNames ;
names[8] = prefixNames + "<a href = 'tsp'>Create Total MLM Success</a>" + postfixNames ;											
names[9] = prefixNames + "<a href = '28days.html'>Your First Month In MLM</a>" + postfixNames ;
names[10] = prefixNames + "<a href = 'think'>Learn To Think Like A Leader</a>" + postfixNames ;
names[11] = prefixNames + "<a href = 'mlm-tools-online'>67 Days To MLM Success</a>" + postfixNames ;											
names[12] = prefixNames + "<a href = 'edge'>How Success Works</a>" + postfixNames ;
names[13] = prefixNames + "<a href = 'v'>Mastering MLM Basics</a>" + postfixNames ;											
names[14] = prefixNames + "<a href = 'you'>Building The Business</a>" + postfixNames ;
names[15] = prefixNames + "<a href = 'rfs'>The Recipe For MLM Success</a>" + postfixNames ;											
names[16] = prefixNames + "<a href = 'vision'>Motivate Yourself</a>" + postfixNames ;
names[17] = prefixNames + "<a href = 'no'>Your Greatest Asset</a>" + postfixNames ;

										
index0 = getRandomNumber();
different = true;
while(different) {

	index1 = getRandomNumber();
	index2 = getRandomNumber();
	if(index0 != index1 && index0 != index2 && index1 != index2 )
		different = false;
}
	document.write('<tr>');
	document.write(images[index0]);
	document.write(images[index1]);
	document.write(images[index2]);
	document.write('</tr><tr>');
	document.write(names[index0]);
	document.write(names[index1]);
	document.write(names[index2]);
	document.write('</tr>');



