<!--
// MissavageSeed.com plot.js
// slideshow script (c) AFePub.com - you may copy for personal use //
// please notify us first for permission to use in commercial applications //
// full function buttons //

// add weekly photo shoot updates to bottom of list //
// update thisOne to weekly midpoint group start -2 or -4 in this instance //
// update HTML <img = to match if you want midpoint as default on load //

// assign picImages[array] in /plotpic.js first & start pic in this group //

// then continue functions

var imgCt = picImages.length;
var imgOne = 0;
// set first pic to start in latest group //
var thisOne = imgCt - imgGroup;
var imgLast = imgCt;
imgLast--;

  function newLocation() {
    imgLast = thisOne;
    document.location.href = picImages[thisOne];
  }

  function processPrevious() {
    if(document.images && thisOne > imgOne) {
      thisOne--;
      document.photo.src=picImages[thisOne];
    }
  }

  function processNext() {
    if(document.images && thisOne < imgLast) {
      thisOne++;
      document.photo.src=picImages[thisOne];
    }
  }

  function processFirst() {
    if(document.images) {
      thisOne =  imgOne;
      document.photo.src=picImages[thisOne];
    }
  }

  function processLast() {
    if(document.images) {
      thisOne = imgLast;
      document.photo.src=picImages[thisOne];
    }
  }
  
//-->
