// THUMBNAIK LOADING TEXT
// added wed 06/10
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_setTextOfLayer(objName,x,newText) { //v4.01
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (document.layers) {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
}
//-->


//ROLL JPEGS

var counter=1;   

function rollPics() {
document.display.src="images/pic_home"+counter+".jpg";  //Display image "counter".jpg
counter ++;     // Add 1 to counter
if (counter>4) {     // If counter is greater than 4 images then reset it
counter=1
}

} 
// added 06/10
// preloads first image
//	Replaces the specified main image wth the images specified by the onMouseOver
//imageOn1 = new Image(288,238);
//imageOn1.src = uImage1;

// loading message
var loadmessage 
loadmessage = "Select a thumbnail to view enlarged image.";

function message(){
MM_setTextOfLayer('loadingtxt','',loadmessage)
}
// edited 06/10
function ShowBigImage(num){
MM_setTextOfLayer('loadingtxt','','Loading the image.');
loadmessage = "Select a thumbnail to view enlarged image.";
  	if (num==1){
	imageOn1 = new Image(288,238);
	imageOn1.src = uImage1;
    	document.Main_Pic.src=imageOn1.src;
    } 
    if (num==2){
	imageOn2 = new Image(288,238);
	imageOn2.src = uImage2;
    	document.Main_Pic.src=imageOn2.src;
    } 
    if (num==3){
	imageOn3 = new Image(288,238);
	imageOn3.src = uImage3;
    	document.Main_Pic.src=imageOn3.src;
    } 
    if (num==4){
	imageOn4 = new Image(288,238);
	imageOn4.src = uImage4;
    	document.Main_Pic.src=imageOn4.src;
    }
	if (num==5){
	imageOn5 = new Image(288,238);
	imageOn5.src = uImage5;
    	document.Main_Pic.src=imageOn5.src;
    } 
	if (num==6){
	imageOn6 = new Image(288,238);
	imageOn6.src = uImage6;
    	document.Main_Pic.src=imageOn6.src;
    } 
	if (num==7){
	imageOn7 = new Image(288,238);
	imageOn7.src = uImage7;
    	document.Main_Pic.src=imageOn7.src;
    } 
	if (num==8){
	imageOn8 = new Image(288,238);
	imageOn8.src = uImage8;
    	document.Main_Pic.src=imageOn8.src;
    } 
	if (num==9){
	imageOn9 = new Image(288,238);
	imageOn9.src = uImage9;
    	document.Main_Pic.src=imageOn9.src;
    } 
	if (num==10){
	imageOn10 = new Image(288,238);
	imageOn10.src = uImage10;
    	document.Main_Pic.src=imageOn10.src;
    } 
	if (num==11){
    	imageOn11 = new Image(288,238);
		imageOn11.src = uImage11;
	document.Main_Pic.src=imageOn11.src;
    } 
	if (num==12){
	imageOn12 = new Image(288,238);
	imageOn12.src = uImage12;
    	document.Main_Pic.src=imageOn12.src;
    }  
	
}  