var currentdate = 0
var core = 0
function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' ' 
	} 
}
image = new StringArray(8)
image[0] = 'images/FP/Aaron.jpg'
image[1] = 'images/FP/LauraP.jpg'
image[2] = 'images/FP/Lori.jpg'
image[3] = 'images/FP/BrianM.jpg'
image[4] = 'images/FP/AngelaQ.jpg'
image[5] = 'images/FP/Terra.jpg'
image[6] = 'images/FP/KatieO.jpg'
image[7] = 'images/FP/JessP.jpg'
var ran = 60/image.length
function ranimage() {
  currentdate = new Date()
  core = currentdate.getSeconds()
  core = Math.floor(core/ran)
    return(image[core]) 
}
function showImage(){
document.write("<img src='" +ranimage()+ "' ALT='Actual employee, not a stock photo' WIDTH='78' HEIGHT='94' HSPACE='2' BORDER='1'>");
}


function buildArray() {
  var a = buildArray.arguments;
  for (i=0; i<a.length; i++) {
    this[i] = a[i];
  }
  this.length = a.length;
}
var urls1 = new buildArray(
"",
"https://www.printingforless.com/cardsbookmarks.html",
"https://www.printingforless.com/brochureseight.html",
"https://www.printingforless.com/brochuresfourteen.html",
"https://www.printingforless.com/brochureseleven.html",
"https://www.printingforless.com/brochurestwentyfive.html",
"https://www.printingforless.com/cardsbusinesscards.html",
"https://www.printingforless.com/calendars.html",
"https://www.printingforless.com/catalogsfive.html",
"https://www.printingforless.com/catalogseight.html",
"https://www.printingforless.com/cdcovers.html",
"custompieces.html",
"https://www.printingforless.com/cardsdoorhangers.html",
"https://www.printingforless.com/stationeryenvelopesonly.html",
"https://www.printingforless.com/filefolders.html",
"https://www.printingforless.com/cardsgreetingcards.html",
"https://www.printingforless.com/stationerylrgenvelopes.html",
"https://www.printingforless.com/stationeryletterhead.html",
"https://www.printingforless.com/stationeryletterheadonly.html",
"https://www.printingforless.com/newsletterseight.html",
"https://www.printingforless.com/newsletterseleven.html",
"https://www.printingforless.com/newsletterstwentyfive.html",
"https://www.printingforless.com/cardspostcards.html",
"https://www.printingforless.com/brochuresposters.html",
"https://www.printingforless.com/presentationfolders.html",
"https://www.printingforless.com/cardsrackcards.html",
"https://www.printingforless.com/statementstuffers.html");
function go(which, num, win) {
  n = which.selectedIndex;
  if (n != 0) {
    var url = eval("urls" + num + "[n]")
    if (win) {
      openWindow(url);
    } else {
      location.href = url;
    }
  }
}
