var pic, alt;
pic = new Array;
pic[0] = "../images/427side.jpg";
pic[1] = "../images/ferrari.jpg";
pic[2] = "../images/stingray.jpg"; 
pic[3] = "../images/tbird.jpg";
pic[4] = "../images/426hemi.jpg";
pic[5] = "../images/cadfin.jpg"; 
pic[6] = "../images/gullwing.jpg";
pic[7] = "../images/f1.jpg";
pic[8] = "../images/cadbreast.jpg"; 
pic[9] = "../images/wrx.jpg";
pic[10] = "../images/67vette.jpg";
pic[11] = "../images/442w30b.jpg"; 
pic[12] = "../images/bonneville.jpg";
pic[13] = "../images/boss429.jpg";
pic[14] = "../images/58eldo1.jpg";
pic[15] = "../images/ss396.jpg";
pic[16] = "../images/vette_cockpit.jpg";
pic[17] = "../images/bonnev_dash.jpg";
pic[18] = "../images/300f.jpg";
pic[19] = "../images/stingray_shape.jpg";
pic[20] = "../images/race_cobra.jpg";
pic[21] = "../images/tbird2.jpg";
pic[22] = "../images/cad_grill.jpg";
pic[23] = "../images/cad_lady.jpg";
pic[24] = "../images/auburn.jpg";
pic[25] = "../images/63ray.jpg";
pic[26] = "../images/stude.jpg";
pic[27] = "../images/formula.jpg";
pic[28] = "../images/fuelie.jpg";
pic[29] = "../images/z28.jpg";
pic[30] = "../images/63tbird.jpg";
pic[31] = "../images/imperial.jpg";
pic[32] = "../images/58impala.jpg";
pic[33] = "../images/cord.jpg";
pic[34] = "../images/70ta.jpg";
pic[35] = "../images/68gto.jpg";
pic[36] = "../images/60impala2.jpg";
pic[37] = "../images/68ss427impala.jpg";
pic[38] = "../images/67442.jpg";
pic[39] = "../images/66vette.jpg";




alt = new Array;
alt[0] = "Pure 427 Cobra muscle";
alt[1] = "Ferrari marque";
alt[2] = "Classic Stingray going away"; 
alt[3] = "Classic Thunderbird";
alt[4] = "426 Hemi Challenger";
alt[5] = "1959 Cadillac fin-art"; 
alt[6] = "1956 Mercedes Benz Gullwing";
alt[7] = "Ferrari F1";
alt[8] = "Cadillac bumper"; 
alt[9] = "WRX rally terror";
alt[10] = "1967 Corvette 427";
alt[11] = "1970 W30 442 Indy pace car";
alt[12] = "1960 Pontiac Bonneville";
alt[13] = "Boss 429 Mustang";
alt[14] = "1957 Eldorado Biarritz";
alt[15] = "1969 SS396 Camaro";
alt[16] = "1962 Corvette cockpit";
alt[17] = "1960 Bonneville classic dashboard";
alt[18] = "Chrysler 300F";
alt[19] = "1965 Corvette Stingray";
alt[20] = "Shelby race Cobra";
alt[21] = "Classic T-Bird feature";
alt[22] = "Cadillac grill";
alt[23] = "Cadillac hood ornament";
alt[24] = "Auburn hood ornament";
alt[25] = "The original Stingray";
alt[26] = "Studebaker Commander";
alt[27] = "Formula Firebird";
alt[28] = "1964 injected Stingray";
alt[29] = "1968 Z28 RS";
alt[30] = "63 T-Bird";
alt[31] = "1960 Chrysler Imperial";
alt[32] = "1958 Chevrolet Impala";
alt[33] = "Classic Cord";
alt[34] = "1970 Firebird Trans Am";
alt[35] = "1968 Pontiac GTO";
alt[36] = "1960 Chevrolet Impala";
alt[37] = "1968 SS427 Impala";
alt[38] = "1967 Olds 442";
alt[39] = "1966 427 Corvette";


var now = new Date();
var seed = now.getTime() % 0xffffffff;

function rand(n) {
seed = (0x015a4e35 * seed) % 0x7fffffff;
return ( seed >> 16 ) % n;
} 

var num = rand(40);

var myDate = new Date();
  var myDay = myDate.getDate();
  var myMonth = myDate.getMonth();
  var myYear = myDate.getFullYear();
  var dd;
  if(myDay < 10)
  {
   dd = "0" + myDay;  
  }else{
   dd = myDay;
  }
  var mm;
  if(myMonth < 10)
  {
   mm = "0" + myMonth;  
  }else{
   mm = myMonth;
  }
  mm ++;
  var showDate = "Today's date is: " + mm + "/" + dd + "/" + myYear;
  
function checkEmail(eObj)
{//checks for @ symbol, and period, only
 if(eObj.value.indexOf("@") != -1 && eObj.value.indexOf(".")!= -1)
 {
 	return true;
 }else{
    alert("Please enter a valid email address");
	eObj.value = "";
	eObj.focus();
	return false;
 }
}
