// JavaScript Document
//Display Month, date and year
function MyDate(){
monName= new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
now = new Date();
document.write("<p align='left'>.: " + monName[now.getMonth()] + " " + now.getDate() +", "+ (now.getFullYear()) + " :.</p>");
}
//Randomize flash animations
function randFlash(){
var rand1 = Math.ceil(Math.random()*8);
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='709' height='206'>")
document.write ("<param name='movie' value='flash/" + rand1 + ".swf'><param name='quality' value='high'>");
document.write ("<embed src='flash/" + rand1 + ".swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='709' height='206'> </embed></object>");
}
//Randomize images
function randimage(){
var pic=new Array();
var stle=new Array();
pic[0] ="becky"; stle[0] = "Becky Lamb &ndash; Marketing Director";
pic[1] ="eric"; stle[1] = "Eric Himmelberg &ndash; Network Administrator";
pic[2] ="deb"; stle[2] = "Deb Burtle &ndash; Customer Service Rep.";
pic[3] ="kim"; stle[3] = "Kim Brown &ndash; President";
pic[4] ="box"; stle[4] = "";
pic[5] ="heather-ponce"; stle[5] = "Heather &amp; Ponce Gomez, Owners &ndash; Zemog's Mexican Restaurant";
pic[6] ="mike"; stle[6] = "Mike Costello, Restaurant Specialist &ndash; Sapp Bros Cafe";
pic[7] ="fleet"; stle[7] = "";
pic[8] ="rice"; stle[8] = "";
pic[9] ="truck"; stle[9] = "";
pic[10] ="lemon"; stle[10] = "";
pic[11] ="pineapple"; stle[11] = "";
pic[12] ="onions"; stle[12] = "";
pic[13] ="tomatos"; stle[13] = "";
pic[14] ="tomatos2"; stle[14] = "";
pic[15] ="potatos"; stle[15] = "";
pic[16] ="coffee"; stle[16] = "";
pic[17] ="strawberries"; stle[17] = "";
pic[18] ="logo"; stle[18] = "";
pic[19] ="spice"; stle[19] = "";
var rand1 = Math.ceil(Math.random()*19);
document.write ("<tr><td height='140' colspan='2' valign='top'><img src='images/company/"+pic[rand1]+".jpg' width='237' height='138'></td></tr>");
document.write ("<tr><td height='18' colspan='2'  valign='top' class='Red_Bold'><div align='center'>"+stle[rand1]+"</div></td></tr>");
}
//Display date page last modified
function docmod(){
var pdate = document.lastModified.split(" ");
document.write ("Site Last Updated: " + pdate[0]);	
}
