<!--
// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================

// Set up the image files to be used.
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

var theImages = new Array() // do not change this


theImages[0] = '/images/hm/hm_rotate24.jpg'
theImages[1] = '/images/hm/hm_rotate25.jpg'


var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
	//document.write('<a href=\"http://jccsf.org/content_main.aspx?catid=307\"><img src="'+theImages[whichImage]+'" border="0"></a>');
	document.write('<a href="/content_main.aspx?catid=307"><img src="'+theImages[whichImage]+'" border="0"></a>');
}

function showImageV2() {
	document.getElementById("startsHere").style.background = "url(" + theImages[whichImage] + ")";
	//alert(theImages[whichImage]);
}



// FITNESS IMAGE
var fitImages = new Array()
fitImages[0] = '/images/fit-1.gif'
fitImages[1] = '/images/fit-2.gif'
fitImages[2] = '/images/fit-3.gif'
fitImages[3] = '/images/fit-4.gif'

var f = 0;
var t = fitImages.length;

var preeBuffer = new Array()
for (i = 0; i < t; i++){
   preeBuffer[i] = new Image()
   preeBuffer[i].src = fitImages[i]
}

var theFitImage = Math.round(Math.random()*(t-1));
function doFitImage(){
	document.write('<img src="'+fitImages[theFitImage]+'">');
}

//-->

