<!-- Begin

// NOTE: If you use a ' add a slash before it like this \'


// ONLY USE lowercase FOR ALL OPTIONS


// CHANGE ANY OF THESE VARIABLES FOR THE SIDEBAR


var imagewidth		= "100"		// WIDTH OF THE SIDEBAR IMAGES
var imageheight		= "70"		// HEIGHT OF THE SIDEBAR IMAGES
var spacerheight	= "11"		// SPACING BETWEEN IMAGES

var showimages1		= "yes"		// SHOW THE FIRST 3 IMAGES
var showimages2		= "no"		// SHOW THE SECOND 3 IMAGES
var slideshowlink	= "yes"		// SHOW SLIDESHOW LINK
var directorylink	= "yes"		// SHOW LINK TO DIRECTORY
var homelink		= "no"		// SHOW A LINK TO THE HOMEPAGE


	
   if (showimages1 == "yes") {

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery1.htm"><img src="picts/front-pic1.jpg" border="0" onmouseover="alert_msg(\'View Gallery 1\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');


document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery2.htm"><img src="picts/front-pic2.jpg" border="0" onmouseover="alert_msg(\'View Gallery 2\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');


document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery3.htm"><img src="picts/front-pic3.jpg" border="0" onmouseover="alert_msg(\'View Gallery 3\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery4.htm"><img src="picts/front-pic4.jpg" border="0" onmouseover="alert_msg(\'View Gallery 4\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery5.htm"><img src="picts/front-pic5.jpg" border="0" onmouseover="alert_msg(\'View Gallery 5\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery6.htm"><img src="picts/front-pic6.jpg" border="0" onmouseover="alert_msg(\'View Gallery 6\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery7.htm"><img src="picts/front-pic7.jpg" border="0" onmouseover="alert_msg(\'View Gallery 6\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery8.htm"><img src="picts/front-pic8.jpg" border="0" onmouseover="alert_msg(\'View Gallery 6\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery9.htm"><img src="picts/front-pic9.jpg" border="0" onmouseover="alert_msg(\'View Gallery 6\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');





}
   if (showimages2 == "yes") {

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery4.htm"><img src="picts/front-pic4.jpg" border="0" onmouseover="alert_msg(\'View Gallery 4\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');


document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery5.htm"><img src="picts/front-pic5.jpg" border="0" onmouseover="alert_msg(\'View Gallery 5\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');




// COPY AND PASTE THIS FOUR LINE GROUP TO ADD ANOTHER GALLERY IMAGE LINK


document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery6.htm"><img src="picts/front-pic6.jpg" border="0" onmouseover="alert_msg(\'View Gallery 6\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');


document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery7.htm"><img src="picts/front-pic7.jpg" border="0" onmouseover="alert_msg(\'View Gallery 6\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery8.htm"><img src="picts/front-pic8.jpg" border="0" onmouseover="alert_msg(\'View Gallery 6\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0" class="imageborder"><tr><td>');
document.write('<a href="gallery9.htm"><img src="picts/front-pic9.jpg" border="0" onmouseover="alert_msg(\'View Gallery 6\')" onmouseout="away()" width="'+imagewidth+'" height="'+imageheight+'"></a><br>');
document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');





} // DO NOT DELETE THIS LINE


document.write('<!-- ARROW TABLE-->');
document.write('<TABLE cellpadding=0 cellspacing=0 border=0><tr><td>');
   if (directorylink == "yes") {
document.write('<img src="picts/arrow.gif" HEIGHT="15" WIDTH="15" hspace="2"><br>');
document.write('</td><td>');
document.write('<span class="smalltitle"><a href="gallery.htm">DIRECTORY</a></span><br>');
document.write('</td></tr><tr><td>');
}
   if (slideshowlink == "yes") {
document.write('<img src="picts/arrow.gif" HEIGHT="15" WIDTH="15" hspace="2"><br>');
document.write('</td><td>');
document.write('<span class="smalltitle"><a href="javascript:popUpSlideshow(\'slideshow.htm\')">SLIDESHOW</a></span><br>');
}
   if (homelink == "yes") {
document.write('</td></tr><tr><td>');
document.write('<img src="picts/arrow.gif" HEIGHT="15" WIDTH="15" hspace="2"><br>');
document.write('</td><td>');
document.write('<span class="smalltitle"><a href="index.html">HOME</a></span><br>');
}
document.write('</td></tr></table>');
document.write('<!-- ARROW TABLE-->');

function opacity(id, opacStart, opacEnd, millisec) {
	//speed for each frame
	var speed = Math.round(millisec / 100);
	var timer = 0;

	//determine the direction for the blending, if start and end are the same nothing happens
	if(opacStart > opacEnd) {
		for(i = opacStart; i >= opacEnd; i--) {
			setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
			timer++;
		}
	} else if(opacStart < opacEnd) {
		for(i = opacStart; i <= opacEnd; i++)
			{
			setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
			timer++;
		}
	}
}

//change the opacity for different browsers
function changeOpac(opacity, id) {
	var object = document.getElementById(id).style; 
	object.opacity = (opacity / 100);
	object.MozOpacity = (opacity / 100);
	object.KhtmlOpacity = (opacity / 100);
	object.filter = "alpha(opacity=" + opacity + ")";
}

function shiftOpacity(id, millisec) {
	//if an element is invisible, make it visible, else make it ivisible
	if(document.getElementById(id).style.opacity == 0) {
		opacity(id, 0, 100, millisec);
	} else {
		opacity(id, 100, 0, millisec);
	}
}

function blendimage(divid, imageid, imagefile, millisec) {
	var speed = Math.round(millisec / 100);
	var timer = 0;
	
	//set the current image as background
	document.getElementById(divid).style.backgroundImage = "url(" + document.getElementById(imageid).src + ")";
	
	//make image transparent
	changeOpac(0, imageid);
	
	//make new image
	document.getElementById(imageid).src = imagefile;

	//fade in image
	for(i = 0; i <= 100; i++) {
		setTimeout("changeOpac(" + i + ",'" + imageid + "')",(timer * speed));
		timer++;
	}
}

function currentOpac(id, opacEnd, millisec) {
	//standard opacity is 100
	var currentOpac = 100;
	
	//if the element has an opacity set, get it
	if(document.getElementById(id).style.opacity < 100) {
		currentOpac = document.getElementById(id).style.opacity * 100;
	}

	//call for the function that changes the opacity
	opacity(id, currentOpac, opacEnd, millisec)
}

//  End -->