// JavaScript Document

	//detect browser:
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) browserVer = "1";
else if (browserName == "Microsoft Internet Explorer" && browserVer == 4) browserVer = "1";
else browserVer = "2";

//image swapping function:
function hiLite(imgDocID, imgObjName, comment) {
if (browserVer == 1) {
document.images[imgDocID].src = eval(imgObjName + ".src");
window.status = comment; return true;
}} 
	   
//Below is the code that pre-loads the graphics 
{

//These are the large images
alt0 = new Image(200, 250);
alt0.src = "images/white.gif";

alt1 = new Image(200, 250);
alt1.src = "images/white.gif";

alt2 = new Image(200, 250);
alt2.src = "images/gallery-oh.jpg";

alt3 = new Image(200, 250);
alt3.src = "images/gallery-craft.jpg";

alt4 = new Image(200, 250);
alt4.src = "images/gallery-rec.jpg";

alt5 = new Image(200, 250);
alt5.src = "images/gallery-shows.jpg";

alt6 = new Image(200, 250);
alt6.src = "images/gallery-fire.jpg";

alt7 = new Image(200, 250);
alt7.src = "images/gallery-damage.jpg";

alt8 = new Image(200, 250);
alt8.src = "images/gallery-restore.jpg";

//These are the first button graphics

graphic1= new Image(100, 27);
graphic1.src = "images/gallery-buts_01.gif"
graphic1on = new Image(100, 27);
graphic1on.src = "images/gallery-buts-on_01.gif";

graphic2= new Image(100, 27);
graphic2.src = "images/gallery-buts_02.gif";
graphic2on = new Image(100, 27);
graphic2on.src = "images/gallery-buts-on_02.gif";

graphic3= new Image(100, 27);
graphic3.src = "images/gallery-buts_03.gif";
graphic3on = new Image(100, 27);
graphic3on.src = "images/gallery-buts-on_03.gif";

graphic4= new Image(100, 27);
graphic4.src = "images/gallery-buts_04.gif";
graphic4on = new Image(100, 27);
graphic4on.src = "images/gallery-buts-on_04.gif";

graphic5= new Image(100, 27);
graphic5.src = "images/gallery-buts_05.gif";
graphic5on = new Image(100, 27);
graphic5on.src = "images/gallery-buts-on_05.gif";

graphic6= new Image(100, 27);
graphic6.src = "images/gallery-buts_06.gif";
graphic6on = new Image(100, 27);
graphic6on.src = "images/gallery-buts-on_06.gif";

graphic7= new Image(100, 27);
graphic7.src = "images/gallery-buts_07.gif";
graphic7on = new Image(100, 27);
graphic7on.src = "images/gallery-buts-on_07.gif";

graphic8= new Image(100, 27);
graphic8.src = "images/gallery-buts_08.gif";
graphic8on = new Image(100, 27);
graphic8on.src = "images/gallery-buts-on_08.gif";


}
function imageChange(imageID,imageName,imageID2,imageName2) { 

{
document.images[imageID].src = eval(imageName + ".src");
document.images[imageID2].src = eval(imageName2 + ".src");
}

}