<!-- 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 AREA



var imagewidth		= "100"		// WIDTH OF THE SIDEBAR IMAGES
var imageheight		= "67"		// HEIGHT OF THE SIDEBAR IMAGES
var spacerheight	= "2"		// SPACING BETWEEN IMAGES
var showimages1		= "yes"		// SHOW 1st 3 IMAGES
var showimages2		= "yes"		// SHOW 2nd 3 IMAGES
var showimages3		= "no"		// SHOW 3rd 3 IMAGES
var showimages4		= "no"		// SHOW 4th 3 IMAGES
var showgallery		= "yes"		// SHOW GALLERIES IMAGE TEXT
var showmap		= "yes"		// SHOW SITE MAP LINK
var sidealign		= "left"	// ALIGN SIDEBAR - left | center | right
var sidebarwidth	= "140"		// SIDEBAR WIDTH (edit css also)





document.write('<table cellpadding="20" cellspacing="0" border="0" width="100%"><tr><td align="'+sidealign+'">');

document.write("<form method='post' action='cgi-bin/retrieve_photos.pl'>")
document.write("<span class='comments'>Enter keywords separated by a space.<br>")
document.write("Leave blank to browse all images.<br>")
document.write("<input type='text' name='keyword'> ")
document.write("<input type='image' src='picts/search.gif'><br>")
document.write("<input type='radio' name='searchcriteria' value='or' checked>OR") 
document.write("<input type='radio' name='searchcriteria' value='and'>AND</span>")
document.write('<input type="hidden" name="gallery_name" value="Searched Photos">');
document.write("</form>")

document.write('<a href="keywords.html"><img src="picts/keywords.gif" border="0"></a><br><br>');

document.write('<table cellpadding="0" cellspacing="0" border="0"><tr><td valign="top">');
	if (showgallery == "yes") {
document.write('<img src="picts/galleries.gif" border="0" width="40" height="300"><br>');
	}
	else {
document.write('<img src="picts/spacer.gif" border="0" width="40" height="300"><br>');
	}
document.write('</td><td>');




// START THUMBNAILS 1


	if (showimages1 == "yes") {

document.write('<form method="post" action="cgi-bin/retrieve_photos.pl">');
document.write('<input type="image" src="picts/sidebar-1.jpg" border="0" class="Galborder"><br>');
document.write('<input type="hidden" name="gallery_number" value="1">');
document.write('<input type="hidden" name="gallery_name" value="Lifestyle Photo Gallery">');
document.write('<center><span class="gallerytitle">Lifestyle</span></center><br>');
document.write('</form>');

document.write('<form method="post" action="cgi-bin/retrieve_photos.pl">');
document.write('<input type="image" src="picts/sidebar-2.jpg" border="0" class="Galborder"><br>');
document.write('<input type="hidden" name="gallery_number" value="2">');
document.write('<input type="hidden" name="gallery_name" value="Working Class Photo Gallery">');
document.write('<center><span class="gallerytitle">Working Class</span></center><br>');
document.write('</form>');

document.write('<form method="post" action="cgi-bin/retrieve_photos.pl">');
document.write('<input type="image" src="picts/sidebar-3.jpg" border="0" class="Galborder"><br>');
document.write('<input type="hidden" name="gallery_number" value="3">');
document.write('<input type="hidden" name="gallery_name" value="Children Photo Gallery">');
document.write('<center><span class="gallerytitle">Children</span></center><br>');
document.write('</form>');

	}




// START THUMBNAILS 2


	if (showimages2 == "yes") {

document.write('<form method="post" action="cgi-bin/retrieve_photos.pl">');
document.write('<input type="image" src="picts/sidebar-4.jpg" border="0" class="Galborder"><br>');
document.write('<input type="hidden" name="gallery_number" value="4">');
document.write('<input type="hidden" name="gallery_name" value="Teens Photo Gallery">');
document.write('<center><span class="gallerytitle">Teens</span></center><br>');
document.write('</form>');

document.write('<form method="post" action="cgi-bin/retrieve_photos.pl">');
document.write('<input type="image" src="picts/sidebar-5.jpg" border="0" class="Galborder"><br>');
document.write('<input type="hidden" name="gallery_number" value="5">');
document.write('<input type="hidden" name="gallery_name" value="Health, Beauty, and Fitness Photo Gallery">');
document.write('<center><span class="gallerytitle">Beauty/Fitness</span></center><br>');
document.write('</form>');

document.write('<form method="post" action="cgi-bin/retrieve_photos.pl">');
document.write('<input type="image" src="picts/sidebar-6.jpg" border="0" class="Galborder"><br>');
document.write('<input type="hidden" name="gallery_number" value="6">');
document.write('<input type="hidden" name="gallery_name" value="Fine Art Photos Gallery">');
document.write('<center><span class="gallerytitle">Fine Art Photos</span></center><br>');
document.write('</form>');

	}




// START THUMBNAILS 3


	if (showimages3 == "yes") {

document.write('<a href="gallery7.htm"><img src="picts/sidebar-7.jpg" border="0" width="'+imagewidth+'" height="'+imageheight+'" class="Galborder"></a><br>');

document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<a href="gallery8.htm"><img src="picts/sidebar-8.jpg" border="0" width="'+imagewidth+'" height="'+imageheight+'" class="Galborder"></a><br>');

document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<a href="gallery9.htm"><img src="picts/sidebar-9.jpg" border="0" width="'+imagewidth+'" height="'+imageheight+'" class="Galborder"></a><br>');

document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

	}




// START THUMBNAILS 4


	if (showimages4 == "yes") {

document.write('<a href="gallery10.htm"><img src="picts/sidebar-10.jpg" border="0" width="'+imagewidth+'" height="'+imageheight+'" class="Galborder"></a><br>');

document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<a href="gallery11.htm"><img src="picts/sidebar-11.jpg" border="0" width="'+imagewidth+'" height="'+imageheight+'" class="Galborder"></a><br>');

document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

document.write('<a href="gallery12.htm"><img src="picts/sidebar-12.jpg" border="0" width="'+imagewidth+'" height="'+imageheight+'" class="Galborder"></a><br>');

document.write('<img src="picts/spacer.gif" width="5" height="'+spacerheight+'"><br>');

	}




// START SITEMAP LINK


	if (showmap == "yes") {
document.write('<a href="site_map.htm"><img src="picts/map-off.gif" border="0" alt="Site Map" onmouseover="this.src=\'picts/map-on.gif\'" onmouseout="this.src=\'picts/map-off.gif\'"></a><br>');
	}


document.write('</td></tr></table>');
document.write('<img src="picts/spacer.gif" border="0" width="'+sidebarwidth+'" height="5"><br>');
document.write('</td></tr></table>');


//  End -->