<!--
// - - - - - - - - - - - document globals
var supported = 0;

 button1txt = "Click here to return to Clegg Industries Home Page.";
 button2txt = "Click here to see our services.";
 button3txt = "Click here to see our clients.";
 button4txt = "Click here to visit the Clegg Industries shop.";
 button5txt = "Click here to contact Clegg Industries.";
 button6txt = "Click here to email Clegg Industries.";
 button7txt = "Click here to see our special structures.";
 button8txt = "Click here to see our specialty trailers.";
 button9txt = "Click here to see our specialty vehicles.";
 button10txt = "Click here to view interior photos.";
 button11txt = "Call 1-800-535-7583 Today!";
 button12txt = "Call her to see our generators";
// - - - - - - - - - - - function definitions

function Init()
{ if(document.images)
       {     supported = 1; 
             //- - - - - - allocate memory for Images & then load them

             //- - - - - - "button up" images
	     button1up = new Image(); 
                  button1up.src = "../images/btn_homered.gif";
             button2up = new Image(); 
                  button2up.src = "../images/btn_servicered.gif";
             button3up = new Image(); 
                  button3up.src = "../images/btn_clientred.gif";
             button4up = new Image();
                  button4up.src = "../images/btn_shopred.gif";
	     button5up = new Image();
                  button5up.src = "../images/btn_contactred.gif";
	     button6up = new Image();
                  button6up.src = "../images/btn_emailred.gif";
	     button7up = new Image();
                  button7up.src = "../images/btn_structred.gif";
	     button8up = new Image();
                  button8up.src = "../images/btn_trailered.gif";
	     button9up = new Image();
                  button9up.src = "../images/btn_vehiclered.gif";
         button10up = new Image();
				 button10up.src = "../images/btn_interiorred.gif";
         button11up = new Image();
                  button11up.src = "../images/btn_callred.gif";
	     button12up = new Image();
                  button12up.src = "../images/btn_generators.gif";
	    
     
             //- - - - - - "button down" images
	     button1down = new Image();
                 button1down.src = "../images/btn_homeblk.gif";
             button2down = new Image();
                 button2down.src = "../images/btn_serviceblk.gif";
             button3down = new Image(); 
                 button3down.src = "../images/btn_clientblk.gif";
             button4down = new Image();
                 button4down.src = "../images/btn_shopblk.gif";
	     button5down = new Image();
                 button5down.src = "../images/btn_contactblk.gif";
	     button6down = new Image();
                 button6down.src = "../images/btn_emailblk.gif";
	     button7down = new Image();
                 button7down.src = "../images/btn_structureblk.gif";
	     button8down = new Image();
                 button8down.src = "../images/btn_trailerblk.gif";
	     button9down = new Image();
                 button9down.src = "../images/btn_vehicleblk.gif";
         button10down = new Image();
                 button10down.src = "../images/btn_interiorblk.gif";
         button11down = new Image();
                 button11down.src = "../images/btn_callblk.gif";
	     button12down = new Image();
                 button12down.src = "../images/btn_generators2.gif";
	   
        }
}
Init();

function img_xchg(ImageName)
{  if(supported)
      { NewImage  = eval(ImageName + "down.src");
         document [ImageName].src = NewImage;
         ButtonText= eval(ImageName + "txt")
         parent.status = ButtonText;
      }
   else
      { ButtonText= eval(ImageName + "txt")
        parent.status = ButtonText;
      }
   return;
}

function img_rstr(ImageName)
{ if(supported)
     { RestoreImage = eval(ImageName + "up.src");
       document [ImageName].src = RestoreImage;
       parent.status ="";
      }
  else 
      { parent.status ="";  }
  return;
}


function openWin(pic){
	win = window.open("../photos/" + pic,"Photo","toolbar=0, fullscreen=0, location=0, directories=0, status=0, resizeable=1, scrollbars=0, copyhistory=0,width=390,height=330,top=25,left=25");
}


// -->


