// JavaScript Document
// Repository for Showcase data and related scripts
var loadingSource = "images/loadartistwindow.gif";
var arrayIndex = 3 ;
var saveSyncIndex = 1 ;
//Artist Image Locations
var imageSource = new Array (
	'images/artists_images/allenSharonE', // First A
//	'images/artists_images/awadMaria',
//	'images/artists_images/bartelMaryElisabeth',
	'images/artists_images/barrettleachGinny',
//	'images/artists_images/belangerEileenP',
	'images/artists_images/bicknellBob',
//	'images/artists_images/blighCatherine',
	'images/artists_images/boissonneaultDoreen',
	'images/artists_images/bourqueAnn',
//	'images/artists_images/boutinDoreen',
	'images/artists_images/bruun-shoresIrene',
//	'images/artists_images/cantwellBruce',
	'images/artists_images/caronDeb',
	'images/artists_images/carrPaul',
//	'images/artists_images/chaseJamesG',
	'images/artists_images/codyJen',
//	'images/artists_images/conroyRosemaryG',
//	'images/artists_images/cosbyJanis',
	'images/artists_images/craumerBetsy',
//	'images/artists_images/domingueAnnTrainor',
	'images/artists_images/donnellyJanice',
//	'images/artists_images/donovanLawrence',
//	'images/artists_images/drociakJen',// Last D (11)
	'images/artists_images/earnshawBill', // First E
	'images/artists_images/evansGlenna',
	'images/artists_images/faistJim',
	'images/artists_images/farmerElaine',
	'images/artists_images/ferroBrenda',
	'images/artists_images/feinbergLindaH',
	'images/artists_images/frisellaRobin',
	'images/artists_images/gagnonTina',
	'images/artists_images/gelinasJudy',
//	'images/artists_images/geriboDJ',
	'images/artists_images/gleneckJayson',
	'images/artists_images/godboisMichele',
	'images/artists_images/grayPeter',
	'images/artists_images/grubbsDebra',
	'images/artists_images/guggerLinda',
	'images/artists_images/haberJill',
	'images/artists_images/hanscheNicole',
	'images/artists_images/harveyKen',
	'images/artists_images/heapsMarilynJ',
	'images/artists_images/holmesJack',
//	'images/artists_images/jacobsBrenda',
	'images/artists_images/janulesBob',
//	'images/artists_images/jenkinsTracy',
	'images/artists_images/johnsonNancy',
	'images/artists_images/juzaJohn',
	'images/artists_images/kellerSandra',
//	'images/artists_images/kenistonLee',
	'images/artists_images/kenneyBrendaLB',
//	'images/artists_images/kingmanJoyce',
	'images/artists_images/kippinJenniferA',
	'images/artists_images/knowlesRandy',
	'images/artists_images/kohlerAdele',
//	'images/artists_images/kramerGia',
	'images/artists_images/kuenzigDan', // Last K (27)
	'images/artists_images/lemireTimothyJoseph', // First L
	'images/artists_images/lessardDee',
	'images/artists_images/lessardGuy',
	'images/artists_images/lewandowskiElizabeth',
//	'images/artists_images/lizakMichael',
	'images/artists_images/lotterAline',
	'images/artists_images/luongoTony',
//	'images/artists_images/lussierJo-Anne',
//	'images/artists_images/lyMai',
	'images/artists_images/macphersonDianeE',
	'images/artists_images/mannonMelissa',
	'images/artists_images/mardenDave',
//	'images/artists_images/marquisCarolyn',
	'images/artists_images/mayerLili',
	'images/artists_images/mcdonoughRavenSky',
	'images/artists_images/mcleanJudy',
	'images/artists_images/millerCheryl',
	'images/artists_images/millerChristineE',
//	'images/artists_images/mimranekJacky',
	'images/artists_images/palfreyJudy',
	'images/artists_images/parlangeliFlo',
	'images/artists_images/pooleMolly',
	'images/artists_images/posavecJohn',
//	'images/artists_images/pottsJade',
//	'images/artists_images/powersKristen',
	'images/artists_images/priceMarilyn',
	'images/artists_images/psaledasSheila', // Last P (20)
	'images/artists_images/reedDon', // First R
//	'images/artists_images/richRayBliss',
	'images/artists_images/robergeDaniel',
	'images/artists_images/rousseauGail',
//	'images/artists_images/rushbrookEdward',
//	'images/artists_images/saxeDavid',
	'images/artists_images/scottBarbara',
//	'images/artists_images/smithCal',
	'images/artists_images/steeleCathy',
	'images/artists_images/sweeneyJohn',
	'images/artists_images/swierzAnnMarie',
	'images/artists_images/tangneyKathy',
	'images/artists_images/thomasJosephM',
	'images/artists_images/thomasVeronikaV',
	'images/artists_images/thorpJo-AnnK',
	'images/artists_images/thorpeBud',
//	'images/artists_images/timmonsNatalie',
	'images/artists_images/turnerWilliam',
	'images/artists_images/uptonMary',
	'images/artists_images/whittakerSue',
//	'images/artists_images/whitfieldMonty',
//	'images/artists_images/wilbertBrenda',
	'images/artists_images/williamsAnthony',
//	'images/artists_images/witcherCandy',
	'images/artists_images/woodMarcia',
	'images/artists_images/wrightThomas'
	); // Last Z (18)
var lastDIndex = 11;
var lastKIndex = 38;
var lastPIndex = 57;
var lastIndex = 76;
//Total = 73

//Names of Artists with Images
var artistNameImage = new Array (
	'Sharon E Allen', // First A
//	'Maria Awad',
//	'Mary Elisabeth Bartel',
	'Ginny Barrett-Leach',
//	'Eileen P. Belanger',
	'Robert Bicknell',
//	'Catherine Bligh',
	'Doreen Boissonneault',
	'Ann Bourque',
//	'Doreen Boutin',
	'Irene Bruun - Shores',
//	'Bruce Cantwell',
	'Deb Caron',
	'Paul H. Carr',
//	'James G Chase',
	'Jen Cody',
//	'Rosemary G. Conroy',
//	'Janice Cosby',
	'Elizabeth Craumer',
//	'Ann Trainor Domingue',
	'Janice Donnelly',
//	'Lawrence Donovan',
//	'Jen Drociak',// Last D
	'Bill Earnshaw',  // First E
	'Glenna Evans',
	'Jim Faist',
	'Elaine Farmer',
	'Brenda Ferro',
	'Linda H. Feinberg',
	'Robin Frisella',
	'Tina Burke-Gagnon',
	'Judy Gelinas',
//	'DJ Geribo',
	'Jayson Gleneck',
	'Michele Godbois',
	'Peter Gray',
	'Debra Grubbs',
	'Linda Gugger',
	'Jill Haber',
	'Nicole Hansche',
	'Ken Harvey',
	'Marilyn J. Heaps',
	'Jack Holmes',
//	'Brenda Jacobs',
	'Bob Janules',
//	'Tracy Jenkins',
	'Nancy Johnson',
	'John Juza',
	'Sandra Keller',
//	'Lee Keniston',
	'Brenda L. B. Kenney',
//	'Joyce Kingman',
	'Jennifer A. Kippin',
	'Randy Knowles',
	'Adele Kohler',
//	'Gia Kramer',
	'Dan Kuenzig', // Last K
	'Timothy Joseph Lemire', // First L
	'Dee Lessard',
	'Guy Lessard',
	'Elizabeth Lewandowski',
//	'Michael Lizak',
	'Aline Lotter',
	'Tony Luongo',
//	'JoAnne Lussier',
//	'Mai Ly',
	'Diane E. MacPherson',
	'Melissa Mannon',
	'Dave Marden',
//	'Carolyn Marquis',
	'Lili Mayer',
	'Raven Sky McDonough',
	'Judy McLean',
	'Cheryl Z. Miller',
	'Christine E. Miller',
//	'Jacqueline Mimranek',
	'Judy Palfrey',
	'Flo Parlangeli',
	'Molly Poole',
	'John Posavec',
//	'Jade Potts',
//	'Kristen Powers',
	'Marilyn Price',
	'Sheila Psaledas', // Last P
	'Don Reed', // First R
//	'Ray Bliss Rich',
	'Daniel G. Roberge',
//	'Patrice Roulx',
	'Gail Rousseau',
//	'Edward Rushbrook',
//	'Dave Saxe',
	'Barbara Scott',
//	'Cal Smith (Deceased)',
	'Cathy Steele',
	'John Sweeney',
	'Ann-Marie Swierz',
	'Kathy Tangney',
	'Joseph M. Thomas',
	'Veronika V. Thomas',
	'Jo-Ann K. Thorp',
	'Bud Thorpe',
//	'Natalie Timmons',
	'William (Bill) Turner',
	'Mary Upton',
	'Sue Whittaker',
//	'Monty Whitfield',
//	'Brenda Wilbert',
	'Anthony M. Williams',
//	'Candy Witcher',
	'Marcia Wood',
	'Tom Wright'); // Last Z

//Image Titles
var imageTitle = new Array (
	'Ppurrfect Comfort', // First A
//	'Mother and Child',
//	'Lowell Doors',
	'Eight Little Ladies',
//	'Labor of Love',
	'Birches in a Winter Marsh',
//	'Unnamed Brook, Washington, NH',
	'City Hall',
	'No Title',
//	'Winter Wonderland',
	'Shores',
//	'Lantern with Buoy',
	'Mid-Afternoon Sunlight',
	'Walden Pond',
//	'Mechanical Heart',
	'Circle of Love',
//	'Edge of Autumn',
//	'No Title',
	'New England Legacy: The Stone Wall',
//	'Stark Street Arch',
	'Even Tide II',
//	'No Title',
//	'No Title',// Last D
	'Portland Headlight', // First E
	'Gossamer',
	'No Title',
	'Mt. Bernard in Acadia',
	'Great Grandmas Washstand',
	'Autumn Leaves on Belmont Street',
	'Everyday Elegance',
	'Autumn Pears',
	'No Title',
//	'Monarch Resting',
	'Missy Red',
	'Sap Buckets II',
	'Loon Time',
	'Mexico',
	'A Sunflowers Daydream',
	'The Abbe',
	'Poison Ivy',
	'Path on Mount Rainier',
	'A New England Homestead',
	'El Claustro, Granada',
//	'No Title',
	'Intricate Simplicity',
//	'Signature Piece',
	'Hats Off',
	'Christmas Barn',
	'Old Provence Village, France',
//	'Barn on Rt. 103',
	'Serenity',
//	'Wisteria Lane',
	'No Title',
	'Shady Conversation',
	'Tropical Queensland',
//	'Lucy&#180;s View',
	'Playing by the Garden', // Last K
	'Providence Water/Fire', // First L
	'A-Peeling Series; Orange Pekoe',
	'No Title',
	'Bar Harbor, ME',
//	'Waiting for Friends',
	'Green into Green',
	'You Know What, I am Happy',
//	'Promise of a New Day',
//	'Angel',
	'A Journey Begins',
	'A Roses Last Hurrah',
	'Hollis Farm',
//	'Magnolias in Heaven',
	'A Horse&#180;s Tale',
	'Sea Turtle Waltz',
	'No Title',
	'Apples',
	'No Title',
//	'Provincetown, Mass.',
	'Sunny Gathering',
	'Calm At Lobster Cove',
	'Throw the Ball',
	'Colors and Shadows',
//	'Nubble Lighthouse',
//	'No Title',
	'Earlier in Summer',
	'Still Standing', // Last P
	'Quiet Reflection', // First R
//	'Chickadee',
	'White Dress',
//	'Magic Balloon Ride',
	'No Title',
//	'No Title',
//	'Lake Massabesic',
	'Study in Peach',
//	'Vagueries',
	'Tulips',
	'Red Snapper',
	'Hello! Anybody Home?',
	'UNH Construction at New Castle',
	'Journeys End',
	'Misty Meadow',
	'Autumn Leaves',
	'John in Doorway',
//	'Fall Mountain',
	'Winged Warrior',
	'Lazy River',
	'12 Top - Monhegan House Dining Room',
//	'Golden Eagle',
//	'Joy in Flight',
	'Manchester of America / Manchester Today and Yesterday',
//	'Fall Reflections ll',
	'Amiss of Zen',
	'Lighthouse Series'
	); // Last Z

//ID's of Artists with Images
var artistIDImage = new Array (
	'allenSE', // First A
//	'awadM',
//	'bartelME',
	'barrettleachG',
//	'belangerE',
	'bicknellR',
//	'blighC',
	'boissonneaultD',
	'bourqueA',
//	'boutinD',
	'shoresIB',
//	'cantwellB',
	'caronD',
	'carrPH',
//	'chaseJG',
	'codyJ',
//	'conroyRG',
//	'cosbyJ',
	'craumerE',
//	'domingueAT',
	'donnellyJ',
//	'donovanL',
//	'drociakJ',// Last D
	'earnshawB',  // First E
	'evansG',
	'faistJ',
	'farmerE',
	'ferroB',
	'feinbergL',
	'frisellaR',
	'gagnonT',
	'gelinasJ',
	'geriboDJ',
	'gleneckJ',
	'godboisM',
//	'grubbsD',
	'guggerL',
	'haberJ',
	'grayP',
	'harveyK',
	'hanscheN',
	'heapsM',
	'holmesJ',
//	'jacobsB',
	'janulesB',
//	'jenkinsT',
	'johnsonN',
	'juzaJ',
	'kellerS',
//	'kenistonL',
	'kenneyB',
//	'kingmanJ',
	'kippinJ',
	'knowlesR',
	'kohlerA',
//	'kramerG',
	'kuenzigD', // Last K
	'lemireTJ', // First L
	'lessardD',
	'lessardG',
	'lewandowskiE',
//	'lizakM',
	'lotterA',
	'luongoT',
//	'lussierJA',
//	'lyM',
	'macphersonD',
	'mannonM',
	'mardenD',
//	'marquisC',
	'mayerL',
	'mcdonoughRS',
	'mcleanJ',
	'millerC',
	'millerCE',
//	'mimranekJ',
	'palfreyJ',
	'parlangeliF',
	'pooleM',
	'posavecJ',
//	'pottsJ',
//	'powersK',
	'priceM',
	'psaledaS', // Last P
	'reedD', // First R
//	'richR',
	'robergeD',
//	'roulxP',
	'rousseauG',
//	'rushbrookE',
//	'saxeD',
	'scottB',
//	'smithC',
	'steeleC',
	'sweeneyJ',
	'swierzAM',
	'tangneyK',
	'thomasJM',
	'thomasVV',
	'thorpJAK',
	'thorpeB',
//	'timmonsN',
	'turnerW',
	'uptonM',
	'whittakerS',
//	'whitfieldM',
//	'wilbertB',
	'williamsA',
//	'witcherC',
	'woodM',
	'wrightT'); // Last Z

//Names of All Artists
var artistName = new Array (
	'Sharon E Allen',
//	'Maria Awad',
//	'Mary Elisabeth Bartel',
	'Ginny Barrett-Leach',
//	'Eileen P. Belanger',
	'Robert Bicknell',
//	'Lisa Blanchette',
//	'Catherine Bligh',
	'Doreen Boissonneault',
	'Ann Bourque',
//	'Doreen Boutin',
	'Irene Bruun - Shores',
//	'Mary Buergin',
//	'SuNan Call',
//	'Bruce Cantwell',
	'Deb Caron',
	'Paul H. Carr',
//	'James G Chase',
	'Orban Chester (Deceased)',
	'Jen Cody',
//	'Rosemary G. Conroy',
//	'Janice Cosby',
	'Elizabeth Craumer',
	'Maurice Demers',
//	'Ann Trainor Domingue',
	'Janice Donnelly',
//	'Lawrence Donovan',
//	'Jen Drociak',   // Last D
	'Bill Earnshaw',
	'Elaine Egof',
	'Glenna Evans',
	'Jim Faist',
	'Elaine Farmer',
	'Brenda Ferro',
	'Linda H. Feinberg',
	'Robin Fresella',
//	'Liane Frost',
	'Tina Burke-Gagnon',
	'Judy Gelinas',
//	'DJ Geribo',
	'Jayson Gleneck',
	'Michele Godbois',
	'Peter Gray',
	'Debra Grubbs',
	'Linda Gugger',
	'Jill Haber',
	'Nicole Hansche',
	'Ken Harvey',
	'Marilyn J. Heaps',
	'Jack Holmes',
//	'Brenda Jacobs',
	'Bob Janules',
	'Tracy Jenkins',
	'Nancy Johnson',
	'John Juza',
	'Sandra Keller',
//	'Lee Keniston',
	'Brenda L. B. Kenney',
//	'Joyce Kingman',
	'Jennifer A. Kippin',
	'Randy Knowles',
	'Adele Kohler',
//	'Gia Kramer',
	'Dan Kuenzig',   // Last K
//	'Cathleen Leavitt',
//	'Fay Lee',
	'Timothy Joseph Lemire',
	'Dee Lessard',
	'Guy Lessard',
	'Elizabeth Lewandowski',
//	'Michael Lizak',
	'Aline Lotter',
	'Tony Luongo',
//	'Jo-Anne Lussier',
//	'Mai Ly',
	'Diane E, MacPherson',
	'Melissa Mannon',
	'Dave Marden',
//	'Carolyn Marquis',
	'Lili Mayer',
	'Raven Sky McDonough',
	'Judy McLean',
	'Cheryl Z. Miller',
	'Christine E. Miller',
//	'Jacqueline Mimranek',
	'Frank Moulin',
	'Sally Newman',
	'Judy Palfrey',
	'Roger N. Paradis',
	'Flo Parlangeli',
	'Mary Poole',
	'John Posavec',
//	'Jade Potts',
//	'Kristen Powers',
	'Marilyn Price',
	'Sheila Psaledas',   // Last P
	'Don Reed',
//	'Denise Renk',
//	'Ray Bliss Rich',
	'Daniel G. Roberge',
	'Kim Roth',
//	'Patrice Roulx',
	'Gail Rousseau',
//	'Mary Ruel',
//	'Edward Rushbrook',
	'Matthew R. St. Onge',
//	'Dave Saxe',
	'Barbara Scott',
//	'Adrienne Silversmith',
	'Cal Smith (Deceased)',
	'Cathy Steele',
	'John Sweeney',
	'Keith Spiro',
	'Ann-Marie Swierz',
	'Kathy Tangney',
	'Joseph M. Thomas',
	'Veronika V. Thomas',
	'Jo-Ann K. Thorp',
	'William "Bud" Thorpe, Jr.',
//	'Natalie Timmons',
	'William (Bill) Turner',
	'Mary Upton',
	'Sue Whittaker',
//	'Monty Whitfield',
//	'Brenda Wilbert',
	'Anthony M. Williams',
//	'Candy Witcher',
	'Marcia Wood',
	'Tom Wright');


//Artist Statements
//var artistDesc = new Array (
//	'Portraits, florals, animals and more, painted in realistic detail. Oil and colored pencil. Commissioned portraits.',
//	'Fine art in oils and acrylics including New England scenes, wall murals, house and animal portraits.',
//	'Colorful landscape paintings in watercolor and oils. Realistic landscape drawings.');
//Artist Non-Internet Contact Information
//var artistInfo = new Array (
//	'271 Bodwell Road<br>Manchester, NH 03109<br>Tel: 603-641-9494',
//	'24 Francestown Road<br>New Boston, NH 03070<br>Tel: 603-487-5522',
//	'Concord, NH 03301<br>Tel: 603-738-1357');
//Title for Artist Supplied Image
//var artistTitle = new Array (
//	'Mother and Child',
//	'Labor of Love',
//	' ');
//Medium for Artist Supplied Image
//var artistMedium = new Array (
//	'Oil on Canvas - 8 x 10',
//	'Oil - 16 x 20',
//	' ');
//Selling Price and/or Comments for Artist Supplied Image
//var artistPriceComments = new Array (
//	'(Not for Sale)',
//	'$485',
//	' ');

function loadImageSet () {
	document.imageDisplay1.src = "../" + imageSource [arrayIndex-3] + "T.jpg";
	document.imageDisplay2.src = "../" + imageSource [arrayIndex-2] + "T.jpg";
	document.imageDisplay3.src = "../" + imageSource [arrayIndex-1] + "T.jpg";
	document.imageDisplay4.src = "../" + imageSource [arrayIndex+0] + "T.jpg";
	document.imageDisplay5.src = "../" + imageSource [arrayIndex+1] + "T.jpg";
	document.getElementById ("artistNameDisplay1").innerHTML = artistNameImage [arrayIndex-3];
	document.getElementById ("artistNameDisplay2").innerHTML = artistNameImage [arrayIndex-2];
	document.getElementById ("artistNameDisplay3").innerHTML = artistNameImage [arrayIndex-1];
	document.getElementById ("artistNameDisplay4").innerHTML = artistNameImage [arrayIndex+0];
	document.getElementById ("artistNameDisplay5").innerHTML = artistNameImage [arrayIndex+1];
	if ( imageTitle [arrayIndex-3] == "No Title" )
	document.getElementById ("imageTitleDisplay1").innerHTML = " "
	else
	document.getElementById ("imageTitleDisplay1").innerHTML = '"' + imageTitle [arrayIndex-3] + '"';
	if ( imageTitle [arrayIndex-2] == "No Title" )
	document.getElementById ("imageTitleDisplay2").innerHTML = " "
	else
	document.getElementById ("imageTitleDisplay2").innerHTML = '"' + imageTitle [arrayIndex-2] + '"';
	if ( imageTitle [arrayIndex-1] == "No Title" )
	document.getElementById ("imageTitleDisplay3").innerHTML = " "
	else
	document.getElementById ("imageTitleDisplay3").innerHTML = '"' + imageTitle [arrayIndex-1] + '"';
	if ( imageTitle [arrayIndex+0] == "No Title" )
	document.getElementById ("imageTitleDisplay4").innerHTML = " "
	else
	document.getElementById ("imageTitleDisplay4").innerHTML = '"' + imageTitle [arrayIndex+0] + '"';
	if ( imageTitle [arrayIndex+1] == "No Title" )
	document.getElementById ("imageTitleDisplay5").innerHTML = " "
	else
	document.getElementById ("imageTitleDisplay5").innerHTML = '"' + imageTitle [arrayIndex+1] + '"';
};
function firstImageSet () {
	arrayIndex = 3 ;
	resetSlider ();
	loadImageSet();
	syncParent ();
};
function previousImageSet () {
	arrayIndex = arrayIndex - 4 ;
	if ( arrayIndex < 3 ) arrayIndex = 3 ;
	resetSlider ();
	loadImageSet();
	syncParent ();
};
function previousImage () {
	arrayIndex = arrayIndex - 1 ;
	if ( arrayIndex < 3 ) arrayIndex = 3 ;
	resetSlider ();
	loadImageSet();
	syncParent ();
};
function nextImage () {
	arrayIndex = arrayIndex + 1 ;
	if ( arrayIndex > lastIndex - 2 ) arrayIndex = lastIndex - 2 ;
	resetSlider ();
	loadImageSet();
	syncParent ();
};
function nextImageSet () {
	arrayIndex = arrayIndex + 4 ;
	if ( arrayIndex > lastIndex - 2 ) arrayIndex = lastIndex - 2 ;
	resetSlider ();
	loadImageSet();
	syncParent ();
};
function lastImageSet () {
	arrayIndex = lastIndex - 2 ;
	resetSlider ();
	loadImageSet();
	syncParent ();
};
function updateParent (selectIndex) {
	var localIndex ;
	if ( selectIndex == 1 ) localIndex = arrayIndex - 2 ;
	if ( selectIndex == 2 ) localIndex = arrayIndex - 1 ;
	if ( selectIndex == 3 ) localIndex = arrayIndex + 0 ;
	if ( selectIndex == 4 ) localIndex = arrayIndex + 1 ;
	if ( selectIndex == 5 ) localIndex = arrayIndex + 2 ;
	if ( localIndex <= lastDIndex ) {
	  opener.document.location = "showcaseAtoD.html#" + artistIDImage [localIndex - 1] ;
	  saveSyncIndex = 1 ;
	}
	else {
	  if ( localIndex <= lastKIndex ) {
	    opener.document.location = "showcaseEtoK.html#" + artistIDImage [localIndex - 1] ;
		saveSyncIndex = 2 ;
	  }
	  else {
	    if ( localIndex <= lastPIndex ) {
	      opener.document.location = "showcaseLtoP.html#" + artistIDImage [localIndex - 1] ;
		  saveSyncIndex = 3 ;
		}
		else {
		  opener.document.location = "showcaseQtoZ.html#" + artistIDImage [localIndex - 1] ;
		  saveSyncIndex = 4 ;
		}
	  }
	}
	arrayIndex = localIndex ;
	resetSlider () ;
	loadImageSet () ;
};

function syncParent () {
	resetSlider () ;
	if ( arrayIndex <= lastDIndex ) {
		if ( saveSyncIndex != 1 ) {
	  		opener.document.location = "showcaseAtoD.html" ;
			saveSyncIndex = 1 ;
		}
	}
	else {
	 	if ( arrayIndex <= lastKIndex ) {
			if ( saveSyncIndex != 2 ) {
	   			opener.document.location = "showcaseEtoK.html" ;
				saveSyncIndex = 2 ;
			}
		}
	 	else {
	   		if ( arrayIndex <= lastPIndex ) {
				if ( saveSyncIndex != 3 ) {
	   		 		opener.document.location = "showcaseLtoP.html"
					saveSyncIndex = 3 ;
				}
			}
			else {
				if ( saveSyncIndex != 4 ) {
		  			opener.document.location = "showcaseQtoZ.html"
					saveSyncIndex = 4 ;
				}
			}
		}
	}
};

function resetSlider () {
	var sliderIndex ;
	var tempIndex ;
	document.slider001.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider002.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider003.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider004.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider005.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider006.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider007.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider008.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider009.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider010.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider011.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider012.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider013.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider014.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider015.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider016.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider017.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider018.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider019.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider020.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider021.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider022.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider023.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider024.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider025.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider026.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider027.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider028.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider029.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider030.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider031.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider032.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider033.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider034.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider035.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider036.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider037.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider038.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider039.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider040.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider041.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider042.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider043.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider044.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider045.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider046.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider047.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider048.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider049.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	document.slider050.src = "../images/showcase_browser/showcase_slider_bodyblk.gif" ;
	sliderIndex = arrayIndex ;
	tempIndex = arrayIndex ;
	if ( sliderIndex > lastIndex - 2 ) {
		sliderIndex = lastIndex - 2 ;
	}
	if ( sliderIndex - 2 == 1 ) {
		document.slider001.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
	}
	if ( sliderIndex - 2 == 2 ) {
		document.slider002.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
	}
	if ( sliderIndex > 4) {
		if ( sliderIndex <= lastIndex - 4 ) {
		tempIndex = ( sliderIndex * 50 ) / lastIndex ;
		tempIndex = Math.round ( tempIndex ) ;
		}
		if ( tempIndex == 4 ) {
			document.slider003.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 5 ) {
			document.slider004.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 6 ) {
			document.slider005.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 7 ) {
			document.slider006.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 8 ) {
			document.slider007.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 9 ) {
			document.slider008.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 10 ) {
			document.slider009.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 11 ) {
			document.slider010.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 12 ) {
			document.slider011.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 13 ) {
			document.slider012.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 14 ) {
			document.slider013.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 15 ) {
			document.slider014.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 16 ) {
			document.slider015.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 17 ) {
			document.slider016.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 18 ) {
			document.slider017.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 19 ) {
			document.slider018.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 20 ) {
			document.slider019.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 21 ) {
			document.slider020.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 22 ) {
			document.slider021.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 23 ) {
			document.slider022.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 24 ) {
			document.slider023.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 25 ) {
			document.slider024.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 26 ) {
			document.slider025.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 27 ) {
			document.slider026.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 28 ) {
			document.slider027.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 29 ) {
			document.slider028.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 30 ) {
			document.slider029.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 31 ) {
			document.slider030.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 32 ) {
			document.slider031.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 33 ) {
			document.slider032.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 34 ) {
			document.slider033.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 35 ) {
			document.slider034.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 36 ) {
			document.slider035.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 37 ) {
			document.slider036.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 38 ) {
			document.slider037.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 39 ) {
			document.slider038.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 40 ) {
			document.slider039.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 41 ) {
			document.slider040.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 42 ) {
			document.slider041.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 43 ) {
			document.slider042.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 44 ) {
			document.slider043.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 45 ) {
			document.slider044.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 46 ) {
			document.slider045.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 47 ) {
			document.slider046.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 48 ) {
			document.slider047.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
		if ( tempIndex == 49 ) {
			document.slider048.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
		}
	}
	if ( sliderIndex + 2 == lastIndex - 1) {
		document.slider049.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
	}
	if ( sliderIndex + 2 == lastIndex ) {
		document.slider050.src = "../images/showcase_browser/showcase_slider_bodyblu.gif"
	}
};

function popFullArtWindow(artistId) {
// Initialize packed or we get the word 'undefined'
  var packed = "";
  alert (artistId) ;
//  for (i = 0 ; (i < data.length) ; i++) {
//    if (i > 0) {
//      packed += ",";
//      }
    packed += escape(artistId);
//  }
  artistWindow = window.open ("showcaseWindow.html" , "showcaseWindow" , "resizable=yes,toolbar=no,width=750") ;
  artistWindow.location = "showcaseWindow.html?" + packed;
};

//function hideDetailWindow () {
//  document.artistImage.src = "images/copyrightnotice.gif";
//}
//function resetDetailWindow () {
//  document.artistImage.src = imageSource[2];
//}
//function loadingImage () {
//  document.artistImage.src = loadingSource;
//  document.artistImage.src = imageSource;
//  document.title = artistName + ' - ' + '"' + imageTitle + '"';
//}