JSFiddle - React, Tailwind, and code Playground
JavaScript
var imagenumber = 10 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
images = new Array;
images[1] = "/img/rot3gal/cash.jpg";
images[2] = "/img/rot3gal/carinjo.jpg";
images[3] = "/img/rot3gal/casillas.jpg";
images[4] = "/img/rot3gal/churchill.tif";
images[5] = "/img/rot3gal/colman.jpg";
images[6] = "/img/rot3gal/concosmos.jpg";
images[7] = "/img/rot3gal/cooper.jpg";
images[8] = "/img/rot3gal/corlando.jpg";
images[9] = "/img/rot3gal/magicmemphis.jpg";
images[10] = "/img/rot3gal/sidney.jpg";
var image = images[rand1];
links = new Array;
links[1] = "http://www.stutteri-volstrup.dk/cash.shtml";
links[2] = "http://www.stutteri-volstrup.dk/carinjo.shtml";
links[3] = "http://www.stutteri-volstrup.dk/casillas.shtml";
links[4] = "http://www.stutteri-volstrup.dk/churchill.shtml";
links[5] = "http://www.stutteri-volstrup.dk/colman.shtml";
links[6] = "http://www.stutteri-volstrup.dk/concosmos.shtml";
links[7] = "http://www.stutteri-volstrup.dk/cooper.shtml";
links[8] = "http://www.stutteri-volstrup.dk/corlando.shtml";
links[9] = "http://www.stutteri-volstrup.dk/magicmemphis.shtml";
links[10] = "http://www.stutteri-volstrup.dk/sidney.shtml";
var link = links[rand1];
var Quotation=new Array();
Quotation[1] = "Volstrups Cash";
Quotation[2] = "Carinjo DVH 847";
Quotation[3] = "Volstrups Casillas DVH 928";
Quotation[4] = "Churchill EDH 475";
Quotation[5] = "Colman";
Quotation[6] = "Con Cosmos DVH 898";
Quotation[7] = "Blejsbjergs Cooper DVH 874";
Quotation[8] = "Corlando EDH 476";
Quotation[9] = "Magic Memphis";
Quotation[10] = "Sidney DH 412";
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){ return Quotation[whichQuotation];}
document.write('<A HREF="' + link + '"><IMG SRC="' + image + '" border="0" width="110" height="90"></a>')
showQuotation();