I added a nifty bit of javascript to a block on my site that pulls a random book from a list of my amazon associates links
Here is the javascript code if anyone wants to do the same.
Just change the IFRAME links to your amazon associate links.
<script language="JavaScript">
function random_text()
{};
var random_text = new random_text();
// Set the number of text strings to zero to start
var number = 0;
// Incremental list of all possible Text
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760318026&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=B000FWGVOM&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760321132&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760324743&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736824383&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760311846&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736824391&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760320322&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0736804773&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
random_text[number++] = "<iframe src='http://rcm-uk.amazon.co.uk/e/cm?t=eastcorkmotor-21&o=2&p=8&l=as1&asins=0760306605&fc1=000000&IS2=1<1=_blank&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&npa=1' style='width:120px;height:240px;' scrolling='no' marginwidth='0' marginheight='0' frameborder='0'></iframe>"
// Create a random number with limits based on the number
// of possible random text strings
var random_number = Math.floor(Math.random() * number);
// Write out the random text to the browser
document.write(random_text[random_number]);
</script>
[*2]