////////////////////////////////////////////////////////////////
// Javascript made by Rasmus - http://www.peters1.dk //
////////////////////////////////////////////////////////////////

var SLIDE_path = 'http://www.techcompserv.com/JanRogers/images/paintings/'; // Path to the folder, where the images are put.

var SLIDE_text = new Array();
SLIDE_text[1] = 'Mama giraffe and baby, watercolor on textured claybord, my favorite watercolor surface to paint on. I did this painting as a demo in a watercolor class i was teaching.';
SLIDE_text[2] = 'Kurdish Refugees, acrylic on canvas. I painted the entire canvas in the background color, then painted the father and child over that, allowing the background color to come through in their eyes.';
SLIDE_text[3] = 'Lulu, Sweetie, and the Blue Line. The first in the Blue Line Dog Painting series. Watercolor on textured claybord, based on an accidental photo I took as the camera slipped in my hand. When I saw the photo, I knew it had to become a painting.';
SLIDE_text[4] = 'Mabel in the Marigolds, approximately 4ftx4ft, oil on canvas. Mabel is a cat I and my mom hand raised, along with the rest of her litter, from the time they were 1 day old.';
SLIDE_text[5] = 'The second painting in the Blue Line Dog Paintings series, watercolor on textured claybord, with acrylic over the black and white tiles. The dogs pictured are Max and Tux, my friends dogs.';
SLIDE_text[6] = 'Meet Mr. Lizard, one of my favorite paintings. Mr. Lizard was painted with watercolors on high quality watercolor paper. the little lizards in the corners were made by cutting sponges into lizard shapes and dabbing them in acrylic paint then touching them lightly on the paper at the corners. The dots were done with acrylic on my fingertips. This was really a fun painting to make and I am quite proud of it. I think I may someday do a painted coffee table with Mr. Lizard in the center, but facing left. I just love the guy!';
SLIDE_text[7] = 'Happier Times. This is a 3ftx5ft acrylic on canvas, and part of my Nostalgia series of paintings based on old black and white photos from family albums. This one depicts my fathers uncle when he was a baby. He was a man who had a hard time and took his own life when he was in his early thirties. I donated it to the hospital that saved my sons life.';
SLIDE_text[8] = 'Pearl in the Poke, prior to Rescue. This dog broke my heart when I first saw her and inspired this painting. She was held by a hoarder in a small pen with her sister, at the back of his property. Pearl was the weaker of the two black labs, so her sister got nearly all the kibble that was thrown over the fence for them, and Pearl starved. She also had severe neurological problems and her legs shook uncontrollably. I did not realize until I downloaded and opened the photo I had taken of her just how powerful the image was--I just got lucky when I snapped it and captured it all--her fear, her pain, her misery, amid the stunning beauty of the poke that took up the entire pen she was in. I knew this image had to be a painting as soon as I saw it. The painting has touched everyone who has seen it, and won Best of Show in a local Museum. Pearl and her sister were rescued shortly after I took the photo of her, and I and a neighbor drove them to Kentucky, where we met another rescuer who took them to a wonderful Labrador Retriever Rescue in Cincinnati, OH, where they both received medical care, quality food, and love, and recovered their health.';
SLIDE_text[9] = 'Mothers Day. Acrylic on canvas. I did this one Mothers Day in 13 hours. This style is about as loose as I get, but I had fun painting it, and people seem to like it.';
SLIDE_text[10] = 'Flower Power. Watercolor on textured claybord, from a photo I took of a Hibiscus blossom while on my trip to Hawaii.';
SLIDE_text[11] = 'Ed. This is Ed, a dear friends dog who lived a long, happy life. I did this portrait for my friend after Eds death.';
SLIDE_text[12] = 'Spotz, the third in my Blue Line Dog painting series.';
SLIDE_text[13] = 'Brotherly Love, one of my Nostalgia series, based on old photos from family albums.';
SLIDE_text[14] = 'Best Friends, an old watercolor on paper.';
SLIDE_text[15] = 'Beth,Linda, Jeannie. Watercolor on textured claybord. Portrait of three generatons of great women, and my friends.';
SLIDE_text[16] = 'Dingle Horses. Watercolor on textured claybord, from a photo I took on one of my trips to Ireland.';
SLIDE_text[17] = 'War. Acrylic on canvas, 3ft.x5ft. An anti-war statement.';
SLIDE_text[18]  = 'Warning: The images here are graphic, and may not be appropriate for some to view, as they contain paintings depicting the cruelty of the Bushmeat Trade.';
SLIDE_text[19]  = 'Headhunter, the first painting in the Bushmeat series, based on Karl Ammanns award-winning photos.';
SLIDE_text[20]  = 'Friends till the End, second in series, depicting two baby gorillas who were killed along with their entire family group, by bushmeat hunters';
SLIDE_text[21]  = 'No Place Like Home, third in bushmeat series. The chimp depicted is a by-product of this cruel trade, and was likely captured when its mother was shot, then sold as a pet.';
SLIDE_text[22]  = 'Stilled Life, fourth in series, this gorilla was another victim of the bushmeat trade.';
SLIDE_text[23]  = 'Chimp Dignity, fifth in the series I would like to have shown in some brave gallery someday, to help raise money and awareness to stop the bushmeat trade';
SLIDE_text[24]  = 'Close-up of No Place Like Home. The face of innocence and misery.';
// Don't change anything under here...

var SLIDE_pic = new Array();
var SLIDE_load = new Array();
var SLIDE_status, SLIDE_timeout;
var SLIDE_actual = 1;
var SLIDE_speed = 3000;
var SLIDE_fade = 2;

for (i = 1; i <= SLIDE_text.length-1; i++)
{
  SLIDE_pic[i] = SLIDE_path+i+'.jpg';
  SLIDE_load[i] = new Image();
  SLIDE_load[i].src = SLIDE_pic[i];
}
var SLIDE_count = SLIDE_pic.length-1;

function SLIDE_start()
{
  document.getElementById('SLIDE_pause').disabled = true;
  document.images.SLIDE_picBox.src = SLIDE_load[SLIDE_actual].src;
  document.getElementById("SLIDE_textBox").innerHTML= SLIDE_text[SLIDE_actual];
}

function SLIDE_play()
{
  document.getElementById('SLIDE_play').disabled = true;
  document.getElementById('SLIDE_pause').disabled = false;
  SLIDE_actual++;
  SLIDE_slide();
  SLIDE_status = 'SLIDE_play';
  SLIDE_timeout = setTimeout("SLIDE_play()",SLIDE_speed);
}

function SLIDE_pause()
{
  clearTimeout(SLIDE_timeout);
  SLIDE_status = 'SLIDE_pause';
  document.getElementById('SLIDE_pause').disabled = true;
  document.getElementById('SLIDE_play').disabled = false;	
}

function SLIDE_back()
{
  clearTimeout(SLIDE_timeout);
  SLIDE_actual--;
  SLIDE_slide();
  if (SLIDE_status != 'SLIDE_pause') SLIDE_timeout = setTimeout("SLIDE_play()",SLIDE_speed);
}

function SLIDE_forward()
{
  clearTimeout(SLIDE_timeout);
  SLIDE_actual++;
  SLIDE_slide()
  if (SLIDE_status != 'SLIDE_pause') SLIDE_timeout = setTimeout("SLIDE_play()",SLIDE_speed);
}


function SLIDE_slide()
{
  if (SLIDE_status != 'SLIDE_pause')
  {
    document.getElementById('SLIDE_play').disabled = true;
    document.getElementById('SLIDE_pause').disabled = false;
  }
  if (SLIDE_actual > (SLIDE_count)) SLIDE_actual=1;
  if (SLIDE_actual < 1) SLIDE_actual = SLIDE_count;
  if (document.all)
  {
    document.getElementById("SLIDE_textBox").style.background = "transparent";
    document.images.SLIDE_picBox.style.filter="blendTrans(duration=2)";
    document.images.SLIDE_picBox.style.filter="blendTrans(duration=SLIDE_fade)";
    document.images.SLIDE_picBox.filters.blendTrans.Apply();
  }
  document.images.SLIDE_picBox.src = SLIDE_load[SLIDE_actual].src;
  if (document.getElementById) document.getElementById("SLIDE_textBox").innerHTML= SLIDE_text[SLIDE_actual];
  if (document.getElementById) document.getElementById("SLIDE_count").innerHTML= SLIDE_actual;
  if (document.all) document.images.SLIDE_picBox.filters.blendTrans.Play();
}

function SLIDE_speeds(SLIDE_valgt)
{
  SLIDE_speed = SLIDE_valgt.options[SLIDE_valgt.selectedIndex].value;
}