// Create the slideshow object
ss = new slideshow("ss");

// Set the delay between slides, 1000 = 1 sec
 ss.timeout = 8000;

// By default, all of the slideshow images are prefetched.
// If you have a large number of slides you can limit the
// number of images that are prefetched.
// ss.prefetch = 1;

// By default the slideshow will repeat when you get to the end.
// ss.repeat = false;

// Create the slides and add them to the slideshow.
s = new slide();
s.src =  "images/player/1.jpg";
s.link = "images/player/1.jpg";
s.title = "";
s.text = "Pre-anesthetic blood tests are performed for surgical patients, and provide us with important information about your pet's ability to undergo anesthesia and surgery, thus decreasing the level of risk associated with the procedures.";
//s.target = "";
//s.attr = "";
//s.filter = "";
//s.timeout = "";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/2.jpg";
s.link = "images/player/2.jpg";
s.title = "";
s.text = "Radiographs (X-rays) are required prior to surgery for some procedures.  Patients are mildly sedated to fully anesthetized for these radiographs, to allow for diagnostic quality images and to reduce stress and discomfort for your pet.";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/3.jpg";
s.link = "images/player/3.jpg";
s.title = "";
s.text = "Patients are given a combination of anesthetics and pain medications.   Vital statistics are monitored closely by Licensed Veterinary Technicians for the entire procedure.";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/4.jpg";
s.link = "images/player/4.jpg";
s.title = "";
s.text = "Preparation of the surgical site is performed once the patient is completely anesthetized.   The site is shaved and then scrubbed with antiseptic solutions.";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/5.jpg";
s.link = "images/player/5.jpg";
s.title = "";
s.text = "The surgeon and surgical scrub assistant (a Licensed Veterinary Technician or veterinarian) scrub in a specialized area outside the surgical suite.  Caps, gowns, masks, and shoe covers are worn.  Traffic is restricted in and around the surgical suite.";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/6.jpg";
s.link = "images/player/6.jpg";
s.title = "";
s.text = "The patient is moved to the surgical suite, positioned on the surgical table, and the monitoring equipment is adjusted.  The surgeon organizes the sterile surgical instruments in preparation for the surgery to begin.";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/7.jpg";
s.link = "images/player/7.jpg";
s.title = "";
s.text = "Surgery begins. Sterile drapes are used to establish a sterile field that minimizes contamination. The surgical suite has access to sterile supplies, sterilizing devices, fluid and blanket warmers, and other equipment. ";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/8.jpg";
s.link = "images/player/8.jpg";
s.title = "";
s.text = "Equipment and monitoring devices are positioned strategically for efficient patient care.  A designated Licensed Veterinary Technician constantly monitors the patient’s vital signs throughout the entire procedure.";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/9.jpg";
s.link = "images/player/9.jpg";
s.title = "";
s.text = "After surgery, patients are moved to a cushioned area for recovery, and warming blankets are used if needed.  A Licensed Veterinary Technician provides comfort and human contact, staying with your pet until your pet is stable and fully conscious.";
ss.add_slide(s);

s = new slide();
s.src =  "images/player/10.jpg";
s.link = "images/player/10.jpg";
s.title = "";
s.text = "This pet is awake and getting a visit from Dr. Robinson.  Postsurgical patients are carefully monitored for their entire stay.  Your pet will have an individualized pain control plan to provide optimal comfort after surgery.";
ss.add_slide(s);
// The following loop sets an attribute for all of the slides.
// This is easier than setting the attributes individually.

for (var i=0; i < ss.slides.length; i++) {

  s = ss.slides[i];
  s.target = "ss_popup";
  s.attr = "width=350,height=232,resizable=yes,scrollbars=no";

}
