// Random image loading used with books

// Set up a variable to save our image path.
var image
// Set up an array to store our image list.
image_array = new Array()

// Trading Room
image_array[0]="<a href='http://www.invest-store.com/rightline/' target='_blank'><img src='http://www.rightline.net/images/tradingroom.jpg' width='100' height='150' align='top' border='0'  alt='&quot;Come Into My Trading Room&quot; by Dr. Alexander Elder'></a>"
// Trade Your Way To Financial Freedom
image_array[1]='<a href="http://www.invest-store.com/rightline/" target="_blank"><img src="http://www.rightline.net/images/trade-freedom.jpg" width="83" height="125" border="0" alt="stock splits"></a>'
// Disciplined Trader
image_array[2]='<a href="http://www.invest-store.com/rightline/" target="_blank"><img src="http://www.rightline.net/images/disctrader.jpg" width="99" height="147" border="0" alt="&quot;The Disciplined Trader: Developing Winning Attitudes&quot; by Mark Douglas"></a>'



// Get the current date and time and store in a variable, theTime.
var theTime = new Date()

// Get a random number by dividing the seconds portion of theTime 
// and returning the value after the decimal point.
var num = (theTime.getSeconds()) % 3

// Use the random number to pull out a path stored in the array.
image = image_array[num]