////////////////////////////////////////////////////////////////
// Javascript made by Rasmus - http://www.peters1.dk //
////////////////////////////////////////////////////////////////

var SLIDE_path = 'http://www.techcompserv.com/JanRogers/images/drawings/'; // Path to the folder, where the images are put.

var SLIDE_text = new Array();
SLIDE_text[1] = 'Me and Suzy. A graphite drawing of me and my cousin when we were toddlers, from an old photograph, which she requested. We were raised together for the first 4 years of our lives, and she is like a sister to me.';
SLIDE_text[2] = 'Moonlight Seals. A colored-pencil drawing that was part of a series I was doing for a card company.';
SLIDE_text[3] = 'Imprisoned by Greed. A technical pen drawing I did during the time I was trying to prevent a Primate Toxicology Testing Lab from opening up in Sparks, Nevada.';
SLIDE_text[4] = 'Joeys Mandala. A colored pencil on black paper mandala I made for my son after his death. Every image in it represents his favorite things.';
SLIDE_text[5] = 'An old fantasy drawing I did several years ago, and gave to a good friend of mine.';
SLIDE_text[6] = 'A graphite drawing of a Rhesus mother and baby, also done during the time I was fighting the toxicology lab in Nevada.';
SLIDE_text[7] = 'A colored pencil mandala for the Great Apes, called Their Future is in Our Hands.';
SLIDE_text[8] = 'A graphite drawing called The Thatcher, and one of my personal favorites. I used to do graphite on illustration board drawings almost exclusively, but waking up one morning with severe arthritis in my hands and other joints forced me to switch to painting, which is not nearly as painful.';
SLIDE_text[9] = 'Another mandala, this one done after the Oklahoma City Bombing, to honor the people, and especially the children, who were killed that day.';
SLIDE_text[10] = 'The Burial Blanket. Another graphite drawing, this one depicting a Somalian mother carrying her dead child, and one with special meaning to me, having lost one of my own. It is also one of my favorite pieces, one I am especially proud of.';
SLIDE_text[11] = 'The Psychic. A mandala of colored pencil on black paper I did for a card company, years ago.';
SLIDE_text[12] = 'Victims of Science 1. A graphite on illustration board drawing I did during the time I was trying to stop a primate testing lab from opening in Sparks, Nevada.';
SLIDE_text[13] = 'Victims of Science 2. Another graphite on illustration board drawing I did while trying to stop the lab.';
SLIDE_text[14] = 'Zebras. A scratchboard etching of zebras. These are done in reverse; instead of black on white, you work over an inked surface and carefully scratch away to white to make your image appear, being careful of the pressure you use to produce different tones. A lot of fun, but mistakes are very hard to correct.';
SLIDE_text[15] = 'Cambodian Refugees. Graphite on illustration board, and one of my favorite drawings. I did it as an exercise in value and tone, from a richly colored photo.';
SLIDE_text[16] = 'Cheetahs. Another of the series I did for a card company. Colored pencil on illustration board. This image is available as a large Limited Edition, signed and numbered print, as is Their Future is in Our Hands, at a cost of $10 each. The printer could not match the neon colors in the cheetah drawing when making the prints, but the prints are quite pretty nonetheless.';
SLIDE_text[17] = 'Child in Red Cross Blanket. Graphite on illustration board, and another of my personal favorites.';
SLIDE_text[18] = 'Chimpface. An inkwash on illustration board. I love this face; his expression says it all.';
SLIDE_text[19] = 'Help Wanted. An old graphite on paper drawing.';
SLIDE_text[20] = 'Irish Burrow. This was one of the first technical pen drawings on illustration board I did, followed by many more. Technical pens are a challenge to work with, and can be very frustrating, but I love them just the same. Arthritis in my hands makes them a rare option for me now. Arthritis is why I put my pencils and pens away and started painting, so I guess it was good for something.';
SLIDE_text[21] = 'Red Cross Mandala. This is a colored pencil on black paper mandala I did after the Oklahoma City Bombing, in honor of the people, especially the children, who were killed that day.';
SLIDE_text[22] = 'Daisie. Another technical pen on illustration board drawing I did early on, after discovering technical pens.';
SLIDE_text[23] = 'Maxsportrait. A pastel portrait of my son Max, on pastel paper. I really had fun with this. Pastels make you want to experiment and loosen up.';
SLIDE_text[24] = 'Victims 3. A graphite and technical pen drawing on illustration board of a chimp in a lab, done during the time I was fighting the Primate Toxicology Lab. A fight we ultimately lost, unfortunately. They now are in a secret location in the Nevada desert, and are doing lethal experiments on Chimpanzees, our closest relatives. Very sad.';
SLIDE_text[25] = 'Dad and one of his Wolfhound pups. This is a graphite on illustration board drawing of my father with one of his Irish Woflhound puppies. I love this portrait. It is one of my favorites.';
SLIDE_text[26] = 'Major and Barron. A graphite on illustration board portrait I did of the 2 German Shepherds that guarded me and my cousin when we were babies-toddlers. I really like this drawing, it is another of my favorites.';
// 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;
}
