 if (document.images)
 {
     front01="<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td><center><img src=catalog/jdm/n/300zx/featured/car1/frontpic.jpg></center></td></tr></table><p><small>MVP Customer, James Decuir's 1991 300ZX Twin Turbo with too many mods to list here. Here's a <a href=300zx_car1.shtml>mod list</a> of all he's done.<br><br>**<a href=300zx_addmycar.shtml>Click Here</a> to get your 300ZX added to MVP's website!</small><p>";
     front02="<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td><center><img src=catalog/jdm/n/300zx/featured/car2/frontpic.jpg></center></td></tr></table><p><small>MVP Customer, Nasser from Qatar's 1992 300ZX Twin Turbo with too many mods to list here. Here's a <a href=300zx_car2.shtml>mod list</a> of all he's done.<br><br>**<a href=300zx_addmycar.shtml>Click Here</a> to get your 300ZX added to MVP's website!</small><p>";
     front03="<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td><center><img src=catalog/jdm/n/300zx/featured/car3/frontpic.jpg></center></td></tr></table><p><small>MVP Customer, Gregory's 1990 300ZX Twin Turbo with too many mods to list here. Here's a <a href=300zx_car3.shtml>mod list</a> of all he's done.<br><br>**<a href=300zx_addmycar.shtml>Click Here</a> to get your 300ZX added to MVP's website!</small><p>";
     front04="<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td><center><img src=catalog/jdm/n/300zx/featured/car4/frontpic.jpg></center></td></tr></table><p><small>MVP Customer, George's 1995 300ZX Twin Turbo with too many mods to list here. Here's a <a href=300zx_car4.shtml>mod list</a> of all he's done.<br><br>**<a href=300zx_addmycar.shtml>Click Here</a> to get your 300ZX added to MVP's website!</small><p>";
 }    

function get_random(mNum)
{
  if (Math.random && Math.round)
  {
    var rNum= Math.round(Math.random()*(mNum-1));
    rNum+=1;
    return rNum;
  }
  else
  {
  today= new Date();
  hours= today.getHours();
  mins=   today.getMinutes();
  secn=  today.getSeconds();
  if (hours==19)
   hours=18;
  var rNum= (((hours+1)*(mins+1)*secn)%maxNum)+1;
  return rNum;
  }
}

function get_frontpics()
{
 if (document.images)
 {
  var pick_one= get_random(4);
  pick_one--;

  var front= new Array(4)
   front[0]=front01;
   front[1]=front02;
   front[2]=front03;
   front[3]=front04;

  document.write(front[pick_one]);
 }
}
