if (top == self) self.location.href="index.html";
preview = null;
function Thumbnail(TITLE, URL, WIDTH, HEIGHT) {
  previewClose();
  windowprops = "left=50,top=50,width=" + (WIDTH+50) + ",height=" + (HEIGHT+50);
  text = "<html><head ><META HTTP-EQUIV='Refresh' CONTENT='1200'><title>" + TITLE + "</title></head><body  bgcolor='white'";
  text += "><center><img src='" + URL + "' width='" + WIDTH + "' height='" + HEIGHT + "'>";
  text += "</center></body></html>";
  preview = window.open("", "preview", windowprops);
  preview.document.open();
  preview.document.write(text);
  preview.document.close();
}
function previewClose() {
  try {
    if (preview && !preview.closed) {
      preview.close();
    }
  }  catch(err) {
  }
}
function setPreviewNull() {
  preview = null;
}
function Popup(TITLE, URL, WIDTH, HEIGHT) {
  previewClose();
  windowprops = "left=50,top=50,status=yes,width=" + (WIDTH+50) + ",height=" + (HEIGHT+50) + ",,scrollbars=yes";
  preview = window.open(URL, "preview", windowprops);
}
var slideShowSpeed = 5000;
var crossFadeDuration = 3;
var Pic = new Array();
Pic[0] = 'images/leather_gloves_group_1.jpg'
Pic[1] = 'images/leather_gloves_group_2.jpg'
Pic[2] = 'images/leather_gloves_group_3.jpg'
Pic[3] = 'images/leather_gloves_group_4.jpg'
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
if (document.images) {
}
function swap_image(id,name){
  if (document.images) document.images[id].src=eval(name+".src");
}
function loadframes () {
  if (top != self) {
  }
}
