//---variables to use inside functions---
var txt;
var txt1;
var txt2;
var txt3;

//---variables to set paintings
var afterride="afterride";
var baldeagle="baldeagle";
var beachride="beachride";
var commuters="commuters";
var daytonaparty="daytonaparty";
var deconstructed="deconstructed";
var desertday="desertday";
var desertnight="desertnight";
var diane="diane";
var eyes="eyes";
var findingneutral="findingneutral";
var fracturedgeo="fracturedgeo";
var ghostriders="ghostriders";
var ghostriders2="ghostriders2";
var hisandhers="hisandhers";
var jakesbikes="jakesbikes";
var justcruisin="justcruisin";
var ladiesfirst="ladiesfirst";
var nightbikes="nightbikes";
var nightcaptain="nightcaptain";
var notjustboystoys="notjustboystoys";
var ormond="ormond";
var peasoup="peasoup";
var pokerrun="pokerrun";
var pollack="pollack";
var rainriders="rainriders";
var speedyone="speedyone";
var speedytwins="speedytwins";
var starrybike="starrybike";
var starrybike2="starrybike2";
var stormriders="stormriders";
var throughwhichwesee="throughwhichwesee";
var vadicant="vadicant";
var vpower="vpower";


//---variables to provide content for .artdetails lists

     var afterridetxt = "<ul class='artdetails'><li>'The After Ride'</li><li>2009</li><li>Oil on canvas</li><li>29 in. x 49 in.</li></ul>";

     var baldeagletxt = "<ul class='artdetails'><li>'Ride Like an Eagle'</li><li>2009</li><li>36 in. x 48 in.</li><li>Oil on canvas</li></ul>";

     var beachridetxt = "<ul class='artdetails'><li>'Beach Ride'</li><li>2005</li><li>24 in. x 36 in.</li><li>Oil on canvas</li></ul>";

     var commuterstxt = "<ul class='artdetails'><li>'Commuters'</li><li>1981</li><li>Oil on canvas</li><li>30 in. x 42 in.</li></ul>";

     var daytonapartytxt = "<ul class='artdetails'><li>'Party in Daytona'</li><li>2009</li><li>30 in. x 40 in.</li><li>Oil on canvas</li></ul>";

     var deconstructedtxt = "<ul class='artdetails'><li>'De-constructed Scoots'</li><li>2009</li><li>24 in. x 30 in.</li><li>Oil on canvas</li></ul>";

     var desertdaytxt = "<ul class='artdetails'><li>'Desert Day'</li><li>1982</li><li>Diptych</li><li>Oil on canvas</li></ul>";

     var desertnighttxt = "<ul class='artdetails'><li>'Desert Night'</li><li>1982</li><li>Diptych</li><li>Oil on canvas</li></ul>";

     var dianetxt = "<ul class='artdetails'>'Riding with Diane'</li><li>2006</li><li>36 in. x 48 in.</li><li>Oil on canvas</li><li class='highlight'>President's Choice Award, Elmhurst Artists' Guild</li><li>People's Choice Show 2006</li><li class='highlight'>Selected for the 'Best of the Best Show'</li><li>Alliance of Fine Art 2007</li></ul>";

     var eyestxt = "<ul class='artdetails'><li>'Eyes'</li><li>2008</li><li>12 in. x 24 in.</li><li>Oil on canvas</li></ul>";

     var findingneutraltxt = "<ul class='artdetails'><li>'Finding Neutral'</li><li>2006</li><li>24 in. x 36 in.</li><li>Oil on canvas</li></ul><p>This painting has an interesting story. Originally there were two bikes within the frame of the painting with a different color scheme. 'The Foot' as it was known then was okay, but it was never really a piece that spoke to me. Yes, I do have conversations with my art. The first public appearance of the original piece was at a small 'biker art show,' a few people made some nice comments, but it remained silent, and was relegated to a quiet corner in the studio. Several months passed and just before being painted over, it resurrected itself from the quiet corner, a little bit like the original Harley Davidson 'Springer' that it resembles. Those first Springer designs were good, now they are better.</p><p>After the elimination some erroneous detail, and a change color, it has become a piece I am very proud of. It addresses that movement of the rider's foot, as they search for the elusive neutral gear. Twenty years or twenty hours on a bike, finding neutral can sometimes be a challenge.</p><p>A rider's left foot is always busy.</p>";

     var fracturedgeotxt = "<ul class='artdetails'><li>'Fractured Geo'</li><li>2008</li><li>30 in. x 40 in.</li><li>Oil on canvas</li></ul>";

     var ghostriderstxt = "<ul class='artdetails'><li>'Ghost Riders'</li><li>2006</li><li>29 in. x 49 in.</li><li>Oil on board</li></ul><p>'Ghost Riders' was inspired by the old cowboy ballad, 'Ghost Riders in the Sky,' by Stan Jones, in which the cowboys riding across the sky warn the lone cowboy on the range. If he doesn't change his ways, he'll be destined to join the ghost riders, chasing the Devil's herd forever. The cowboys' horses of yore have become horse-powered motorcycles of today, but the advice from the ghost riders still rings true.</p>";

     var ghostriders2txt = "<ul class='artdetails'><li>'Ghost Riders Two'</li><li>2008</li><li>12 in. x 36 in.</li><li>Oil on canvas</li></ul>";

     var hisandherstxt = "<ul class='artdetails'><li>'His & Hers'</li><li>2008</li><li>24 in. x 48 in.</li><li>Oil on Panel</li></ul>";

     var jakesbikestxt = "<ul class='artdetails'><li>'Jake's Bikes'</li><li>2006</li><li>30 in. x 48 in.</li><li>Oil on board</li></ul><p>This piece was developed in a reactionary state of mind. It started from a comment my son Jacob made to me in my studio, regarding his distain for one of the more traditional pieces I was working on. After his comment, which was rather harsh but came from his heart, I took a fresh look at my paintings and my Daytona photographs.</p><p>I intended to challenge myself with this piece and also challenge the viewer.  Some of us need to have all the detail, to make sure everything is in its place, but in the process of expanding our own horizons, things also need to be looked with a completely new eye. The lesson learned here is not to be complacent about life, push your own limits.</p><p>Homage is given to Franz Kline, a fifties abstract painter. I like where this went. Thank You, Jake.</p>";

     var justcruisintxt = "<ul class='artdetails'><li>'Just Cruisin' '</li><li>2008</li><li>24 in. x 48 in.</li><li>Oil on board</li></ul><p>There are some days and evenings that just blend into each other when you are out cruising with your friends. What I have done here is strip away the noise, the traffic and the chrome. Both an evening's full moon and midday's bright light create visions that remove detail, reducing the spectrum to you, your boots and the blacktop. In this piece I am capturing that mellow moment when you put your feet out and just cruise.</p>";

     var ladiesfirsttxt = "<ul class='artdetails'><li>'Ladies First'</li><li>2007</li><li>36 in. x 40 in.</li><li>Oil on canvas</li></ul><p>This painting pays homage to all the women riders. They make up a growing segment of motorcyclists. A few very observant lady riders pointed out to me that my paintings depicted men up front, and women on the back seat. The point was reinforced by my wife and one of our 'biker chick' buddies who both ride their own bikes, and frequently precede me down the pavement. There are also a number of women bike builders who create some great machines, finding the correct female ergonomics, and putting the male builders in their place.</p><p>Women bikers, like their male counterparts, know no age boundaries. The lady riders in this painting are in control of their own destinies, having a blast, enjoying the journey, just like the lady bikers in my circle of family and friends.</p>";

     var nightbikestxt = "<ul class='artdetails'><li>'Night Bikes'</li><li>2006</li><li>36 in. x 48 in.</li><li>Oil on canvas</li></ul><p>Ever sit inside a nice warm, friendly coffee shop to watch the rain pour over some expensive metal? Lights and color from near-by stores and street lights can play on the chrome and delight the eye. In the abstract painting I have used a 'wet on wet' technique and let the paint run like the rain.</p><p>The dancing colors, although entertaining, can't dismiss the thought that after the rain stops, some serious cleaning and drying is next on the list of things to do.</p>";

     var nightcaptaintxt = "<ul class='artdetails'><li>'Night Captain'</li><li>2007</li><li>30 in. x 40 in.</li><li>Oil on canvas</li></ul><p>In life, as in motorcycle riding, and especially if we are lucky, there will be a person who gets us through a tough situation. Riding a motorcycle under any circumstance is an adventure with a risk, but there are times when things can get even more intense--rain, snow, bad roads, and even getting lost--and that is when a 'night captain' comes to the rescue. The night captain may not be the designated leader, or the oldest hand, but is the person that finds a way to pull us from the edge.</p><p>After I completed this work, my wife asked if I had noticed a resemblance in any of the figures. I had not, nor did I plan to capture a specific person in the painting. The painting was intended to merely capture a sensation. As I forced myself to reexamine each individual more closely I noticed the face and features of an old and dear friend who has passed away. He was the first of us to ride, repair and rebuild a motorcycle. He taught some of us how to ride and some of us how to ride better. And he was most certainly the kind of guy who would do whatever it took to get the group through. He was the Night Captain.</p><p>I didn't plan it this way, but fate took a hand--and a paintbrush--so this painting is dedicated to my old friend, the 'Fat Man.' Remember your personal night captains, ride safe and be there when your friends need you.</p>";

     var notjustboystoystxt= "<ul class='artdetails'><li>'Not Just Boys' Toys'</li><li>2009</li><li>30 in. x 40 in.</li><li>Oil on canvas</li></ul>";

     var ormondtxt = "<ul class='artdetails'><li>'In-Between (Ormond)'</li><li>2009</li><li>36 in. x 48 in.</li><li>Oil on canvas</li></ul>";

     var peasouptxt = "<ul class='artdetails'><li>'Pea Soup'</li><li>2005</li><li>12 in. x 36 in.</li><li>Oil on canvas</li></ul><p>This piece is an experiment in trying to capture just what speed is. This is the first in a series of three. The title was coined by a close friend, a special lady who rides as well as any man I know. The viewer is welcome to make of the title what they may. But if you are standing very still, and witness a rocket bike race past in the fog or a light mist, you may be able to capture only a few colors--almost like a bowl of pea soup swirled with chunks of color.</p><p>I added the traffic signal in the very last stage.  It was a great way to add balance and reference street racing. Like it or not, in order to live to an old riding age, one must consider the limits of the road.</p>";

     var pokerruntxt = "<ul class='artdetails'><li>'Poker Run: 3 Kings and a Pair of Queens'</li><li>2006</li><li>36 in. x 48 in.</li><li>Oil on board</li></ul><p>Just about every motorcycle rider worth salt has participated in a 'Poker Run.' It is an event where each rider collects a playing card at a given check point. Mostly, there are about five stops, with one or two cards picked up at each stop.  The best poker hand at the end of the run wins a prize or cash.  These events are usually for a worthy charity, with the riders' entry fee and donated money going to that cause.</p><p>Bikers contribute to a host of worthy causes, but the ride is often its own reward. Camaraderie rules at these events, and average riders as well as the one-percenters often participate.</p><p>The three motorcycles are Road Kings--the headlamp trim is the giveaway.</p><p>Three Kings and a pair of Queens is a pretty good poker hand.</p>";

     var pollacktxt = "<ul class='artdetails'><li>'Riding with Jackson Pollack'</li><li>2008</li><li>30 in. x 42 in.</li><li>Oil on board</li></ul>";

     var rainriderstxt = "<ul class='artdetails'><li>'Rain Riders'</li><li>2005</li><li>36 in. x 48 in.</li><li>Oil on canvas</li></ul><p>There are those who never ride in the rain and others who will go miles out of their way to avoid it. Then there are those who put on some rain gear and go right through. This is dedicated to the ones that keep it on the road.</p><p>For the folks that do not ride, this painting may give you a glimpse into what a rider deals with. An easy rain picks up the oil on the road and produces some challenge while a heavy will wash off a bit of the oil but leaves the rider with not much depth perception. However, during this heavy downpour a wonderful sensation overcomes you along with an adrenaline rush that is hard to match.</p><p>Almost as if flying on instruments, you and the machine become as one. Enjoy the painting, make sure you have rain gear, and go for it.</p>";

     var speedyonetxt = "<ul class='artdetails'><li>'Speedy I'</li><li>2005</li><li>12 in. x 24 in.</li><li>Oil on canvas</li></ul>";

     var speedytwinstxt = "<ul class='artdetails'><li>'Speedy Twins'</li><li>2005</li><li>12 in. x 24 in.</li><li>Oil on canvas</li></ul>";

     var starrybiketxt = "<ul class='artdetails'><li>'Starry, Starry Bike'</li><li>2008</li><li>30 in. x 40 in.</li><li>Oil on canvas</li></ul>";

     var starrybike2txt = "<ul class='artdetails'><li>'Starry, Starry Bike 2'</li><li>2008-2010</li><li>30 in. x 40 in.</li><li>Oil on canvas</li></ul>";

     var stormriderstxt = "<ul class='artdetails'><li>'Storm Riders'</li><li>2008</li><li>30 in. x 40 in.</li><li>Oil on canvas</li></ul><p>This painting is another in my series of rainy night riding experiences. The ride that inspired this painting is chiseled in my brain. Riding back to camp after a sunny day in Sturgis, some friends and I ran into fast moving, hard weather, so hard that the state closed down the freeway. The rain was horizontal. The temperature dropped and lightning bolts played with our nerves as much as it did the open mountain range just a few miles ahead. As I was painting this memory, the lyrics of 'Riders on the Storm' were playing in my head.</p>";

     var throughwhichweseetxt="<ul class='artdetails'><li>'Through Which We See'</li><li>2009</li><li>29 in. x 49 in.</li><li>Oil on canvas</li></ul>";

     var vadicanttxt = "<ul class='artdetails'><li>'Vadi'cant'</li><li>2008</li><li>24 in. x 20 in.</li><li>Oil on canvas</li></ul>";

     var vpowertxt = "<ul class='artdetails'><li>'V-Power'</li><li>2006</li><li>30 in. x 40 in.</li><li>Oil on canvas</li></ul>";


//---Arrays to provide images in painting menu, calls selectpainting()

var tab19=new Array();
     tab19[0]="<img src='images/gallerysm/deconstructedicon.jpg' alt='Deconstructed Scoots' onclick='selectpainting(deconstructed)'/>";
     tab19[1]="<img src='images/gallerysm/baldeagleicon.jpg' alt='Ride Like an Eagle' onclick='selectpainting(baldeagle)'/>";
     tab19[2]="<img src='images/gallerysm/throughwhichweseeicon.jpg' alt='Through Which We See' onclick='selectpainting(throughwhichwesee)'/>";
     tab19[3]="<img src='images/gallerysm/afterrideicon.jpg' alt='After Ride' onclick='selectpainting(afterride)'/>";
     tab19[4]="<img src='images/gallerysm/daytonapartyicon.jpg' alt='Party in Daytona' onclick='selectpainting(daytonaparty)'/>";

var tab20=new Array();
     tab20[0]="<img src='images/gallerysm/pollackicon.jpg' alt='Riding with Jackson Pollack' onclick='selectpainting(pollack)'/>";
     tab20[1]="<img src='images/gallerysm/stormridersicon.jpg' alt='Storm Riders' onclick='selectpainting(stormriders)'/>";
     tab20[2]="<img src='images/gallerysm/starrybikeicon.jpg' alt='Starry Starry Bike' onclick='selectpainting(starrybike)'/>";
     tab20[3]="<img src='images/gallerysm/starrybike2icon.jpg' alt='Starry Starry Bike 2' onclick='selectpainting(starrybike2)'/>";
     tab20[4]="<img src='images/gallerysm/justcruisinicon.jpg' alt='Just Cruisin' onclick='selectpainting(justcruisin)'/>";
     tab20[5]="<img src='images/gallerysm/hisandhersicon.jpg' alt='His and Hers' onclick='selectpainting(hisandhers)'/>";
     tab20[6]="<img src='images/gallerysm/notjustboystoysicon.jpg' alt='Not Just Boys Toys' onclick='selectpainting(notjustboystoys)'/>";
     tab20[7]="<img src='images/gallerysm/ghostriders2icon.jpg' alt='Ghost Riders 2' onclick='selectpainting(ghostriders2)'/>";

var tab21=new Array();
     tab21[0]="<img src='images/gallerysm/ladiesfirsticon.jpg' alt='Ladies First' onclick='selectpainting(ladiesfirst)'/>";
     tab21[1]="<img src='images/gallerysm/pokerrunicon.jpg' alt='Poker Run: 3 Kings and a Pair of Queens' onclick='selectpainting(pokerrun)'/>";
     tab21[2]="<img src='images/gallerysm/nightcaptainicon.jpg' alt='Night Captain' onclick='selectpainting(nightcaptain)'/>";
     tab21[3]="<img src='images/gallerysm/jakesbikesicon.jpg' alt='Jakes Bikes' onclick='selectpainting(jakesbikes)'/>";
     tab21[4]="<img src='images/gallerysm/nightbikesicon.jpg' alt='Night Bikes' onclick='selectpainting(nightbikes)'/>";
     tab21[5]="<img src='images/gallerysm/vpowericon.jpg' alt='V-Power' onclick='selectpainting(vpower)'/>";
     tab21[6]="<img src='images/gallerysm/dianeicon.jpg' alt='Riding with Diane' onclick='selectpainting(diane)'/>";
     tab21[7]="<img src='images/gallerysm/ghostridersicon.jpg' alt='Ghost Riders' onclick='selectpainting(ghostriders)'/>";

var tab22=new Array();
     tab22[0]="<img src='images/gallerysm/findingneutralicon.jpg' alt='Finding Neutral' onclick='selectpainting(findingneutral)'/>";
     tab22[1]="<img src='images/gallerysm/speedyoneicon.jpg' alt='Speedy One' onclick='selectpainting(speedyone)'/>";
     tab22[2]="<img src='images/gallerysm/speedytwinsicon.jpg' alt='Speedy Twins' onclick='selectpainting(speedytwins)'/>";
     tab22[3]="<img src='images/gallerysm/peasoupicon.jpg' alt='Pea Soup' onclick='selectpainting(peasoup)'/>";
     tab22[4]="<img src='images/gallerysm/rainridersicon.jpg' alt='Rain Riders' onclick='selectpainting(rainriders)'/>";
     tab22[5]="<img src='images/gallerysm/beachrideicon.jpg' alt='Beach Ride' onclick='selectpainting(beachride)'/>";

var tabother01=new Array();
     tabother01[0]="<img src='images/gallerysm/ormondicon.jpg' onclick='selectpainting(ormond)'/>";
     tabother01[1]="<img src='images/gallerysm/commutersicon.jpg' onclick='selectpainting(commuters)'/>";
     tabother01[2]="<img src='images/gallerysm/desertdayicon.jpg' onclick='selectpainting(desertday)'/>";
     tabother01[3]="<img src='images/gallerysm/desertnighticon.jpg' onclick='selectpainting(desertnight)'/>";
     tabother01[4]="<img src='images/gallerysm/eyesicon.jpg' onclick='selectpainting(eyes)'/>";
     tabother01[5]="<img src='images/gallerysm/fracturedgeoicon.jpg' onclick='selectpainting(fracturedgeo)'/>";
     tabother01[6]="<img src='images/gallerysm/vadicanticon.jpg' onclick='selectpainting(vadicant)'/>";


//---function to set page at reload and display welcome message---

function welcome(txt){
     document.getElementById('mainimage').src="images/gallerylrg/StarryBike.jpg";
     document.getElementById('mainparagraph').innerHTML="<p>Shown in this gallery are many of my recent paintings, along with a few older works, just for fun. Most of my artwork is motorcycle-inspired, and most paintings are done in oil.</p><p>In addition to original paintings available for sale, I also offer select images in high quality giclee prints  on archival paper or canvas. For details, contact Wes by phone at (630) 291-1048 or email to <a href='mailto:wes.baker@fineartmotorcycle.com'>wes.baker@fineartmotorcycle.com</a> .</p>";
     tabclicked(tab19);
}

//---function to determine which tab has been clicked---

function tabclicked(txt1){

    document.getElementById("images-container").innerHTML=(txt1);
    tabanimation(txt1);
}


//---function to highlight menu tab selected, as bookmark---

function tabanimation(txt3) {

switch(txt3)   
{
case (txt1=tab19):
     document.getElementById('tab1').src="images/tabs/Tab1B.jpg";
     document.getElementById('tab2').src="images/tabs/Tab2.jpg";
     document.getElementById('tab3').src="images/tabs/Tab3.jpg";
     document.getElementById('tab4').src="images/tabs/Tab4.jpg";
     document.getElementById('tabother').src="images/tabs/TabOtherWork.jpg";
     break;

case (txt1=tab20):
     document.getElementById('tab1').src="images/tabs/Tab1.jpg";
     document.getElementById('tab2').src="images/tabs/Tab2B.jpg";
     document.getElementById('tab3').src="images/tabs/Tab3.jpg";
     document.getElementById('tab4').src="images/tabs/Tab4.jpg";
     document.getElementById('tabother').src="images/tabs/TabOtherWork.jpg";
     break;

case (txt1=tab21):
     document.getElementById('tab1').src="images/tabs/Tab1.jpg";
     document.getElementById('tab2').src="images/tabs/Tab2.jpg";
     document.getElementById('tab3').src="images/tabs/Tab3B.jpg";
     document.getElementById('tab4').src="images/tabs/Tab4.jpg";
     document.getElementById('tabother').src="images/tabs/TabOtherWork.jpg";
     break;

case (txt1=tab22):
     document.getElementById('tab1').src="images/tabs/Tab1.jpg";
     document.getElementById('tab2').src="images/tabs/Tab2.jpg";
     document.getElementById('tab3').src="images/tabs/Tab3.jpg";
     document.getElementById('tab4').src="images/tabs/Tab4B.jpg";
     document.getElementById('tabother').src="images/tabs/TabOtherWork.jpg";
     break;

case (txt1=tabother01):
     document.getElementById('tab1').src="images/tabs/Tab1.jpg";
     document.getElementById('tab2').src="images/tabs/Tab2.jpg";
     document.getElementById('tab3').src="images/tabs/Tab3.jpg";
     document.getElementById('tab4').src="images/tabs/Tab4.jpg";
     document.getElementById('tabother').src="images/tabs/TabOtherWorkB.jpg";
     break;   

default:
    document.write("There is a problem with the tab selection");
}
}


//---function to set large painting and text---

function selectpainting(txt2){
     
switch(txt2)
{

case "afterride":
     document.getElementById('mainimage').src="images/gallerylrg/AfterRide.jpg";
     document.getElementById('mainparagraph').innerHTML=afterridetxt;
     break;

case "baldeagle":
     document.getElementById('mainimage').src="images/gallerylrg/BaldEagle.jpg";
     document.getElementById('mainparagraph').innerHTML=baldeagletxt;
     break;

case "beachride":
     document.getElementById('mainimage').src="images/gallerylrg/BeachRide.jpg";
     document.getElementById('mainparagraph').innerHTML=beachridetxt;
     break;

case "commuters":
     document.getElementById('mainimage').src="images/gallerylrg/Commuters.jpg";
     document.getElementById('mainparagraph').innerHTML=commuterstxt;
     break;

case "daytonaparty":
     document.getElementById('mainimage').src="images/gallerylrg/DaytonaParty.jpg";
     document.getElementById('mainparagraph').innerHTML=daytonapartytxt;
     break;

case "deconstructed":
     document.getElementById('mainimage').src="images/gallerylrg/Deconstructed.jpg";
     document.getElementById('mainparagraph').innerHTML=deconstructedtxt;
     break;

case "desertday":
     document.getElementById('mainimage').src="images/gallerylrg/DesertDay.jpg";
     document.getElementById('mainparagraph').innerHTML=desertdaytxt;
     break;

case "desertnight":
     document.getElementById('mainimage').src="images/gallerylrg/DesertNight.jpg";
     document.getElementById('mainparagraph').innerHTML=desertnighttxt;
     break;

case "diane":
     document.getElementById('mainimage').src="images/gallerylrg/Diane.jpg";
     document.getElementById('mainparagraph').innerHTML=dianetxt;
     break;

case "eyes":
     document.getElementById('mainimage').src="images/gallerylrg/Eyes.jpg";
     document.getElementById('mainparagraph').innerHTML=eyestxt;
     break;

case "findingneutral":
     document.getElementById('mainimage').src="images/gallerylrg/FindingNeutral.jpg";
     document.getElementById('mainparagraph').innerHTML=findingneutraltxt;
     break;

case "fracturedgeo":
     document.getElementById('mainimage').src="images/gallerylrg/FracturedGeo.jpg";
     document.getElementById('mainparagraph').innerHTML=fracturedgeotxt;
     break;

case "ghostriders":
     document.getElementById('mainimage').src="images/gallerylrg/GhostRiders.jpg";
     document.getElementById('mainparagraph').innerHTML=ghostriderstxt;
     break;

case "ghostriders2":
     document.getElementById('mainimage').src="images/gallerylrg/GhostRiders2.jpg";
     document.getElementById('mainparagraph').innerHTML=ghostriders2txt;
     break;

case "hisandhers":
     document.getElementById('mainimage').src="images/gallerylrg/HisAndHers.jpg";
     document.getElementById('mainparagraph').innerHTML=hisandherstxt;
     break;

case "jakesbikes":
     document.getElementById('mainimage').src="images/gallerylrg/JakesBikes.jpg";
     document.getElementById('mainparagraph').innerHTML=jakesbikestxt;
     break;

case "justcruisin":
     document.getElementById('mainimage').src="images/gallerylrg/JustCruisin.jpg";
     document.getElementById('mainparagraph').innerHTML=justcruisintxt;
     break;

case "ladiesfirst":
     document.getElementById('mainimage').src="images/gallerylrg/LadiesFirst.jpg";
     document.getElementById('mainparagraph').innerHTML=ladiesfirsttxt;
     break;

case "nightbikes":
     document.getElementById('mainimage').src="images/gallerylrg/NightBikes.jpg";
     document.getElementById('mainparagraph').innerHTML=nightbikestxt;
     break;

case "nightcaptain":
     document.getElementById('mainimage').src="images/gallerylrg/NightCaptain.jpg";
     document.getElementById('mainparagraph').innerHTML=nightcaptaintxt;
     break;

case "notjustboystoys":
     document.getElementById('mainimage').src="images/gallerylrg/NotJustBoysToys.jpg";
     document.getElementById('mainparagraph').innerHTML=notjustboystoystxt;
     break;

case "ormond":
     document.getElementById('mainimage').src="images/gallerylrg/Ormond.jpg";
     document.getElementById('mainparagraph').innerHTML=ormondtxt;
     break;

case "peasoup":
     document.getElementById('mainimage').src="images/gallerylrg/PeaSoup.jpg";
     document.getElementById('mainparagraph').innerHTML=peasouptxt;
     break;

case "pokerrun":
     document.getElementById('mainimage').src="images/gallerylrg/PokerRun.jpg";
     document.getElementById('mainparagraph').innerHTML=pokerruntxt;
     break;

case "pollack":
     document.getElementById('mainimage').src="images/gallerylrg/RidingWithPollack.jpg";
     document.getElementById('mainparagraph').innerHTML=pollacktxt;
     break;

case "rainriders":
     document.getElementById('mainimage').src="images/gallerylrg/RainRiders.jpg";
     document.getElementById('mainparagraph').innerHTML=rainriderstxt;
     break;

case "speedyone":
     document.getElementById('mainimage').src="images/gallerylrg/SpeedyOne.jpg";
     document.getElementById('mainparagraph').innerHTML=speedyonetxt;
     break;

case "speedytwins":
     document.getElementById('mainimage').src="images/gallerylrg/SpeedyTwins.jpg";
     document.getElementById('mainparagraph').innerHTML=speedytwinstxt;
     break;

case "starrybike":
     document.getElementById('mainimage').src="images/gallerylrg/StarryBike.jpg";
     document.getElementById('mainparagraph').innerHTML=starrybiketxt;
     break;

case "starrybike2":
     document.getElementById('mainimage').src="images/gallerylrg/StarryBike2.jpg";
     document.getElementById('mainparagraph').innerHTML=starrybike2txt;
     break;

case "stormriders":
     document.getElementById('mainimage').src="images/gallerylrg/StormRiders.jpg";
     document.getElementById('mainparagraph').innerHTML=stormriderstxt;
     break;

case "throughwhichwesee":
     document.getElementById('mainimage').src="images/gallerylrg/ThroughWhichWeSee.jpg";
     document.getElementById('mainparagraph').innerHTML=throughwhichweseetxt;
     break;

case "vadicant":
     document.getElementById('mainimage').src="images/gallerylrg/Vadicant.jpg";
     document.getElementById('mainparagraph').innerHTML=vadicanttxt;
     break;

case "vpower":
     document.getElementById('mainimage').src="images/gallerylrg/VPower.jpg";
     document.getElementById('mainparagraph').innerHTML=vpowertxt;
     break;

default:
     document.getElementById('mainimage').src="images/gallerylrg/Commuters.jpg";
     document.getElementById('mainparagraph').innerHTML="nothing, default";
}
}

