<!-- HIDE FROM OTHER BROWSERS

// Declare variables
var bluehelmet_preloadFlag = false;                   // Variable that is used only to make sure all the images for the animation are preloaded
var bluehelmet_shot_number = "1";                     // First image in the animation
var bluehelmet_total_frames = "8";                    // Total number of images in animation
var bluehelmet_spinning = "YES";                      // Whether or not the image is to spin when the page loads
var bluehelmet_spin_direction = "RIGHT";              // What direction the image is to spin when the page loads
var bluehelmet_spin_speed = "200";                    // The speed at which the animation is to run. Lower numbers equal faster playback
var bluehelmet_spin_object = "bluehelmet_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 bluehelmet_Preload_Images() {
	if (document.images) {
		bluehelmet_frame1 = new Image;
		bluehelmet_frame1.src = "bluehelmet_frame01.jpg";
		bluehelmet_frame2 = new Image;
		bluehelmet_frame2.src = "bluehelmet_frame02.jpg";
		bluehelmet_frame3 = new Image;
		bluehelmet_frame3.src = "bluehelmet_frame03.jpg";
		bluehelmet_frame4 = new Image;
		bluehelmet_frame4.src = "bluehelmet_frame04.jpg";
		bluehelmet_frame5 = new Image;
		bluehelmet_frame5.src = "bluehelmet_frame05.jpg";
		bluehelmet_frame6 = new Image;
		bluehelmet_frame6.src = "bluehelmet_frame06.jpg";
		bluehelmet_frame7 = new Image;
		bluehelmet_frame7.src = "bluehelmet_frame07.jpg";
		bluehelmet_frame8 = new Image;
		bluehelmet_frame8.src = "bluehelmet_frame08.jpg";
		bluehelmet_preloadFlag = true;
	}
}

// Function that handles the rollovers when you mouse over a button
function bluehelmet_Rollover(bluehelmet_imgDocID,bluehelmet_imgNumber) {
	bluehelmet_shot_number = bluehelmet_imgNumber;
	bluehelmet_spinning = "NO";
	document.images[bluehelmet_imgDocID].src = eval("bluehelmet_frame" + bluehelmet_shot_number + ".src");
}

// Function that handles the Auto-Spin
function bluehelmet_Auto_Spin(bluehelmet_imgDocID,bluehelmet_imgObjName) {
	if (bluehelmet_spinning == "YES") {
		if (bluehelmet_spin_direction == "RIGHT") {
			document.images[bluehelmet_imgDocID].src = eval(bluehelmet_imgObjName + bluehelmet_shot_number + ".src");
			if (bluehelmet_shot_number == bluehelmet_total_frames) {
				bluehelmet_shot_number = "1";
			} else {
				bluehelmet_shot_number = eval(bluehelmet_shot_number + " + 1");
			}
			setTimeout("bluehelmet_Auto_Spin(bluehelmet_spin_object,'bluehelmet_frame');",bluehelmet_spin_speed);
		} else {
			document.images[bluehelmet_imgDocID].src = eval(bluehelmet_imgObjName + bluehelmet_shot_number + ".src");
			if (bluehelmet_shot_number == "1") {
				bluehelmet_shot_number = bluehelmet_total_frames;
			} else {
				bluehelmet_shot_number = eval(bluehelmet_shot_number + " - 1");
			}
			setTimeout("bluehelmet_Auto_Spin(bluehelmet_spin_object,'bluehelmet_frame');",bluehelmet_spin_speed);
		}
	}
}

document.write('');
document.write('<MAP NAME="bluehelmet_VR">');
document.write('<AREA SHAPE="rect" COORDS="0,0,30,238" HREF="#" ONMOUSEOVER="bluehelmet_Rollover(\'bluehelmet_STech\',\'1\'); window.status=\'\'; return true;" ONFOCUS="bluehelmet_STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="31,0,61,238" HREF="#" ONMOUSEOVER="bluehelmet_Rollover(\'bluehelmet_STech\',\'2\'); window.status=\'\'; return true;" ONFOCUS="bluehelmet_STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="62,0,92,238" HREF="#" ONMOUSEOVER="bluehelmet_Rollover(\'bluehelmet_STech\',\'3\'); window.status=\'\'; return true;" ONFOCUS="bluehelmet_STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="93,0,123,238" HREF="#" ONMOUSEOVER="bluehelmet_Rollover(\'bluehelmet_STech\',\'4\'); window.status=\'\'; return true;" ONFOCUS="bluehelmet_STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="124,0,154,238" HREF="#" ONMOUSEOVER="bluehelmet_Rollover(\'bluehelmet_STech\',\'5\'); window.status=\'\'; return true;" ONFOCUS="bluehelmet_STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="155,0,185,238" HREF="#" ONMOUSEOVER="bluehelmet_Rollover(\'bluehelmet_STech\',\'6\'); window.status=\'\'; return true;" ONFOCUS="bluehelmet_STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="186,0,216,238" HREF="#" ONMOUSEOVER="bluehelmet_Rollover(\'bluehelmet_STech\',\'7\'); window.status=\'\'; return true;" ONFOCUS="bluehelmet_STech.blur(); return true;">');
document.write('<AREA SHAPE="rect" COORDS="217,0,247,238" HREF="#" ONMOUSEOVER="bluehelmet_Rollover(\'bluehelmet_STech\',\'8\'); window.status=\'\'; return true;" ONFOCUS="bluehelmet_STech.blur(); return true;">');
document.write('</MAP>');

// STOP HIDING FROM OTHER BROWSERS -->
