<!-- hide JavaScript from non-enabled browsers
// set global variables
var pic, desc, pictitle, picdir
pictitle = "Buck's Gallery" //title of popup window
picdir="" //picture directory

// define the custom parameters for the new windows can add as many as wanted
// define array(pagename, width, height, caption height)
function newwin1() {
	pic = new Array("images/bh003.gif", "485", "267","0")
	desc = "<br>Trump Castle, June 1989<br>Buck Hutcheson, Kenneth Lovelace and Jerry Lee Lewis"}
function newwin2() {
	pic = new Array("images/bh005.gif", "490", "316","0")
	desc = "Bally's in Las Vegas<br>April 17,1988<br>Jerry Lee Lewis, Buck Hutcheson and Lisa Marie Presley"}
function newwin3() {
	pic = new Array("images/bh001.gif", "490", "316","0")
	desc = "Bally's in Las Vegas<br>April 16, 1988<br>Buck Hutcheson with Chuck Berry's band and daughter"}
function newwin4() {
	pic = new Array("images/bh009.gif", "490", "313","0")
	desc = "Jerry Lee Lewis and Dennis Quaid"}
function newwin5() {
	pic = new Array("images/bh019.gif", "439", "312","0")
	desc = "Moe Brady, Buck Hutcheson and Joe Stamply"}
function newwin6() {
	pic = new Array("images/bh011.gif", "427", "271","0")
	desc = "Premier of Great Balls of Fire<br>Summer of 1989, New York<br>Buck Huchteson, Jonathan Winters and Gary Hart"}
function newwin7() {
	pic = new Array("images/bh017.gif", "357", "280","0")
	desc = "<br>1962 at the Peppermint Lounge<br>Jerry Lee Lewis, Buck Hutcheson at the tender age of 17, Hawk Hawkins and Morris Tarrant"}
function newwin8() {
	pic = new Array("images/bh015.gif", "501", "408","0")
	desc = "Bondsmen<br>Buck Hutcheson, Gary Adaire, Pete Bartosh and Tiny Bond"}
function newwin9() {
	pic = new Array("images/bh023.gif", "358", "318","0")
	desc = "Bally's Casino 1988<br>Fats Domino, Buck Hutcheson and Jimi Isobell"}
function newwin10() {
	pic = new Array("images/bh007.gif", "421", "272","0")
	desc = "September 1989<br>Austrial/New Zealand Tour<br>Chuck Berry,Buck Hutcheson and Bo Diddly"}
function newwin11() {
	pic = new Array("images/bh021.gif", "467", "442","0")
	desc = "The Commercial Appeal<br>Memphis, Friday, December 16, 1988<br>Actor Dennis Quaid and Buck Hutcheson"}
function newwin12() {
	pic = new Array("images/bh033.gif", "287", "376","0")
	desc = "The Original Memphis Beats<br>Jerry Lee Lewis back up band in the 60's"}
function newwin13() {
	pic = new Array("images/bh031.gif", "285", "293","0")
	desc = "Buck Hutcheson and Narvel Felts"}
function newwin14() {
	pic = new Array("images/bh025.gif", "354", "282","0")
	desc = "Buck Hutcheson and Joel Schumacher (Bass player for Jerry Lee Lewis) during the Canadian Tour in August of 1988"}
function newwin15() {
	pic = new Array("images/bh029.gif", "287", "377","0")
	desc = "Buck Hutcheson in the year 2000"}
function newwin16() {
	pic = new Array("images/bh027.gif", "354", "282","0")
	desc = "Jerry Lee Lewis and Ray Hale his road manager during the Canadian Tour in August 1988."}
// this page can only create one popup window.  Each page will be generated in
// same window.
// since this function is used over and over again - if you have several pages with
// thumbnailed pictures, its best to put this part in an external js page and link to it
function popupwin() { //name of function
	x = Number(pic[1]) // forces width parameter to be recognized as a number wont add without it
	y = Number(pic[2]) // height parameter
	z = Number(pic[3]) // additional space required by caption
	width = x + 40  // width + buffer space
	height = y + z + 115 // height + caption + buffer
	// window parameters
	var winsize = "'menubar=0,status=0,toolbar=0,scrollbars=1,resizeable=0,screenX=40,screenY=40,left=40,top=40"
	winsize += ",width=" + width + ",height=" + height +"'";
	// html for popup window
	var winpop = "<html>\n<head>\n";
	winpop += "<title>" + pictitle + "</title>";
	// style sheet elements can be used.  external sheets can be linked here
	winpop += "</head>\n<body bgcolor='black' text='goldenrod'>\n";
	winpop += "<p align=center>" + pictitle + "<br>\n"
	winpop += "<img src=" + picdir + pic[0] + "><br>"
	winpop +=   desc + "\n<br>"
	winpop += "<a href='javascript: window.close();'>" // creates a close link on popup
	winpop += "close window</a>"
	winpop += "</body>\n</html>\n"
	winpopup = window.open ('','popup',winsize) // opens popup window
	winpopup.document.open() // start of popup window
	winpopup.document.write (winpop) // writes html in the page
	winpopup.document.close() // ends of popup window
	winpopup.focus() //brings popup window to the top.
	}
// end hide -->

