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

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

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

var Logo = new Array();
var Text = new Array();
var Set  = new Array();
/*var Caption = new Array();
var CapLogo2 = new Array();
var CapLogo3 = new Array();
var CapLogo4 = new Array();
 */

// 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!


// 4 logos (Logona, Sante, Walter Rau, Provida) rotating in top right corner.
// centre of main page has 4 pictures, each with caption (and ITL for links), grouped according to
// brand. Rotate the main pictures, with 4 groups per logo. Every time the logo rotates back to
// 'logo1', then the next of the 4 groups is displayed.

Logo[1]  = '/store/images/rotate/logo01.jpg';
Logo[2]  = '/store/images/rotate/logo02.jpg';
Logo[3]  = '/store/images/rotate/logo03.jpg';
Logo[4]  = '/store/images/rotate/logo04.jpg';
Logo[5]  = '/store/images/rotate/logo01.jpg';
Logo[6]  = '/store/images/rotate/logo02.jpg';
Logo[7]  = '/store/images/rotate/logo03.jpg';
Logo[8]  = '/store/images/rotate/logo04.jpg';



Set[1]  = '/store/images/rotate/logo1/set01.jpg';
Set[2]  = '/store/images/rotate/logo2/set01.jpg';
Set[3]  = '/store/images/rotate/logo3/set01.jpg';
Set[4]  = '/store/images/rotate/logo4/set01.jpg';
Set[5]  = '/store/images/rotate/logo1/set02.jpg';
Set[6]  = '/store/images/rotate/logo2/set02.jpg';
Set[7]  = '/store/images/rotate/logo3/set02.jpg';
Set[8]  = '/store/images/rotate/logo4/set02.jpg';




//text01=[data table=products col=description key=0s28077]

// 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]  = "<a href=/x/L-00216>Logona Daily Care Hand Cream with Organic Aloe &amp; Jojoba</a>";
Caption[2]  = "Sante Natural Basics Shampoo";
Caption[3]  = "Speick soap";
Caption[4]  = "Provida Living Nails Organic Top Coat";
Caption[5]  = "Logona Wild Rose Cleansing Milk";
Caption[6]  = "Sante cream.";
Caption[7]  = "After Shave.";
Caption[8]  = "Nail polish remover.";
 */

Text[1] = "<b>Logona's new Daily Care</b> series offers a comprehensive set of quality, BDIH certified personal care products at affordable prices.<br>Intensive moisturizing care for dry, rough hands with shea butter, aloe vera and jojoba. Penetrates quickly and gives your skin a soft, supple feel.";
Text[2] = "<b>Sensual, natural, uncomplicated</b> The new Natural Basics series from Sante brings a full array of BDIH certified products for your entire family at very affordable prices.<br><br>Rich in grapefruit, organic olive oil and nettles extract, this mild cleanser is formulated especially to help restore damaged, lifeless hair."
Text[3] = "<b>Walter Rau</b><br><br> Soaps and other stuff"
Text[4] = "<b>Brilliant shine</b><br><br> <b>Extra light texture</b><br>Living Nails Top Coat is applied either directly to unpolished nails or over the Living Nails Nail Strengthener or Antifungal Base Coat. Always apply onto nails that are clean and free of oil. Surface dries after 3-4 minutes, and completely dries within 10 minutes."
Text[5] = "<b>Naturally gentle facial hygiene</b> Wild Rose Cleansing Milk gently frees the skin from particulates and makeup residue. The active complex of wild rose oil, jojoba and vegetable glycerin protects the skin from excessive drying.<br> <b>Directions:</b><br> In the morning and evening, apply a generous amount onto the moistened skin of your your face, neck and d&eacute;collet&eacute;. Using circular strokes of your fingertips, massage well into your skin. Remove with cotton pads or warm water, and follow with Wild Rose Facial Toner. "
Text[6] = "<b>Sante</b><br> Gentle body creams"
Text[7] = "<b>Walter Rau</b><br>After shave"
Text[8] = "<b>Provida's</b><br> nail polish remover"

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

var tss;
var iss;
var jss = 1;
var pss = Set.length-1;
//var pss2 = Set2.length-1;

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

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

function runSlideShow(){
if (document.all){
document.images.LogoBox.style.filter="blendTrans(duration=2)";
document.images.LogoBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.LogoBox.filters.blendTrans.Apply();
document.images.SetBox.style.filter="blendTrans(duration=2)";
document.images.SetBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.SetBox.filters.blendTrans.Apply();}
document.images.LogoBox.src = preLoad[jss].src;
document.images.SetBox.src = preLoad1[jss].src;
if (document.getElementById) document.getElementById("TextBox").innerHTML= Text[jss];
if (document.all) document.images.SetBox.filters.blendTrans.Play();
if (document.all) document.images.LogoBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

/*
    <td width=350 height=280>
    <img src=logo1.jpg name=LogoBox width=350 height=280>
    </td>
    <td width=350 height=280>
    <img src=image001.jpg name=SetBox width=350 height=280>
    </td>
    <td id=TextBox class=Caption align=center>
    This is the default caption.
    </td>
<body onload=runSlideShow() bgcolor=#000000>
 */


