<!-- HIDE FROM OTHER BROWSERS
//##############################################################################
// # © Copyright 2000 Autolycus Corp. All Rights Reserved  Patents Pending     #
// # JavaScript Object VR                              Version 1.3             #
// # info@autolycus.com                                Created 11/3/1999       #
// # http://www.autolycus.com                          Last Modified 4/2/2001  #
// #                                                                           #
// # This code is protected by US and international law including copyright.   #
// # Any illegal copying, modificaton or theft is prohibited and is punishable #
// # by law. For further information, please contact Autolycus Corporation at  #
// # info@autolycus.com or 717.761.9080.                                       #
//##############################################################################

//This script has been created solely for the use of 2 Wheel Films by small3D, LLC.  Any other use of 
//this script is illegal. Owners of other sites caught illegally using this script will be 
//turned into the BSA.

// Declare variables
var preloadFlag = false;          // Variable that is used only to make sure all the images for the animation are preloaded
var shot_number = "1";            // First image in the animation
var total_frames = "3";          // Total number of images in animation
var spinning = "YES";             // Whether or not the image is to spin when the page loads
var spin_direction = "RIGHT";     // What direction the image is to spin when the page loads
var spin_speed = "1200";           // The speed at which the animation is to run. Lower numbers equal faster playback
var spin_object = "STech";        // The object or image space that will be used for the animation playback

// Function to preload the VR images and assign them to predefined variables
function Preload_Images() {
	if (document.images) {
		frame1 = new Image;
		frame1.src = "images/SnowyMailboxlg.jpg";
		frame2 = new Image;
		frame2.src = "images/JanuaryFlyfishinglg.jpg";
		frame3 = new Image;
		frame3.src = "images/SnowOnSprucelg.jpg";
		preloadFlag = true;
	}
}

// Function that handles the rollovers when you mouse over a button
function Rollover(imgDocID,imgNumber) {
	shot_number = imgNumber;
	spinning = "NO";
	document.images[imgDocID].src = eval("frame" + shot_number + ".src");
}

// Function that handles the Auto-Spin
function Auto_Spin(imgDocID,imgObjName) {
	if (spinning == "YES") {
		if (spin_direction == "RIGHT") {
			document.images[imgDocID].src = eval(imgObjName + shot_number + ".src");
			if (shot_number == total_frames) {
				shot_number = "1";
			} else {
				shot_number = eval(shot_number + " + 1");
			}
			setTimeout("Auto_Spin(spin_object,'frame');",spin_speed);
		} else {
			document.images[imgDocID].src = eval(imgObjName + shot_number + ".src");
			if (shot_number == "1") {
				shot_number = total_frames;
			} else {
				shot_number = eval(shot_number + " - 1");
			}
			setTimeout("Auto_Spin(spin_object,'frame');",spin_speed);
		}
	}
}

document.write('');
document.write('<MAP NAME="VR">');
document.write('<AREA SHAPE="rect" COORDS="0,0,186,420" HREF="#" ONMOUSEOVER="Rollover(\'STech\',\'1\'); window.status=\'\'; return true;" ONFOCUS="STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="187,0,372,420" HREF="#" ONMOUSEOVER="Rollover(\'STech\',\'2\'); window.status=\'\'; return true;" ONFOCUS="STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="373,0,560,420" HREF="#" ONMOUSEOVER="Rollover(\'STech\',\'3\'); window.status=\'\'; return true;" ONFOCUS="STech.blur(); return true;">');
document.write('</MAP>');

// STOP HIDING FROM OTHER BROWSERS -->

