<!-- HIDE FROM OTHER BROWSERS


// Declare variables
var shot_number = 1;              // First image in the animation
var total_frames = 16;            // Total number of images in animation
var spin_direction = "RIGHT";     // What direction the image is to spin when the page loads
var spin_speed = "200";           // The speed at which the animation is to run. Lower numbers equal faster playback
var shots = new Array;

// Function to preload the VR images and assign them to predefined variables
function Preload_Images()
{
 for (x = 1; x < 17; x++)
 {
  var frame = new Image;
  var name = "frame" + x;
  frame.id = name;
  frame.name = name;
  shots[x] = frame;
  if (x < 10)
   frame.src = "frame0" + x + ".jpg";
  else
   frame.src = "frame" + x + ".jpg";
 }
}

// Function that handles the Auto-Spin
function Auto_Spin()
{
 movie.src = shots[shot_number].src;
 if (spin_direction == "RIGHT") {
  if (shot_number == total_frames) {
   shot_number = 1;
  } else {
   shot_number = shot_number + 1;
  }
 }
 else
 {
  if (shot_number == 1) {
   shot_number = total_frames;
  } else {
   shot_number = shot_number- 1;
  }
 }
 setTimeout("Auto_Spin();",spin_speed);
}


function bodyLoad()
{
  mySpan.innerText = "Allen Rusek";
  Auto_Spin();
}

// STOP HIDING FROM OTHER BROWSERS -->