// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;

// Duration of crossfade (seconds)
var crossFadeDuration = 10;

// Specify the image files
// to add more images, just continue
// the pattern, adding to the array below
var Pic_Home = new Array(); // don't touch this
Pic_Home[0] = 'images/home_1.gif';
Pic_Home[1] = 'images/about_5.gif';
Pic_Home[2] = 'images/home_3.gif';
Pic_Home[3] = 'images/home_4.gif';
Pic_Home[4] = 'images/home_5.gif';
Pic_Home[5] = 'images/home_6.gif';



var Pic_Speakers = new Array(); // don't touch this
Pic_Speakers[0] = 'images/speaker_1.gif';
Pic_Speakers[1] = 'images/speaker_2.gif';
Pic_Speakers[2] = 'images/speaker_3.gif';
Pic_Speakers[3] = 'images/speaker_4.gif';
Pic_Speakers[4] = 'images/speaker_5.gif';
Pic_Speakers[5] = 'images/speaker_7.gif';

var Pic_Library = new Array(); // don't touch this
Pic_Library[0] = 'images/library_1.gif';
Pic_Library[1] = 'images/refer_5.gif';
Pic_Library[2] = 'images/library_3.gif';
Pic_Library[3] = 'images/library_4.gif';
Pic_Library[4] = 'images/library_5.gif';

var Pic_Test = new Array(); // don't touch this
Pic_Test[0] = 'images/test_1.gif';
Pic_Test[1] = 'images/test_2.gif';
Pic_Test[2] = 'images/test_3.gif';
Pic_Test[3] = 'images/test_4.gif';
Pic_Test[4] = 'images/test_5.gif';
Pic_Test[5] = 'images/refer_6.gif';


var Pic_Members = new Array(); // don't touch this
Pic_Members[0] = 'images/members_1.gif';
Pic_Members[1] = 'images/members_2.gif';
Pic_Members[2] = 'images/speaker_6.gif';
Pic_Members[3] = 'images/members_4.gif';
Pic_Members[4] = 'images/members_5.gif';
Pic_Members[5] = 'images/members_3.gif';

var Pic_Contact = new Array(); // don't touch this
Pic_Contact[0] = 'images/contact_1.gif';
Pic_Contact[1] = 'images/contact_2.gif';
Pic_Contact[2] = 'images/contact_3.gif';
Pic_Contact[3] = 'images/contact_4.gif';
Pic_Contact[4] = 'images/contact_5.gif';
Pic_Contact[5] = 'images/contact_6.gif';

// =======================================
// HOME do not edit anything below this line
// =======================================

var t;
var j = 0;
var p = Pic_Home.length;

var preLoad_Home = new Array();
for (i = 0; i < p; i++)
{
   preLoad_Home[i] = new Image();
   preLoad_Home[i].src = Pic_Home[i];
}

function runSlideShow_home()
{
   if (document.all)
   {
      document.images.SlideShow_home.style.filter="blendTrans(duration=2)";
      document.images.SlideShow_home.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow_home.filters.blendTrans.Apply();
   }
   document.images.SlideShow_home.src = preLoad_Home[j].src;
   if (document.all)
   {
      document.images.SlideShow_home.filters.blendTrans.Play();
   }
   j = j + 1;
   if (j > (p-1)) 
   j=0;
   t = setTimeout('runSlideShow_home()', slideShowSpeed);
}





  function stopError() {
    return true;
  }
  //window.onerror = stopError;
  
  

  
// =======================================
// SPEAKERS do not edit anything below this line
// =======================================

var t3;
var j3 = 0;
var p3 = Pic_Speakers.length;

var preLoad_Speakers = new Array();
for (i3 = 0; i3 < p3; i3++)
{
   preLoad_Speakers[i3] = new Image();
   preLoad_Speakers[i3].src = Pic_Speakers[i3];
}

function runSlideShow_speakers()
{
   if (document.all)
   {
      document.images.SlideShow_speakers.style.filter="blendTrans(duration=2)";
      document.images.SlideShow_speakers.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow_speakers.filters.blendTrans.Apply();
   }
   document.images.SlideShow_speakers.src = preLoad_Speakers[j3].src;
   if (document.all)
   {
      document.images.SlideShow_speakers.filters.blendTrans.Play();
   }
   j3 = j3 + 1;
   if (j3 > (p3-1)) 
   j3=0;
   t3 = setTimeout('runSlideShow_speakers()', slideShowSpeed);
}





  function stopError() {
    return true;
  }
  //window.onerror = stopError;
  
  
// =======================================
// LIBRARY do not edit anything below this line
// =======================================

var t4;
var j4 = 0;
var p4 = Pic_Library.length;

var preLoad_Library = new Array();
for (i4 = 0; i4 < p4; i4++)
{
   preLoad_Library[i4] = new Image();
   preLoad_Library[i4].src = Pic_Library[i4];
}

function runSlideShow_library()
{
   if (document.all)
   {
      document.images.SlideShow_library.style.filter="blendTrans(duration=2)";
      document.images.SlideShow_library.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow_library.filters.blendTrans.Apply();
   }
   document.images.SlideShow_library.src = preLoad_Library[j4].src;
   if (document.all)
   {
      document.images.SlideShow_library.filters.blendTrans.Play();
   }
   j4 = j4 + 1;
   if (j4 > (p4-1)) 
   j4=0;
   t4 = setTimeout('runSlideShow_library()', slideShowSpeed);
}





  function stopError() {
    return true;
  }
  //window.onerror = stopError;
  
// =======================================
// TESTIMONIALS do not edit anything below this line
// =======================================

var t5;
var j5 = 0;
var p5 = Pic_Test.length;

var preLoad_Test = new Array();
for (i5 = 0; i5 < p5; i5++)
{
   preLoad_Test[i5] = new Image();
   preLoad_Test[i5].src = Pic_Test[i5];
}

function runSlideShow_test()
{
   if (document.all)
   {
      document.images.SlideShow_test.style.filter="blendTrans(duration=2)";
      document.images.SlideShow_test.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow_test.filters.blendTrans.Apply();
   }
   document.images.SlideShow_test.src = preLoad_Test[j5].src;
   if (document.all)
   {
      document.images.SlideShow_test.filters.blendTrans.Play();
   }
   j5 = j5 + 1;
   if (j5 > (p5-1)) 
   j5=0;
   t5 = setTimeout('runSlideShow_test()', slideShowSpeed);
}





  function stopError() {
    return true;
  }
  //window.onerror = stopError;
  

// =======================================
// members do not edit anything below this line
// =======================================

var t7;
var j7 = 0;
var p7 = Pic_Members.length;

var preLoad_Members = new Array();
for (i7 = 0; i7 < p7; i7++)
{
   preLoad_Members[i7] = new Image();
   preLoad_Members[i7].src = Pic_Members[i7];
}

function runSlideShow_members()
{
   if (document.all)
   {
      document.images.SlideShow_members.style.filter="blendTrans(duration=2)";
      document.images.SlideShow_members.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow_members.filters.blendTrans.Apply();
   }
   document.images.SlideShow_members.src = preLoad_Members[j7].src;
   if (document.all)
   {
      document.images.SlideShow_members.filters.blendTrans.Play();
   }
   j7 = j7 + 1;
   if (j7 > (p7-1)) 
   j7=0;
   t7 = setTimeout('runSlideShow_members()', slideShowSpeed);
}





  function stopError() {
    return true;
  }
  //window.onerror = stopError;


// =======================================
// contact do not edit anything below this line
// =======================================

var t8;
var j8 = 0;
var p8 = Pic_Contact.length;

var preLoad_Contact = new Array();
for (i8 = 0; i8 < p8; i8++)
{
   preLoad_Contact[i8] = new Image();
   preLoad_Contact[i8].src = Pic_Contact[i8];
}

function runSlideShow_contact()
{
   if (document.all)
   {
      document.images.SlideShow_contact.style.filter="blendTrans(duration=2)";
      document.images.SlideShow_contact.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow_contact.filters.blendTrans.Apply();
   }
   document.images.SlideShow_contact.src = preLoad_Contact[j8].src;
   if (document.all)
   {
      document.images.SlideShow_contact.filters.blendTrans.Play();
   }
   j8 = j8 + 1;
   if (j8 > (p8-1)) 
   j8=0;
   t8 = setTimeout('runSlideShow_contact()', slideShowSpeed);
}





  function stopError() {
    return true;
  }
  //window.onerror = stopError;

