// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 3000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 0;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = 'images/slides/prettywomanMD.jpg';
Picture[2]  = 'images/slides/tonyMD.jpg';
Picture[3]  = 'images/slides/ladysMD.jpg';
Picture[4]  = 'images/slides/beacomMD.jpg';
Picture[5]  = 'images/slides/horizonMD.jpg';
Picture[6]  = 'images/slides/model55wavy.jpg';
Picture[7]  = 'images/slides/summerbeautyMD.jpg';
Picture[8]  = 'images/slides/madamzMD.jpg';

// Specify the Captions...
// To add more captions, just continue the pattern, adding to the array below.
// To use fewer captions, remove lines starting at the end of the Caption array. 
// Caution: The number of Captions *must* equal the number of Pictures!

Caption[1]  = "Inspired by the motion picture, Pretty Woman, this style is by far a hit. It is a below-shoulder-length with fringes to frame the face with soft, wavy layers. Pretty Woman is a most naturally looking full wavy piece, so layered that it could be worn in many styles, ranging from up-do, half-pony, or simply blow-dried for a straight look.";
Caption[2]  = "Our latest style, the Tony MD, is a cousin to our classic Pretty Woman MD. Gentle layers of tumbling waves cascade down approximately 24 inches long. Natural, romantic, the Tony MD softly echoing of an era past.";
Caption[3]  = "If it is possible to create an “instant classic”, Klari has done it now! Resting in length, between the Madam Z and the Summer Beauty The Lady S MD demonstrates versatility while being the epitome of sophistication, the perfect choice.";
Caption[4]  = "Designed with the petite look in mind, the Bea features naturally curly hair. Front hairline is swept away from the face, without any typical hair partition. Bea is the shortest curly style.";
Caption[5]  = "The Horizon is naturally wavy, but as demonstrated here, can be blow-dried to achieve a straight with fullness/body look. Among its features are bangs, regular side part, slight layers, and is made standard on a smaller/narrower cap/foundation.";
Caption[6]  = "The Model 55 Wavy is a MD with well-balanced short and wavy layers present an easy-to-maintain, presentable natural look. The Model 55 Wavy is an alternative to the Perspective MD.";
Caption[7]  = "Summer Beauty is also part of our Classics Collection. It is shoulder-length, wavy, and softly layered. With no bangs, it is meant to serve as an away from the face style. However, it has the capacity for soft side bangs to be created as part of the style.";
Caption[8]  = "Most likely, this is the perfect style for you. Classic, elegant, and always beautiful, the Madam Z, created by Clary for herself, is the Classics Collection's absolute masterpiece. An all-time favorite, its popularity is evident in leading our top-five best-sellings styles. The Madam Z allows your stylist to create either soft wisps or full bangs in the front, or to give it a totally swept-off-the-face style. It features a regular side part, fullness, soft layers, and reaches just below chin length. The Madam Z can be blow dried, to achieve an optimal straight-with-body or relaxed wave look.";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}}