
<!-- Begin Random 400px Image Selector-->

pic_height=400;   /* change to match the height of all your images */
border_size=1;   /* change to the border size you want on the images */
alignment=1;      /* 0=left,1=center */

if (alignment==1)
 {
  cent_it="<center>";
  cent_it2="</center>";
  retu="<br>";
  bold="</b>";
  endbold="</b>";
  font="<font face='comic sans ms' size='1'>";
  endfont="</font>";
 }
else
 {
  cent_it="";
  cent_it2="";
 }
 
function get_random(maxNum)
{
    var ranNum= Math.round(Math.random()*(maxNum-1));
    ranNum+=1;
    return ranNum;

}

// Note- get_random(5) selects first 5 of 5 selections

function Print_RandomImage400()
{
 if (document.images)
 {
  var choose_one= get_random(0);  
  choose_one--;

  var pics= new Array();

   //pics[0]="http://maxton.com/MainPage/conundrum-no37a.jpg"; 
   //pics[1]="http://maxton.com/MainPage/conundrum-no25a.jpg";

   var text= new Array(); 
   //text[0] = "Conundrum #37 in the collection of Claudio Ballard of Lloyd Harbor, New York, USA";
   //text[1] = "Conundrum #25 in the collection of Eran Gabber of Summit, New Jersey, USA";


document.write(tablebgcolor_daily[theDate.getDay()+1]); 
document.write('<tr><td><center>');
document.write('<table border="1" width="675" bordercolor="#000000" bgcolor="#CCCCCC" ALIGN="CENTER"> <tbody> <tr> <td>');
document.write('<img src="http://www.maxton.com/gallery/banner2006.jpg"');
document.write('</td></tr></tbody></table>');
//document.write('<table border="1" width="685" bordercolor="#000000" bgcolor="#CCCCCC" ALIGN="CENTER"> <tbody> <tr> <td>');
//document.write(cent_it+"<img src='"+pics[choose_one]+"' height='"+pic_height+"' border='"+border_size+"'>"+retu+
//bold+font+text[choose_one]+cent_it2+endbold+endfont);
//document.write('</td> </tr> </tbody> </table>');
document.write('</center></td></tr>');
document.write('</table>');
 }
}

<!--End Random 400px Image Selector-->
