
<!--


// Set up the image files to be used.
var theImages2 = new Array()
var theImagesAlt2 = new Array()// do not change this
var resizePath2 = "inc_php/imgresize.inc.php";  //set this to the path of the resizer - must be correct if using showImageResize
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

theImages2[0] = 'images/head-pic02.jpg'
theImages2[1] = 'images/head-pic03.jpg'
theImages2[2] = 'images/head-pic04.jpg'
theImages2[3] = 'images/head-pic05.jpg'
theImages2[4] = 'images/head-pic01.jpg'


theImagesAlt2[0] = 'Mike Mike Productions'
theImagesAlt2[1] = 'Mike Mike Productions'
theImagesAlt2[2] = 'Mike Mike Productions'
theImagesAlt2[3] = 'Mike Mike Productions'
theImagesAlt2[4] = 'Mike Mike Productions'
theImagesAlt2[5] = 'Mike Mike Productions'

// ======================================
// do not change anything below this line
// ======================================

var j2 = 0
var p2 = theImages.length;

var preBuffer2 = new Array()
for (i = 0; i < p2; i++){
   preBuffer2[i] = new Image()
   preBuffer2[i].src = theImages[i]
}

var whichImage2 = Math.round(Math.random()*(p2-1));

/* ================================================================ */
/*  Paste the following code wherever you want the image to appear  */
/*  <script type="text/javascript">showImage();</script>            */
/* ================================================================ */

function showImage2(){
	document.write('<img src="'+theImages2[whichImage2]+'" alt="'+theImagesAlt2[whichImage2]+'" class="rotate_pic"'+' />');
}

// ==============================================================
// w = width , h = height, contrain = 1 or 0 
// constrain = 1 - this will scale the image to fit within the given
//                 w and h while maintaining proportions
// constrain = 0 - this will scale the image to the exact w and h
//
/*  Paste the following code wherever you want the image to appear  */
/*  <script type="text/javascript">showImage(100,100,1);</script>            */
//
// ================================================================
function showImageResize(w,h,constrain){ 
	document.write('<img src="' + resizePath + "?constrain="+constrain+"&img=/" +theImages[whichImage]+"&w="+w+"&h="+h+'" alt="'+theImagesAlt[whichImage]+'">');
}

//-->
