function slideShow1(pictureID, textID){
 this.pID = pictureID;
 this.tID = textID;
 this.img = new Array();
 this.apF = ss1_apF;
 this.plF = ss1_plF;
 this.swp = ss1_swp;
 this.hsF = ss1_hsF;
 this.L = 0;
 this.c = 1;

 this.add = ss1_add;
 this.slide = ss1_slide;
}

function ss1_add(src, text){
 with(this){
  L++;
  img[L] = new Image;
  img[L].src = src;
  img[L].alt = text;
 }
}

function ss1_hsF(el){
 try{if(el.filters.length > 0) return true}
 catch(e){return false}
}

function ss1_apF(el){
 if(this.hsF(el)) el.filters[0].Apply()
}

function ss1_plF(el){
 if(this.hsF(el)) el.filters[0].Play()
}

function ss1_swp(){
var p,t;
 with(this){
  if(pID != null){
   p = document.getElementById(pID);
   apF(p);
   p.src = img[c].src;
   p.alt = img[c].alt;
   plF(p);
  }
  if(tID != null){
   t = document.getElementById(tID);
   apF(t);
   t.firstChild.nodeValue = img[c].alt;
   plF(t);
  }
 }
}

function ss1_slide(next){
 try{
  with(this){
   if(L < 2) return
   if(next){c++; if(c > L) c = 1}
   else{c--; if(c < 1) c = L}
   swp();
  }
 }
 catch(e){return}
}