var btnImgArr = new Array(10);btnImgArr[0] = '_prod_rev1_0';btnImgArr[1] = '_prod_rev1_1';btnImgArr[2] = '_prod_rev1_2';btnImgArr[3] = '_prod_rev1_3';btnImgArr[4] = '_prod_rev1_4';btnImgArr[5] = '_prod_rev1_5';btnImgArr[6] = '_prod_rev1_6';btnImgArr[7] = '_prod_rev1_7';btnImgArr[8] = '_prod_rev1_8';btnImgArr[9] = '_prod_rev1_9'; var pause = false;var initialcnt = 0;var initialurl='';var urlArray = new Array(10);
var imgArray = new Array(10);
var textArray = new Array(10);
var salePriceArray = new Array(10);
var strikePriceArray = new Array(10);
var maxCounter = 9;var previousBtnImg;var counter = 0;
var timer =3000; var timer1 ;
imgArray[0] ="http://www.chinaflowersshop.com/picture/pic2/ink08.jpg";textArray[0] = "Red Dust Depths";strikePriceArray[0] ="";salePriceArray[0] ="$37.00";urlArray[0] = "http://www.chinaflowersshop.com/red-dust-depths-p-391.htm";imgArray[1] ="http://www.chinaflowersshop.com/picture/pic2/ink10.jpg";textArray[1] = "With Love";strikePriceArray[1] ="";salePriceArray[1] ="$104.00";urlArray[1] = "http://www.chinaflowersshop.com/with_love-p-393.htm";imgArray[2] ="http://www.chinaflowersshop.com/picture/pic2/SQHY010102000190.jpg";textArray[2] = "Flower Seasons";strikePriceArray[2] ="";salePriceArray[2] ="$59.00";urlArray[2] = "http://www.chinaflowersshop.com/Flower-seasons-p-483.htm";imgArray[3] ="http://www.chinaflowersshop.com/picture/pic2/SQHY010102000640.jpg";textArray[3] = "Silent Night";strikePriceArray[3] ="";salePriceArray[3] ="$62.00";urlArray[3] = "http://www.chinaflowersshop.com/Silent--night-p-472.htm";imgArray[4] ="http://www.chinaflowersshop.com/picture/pic2/ink40_2.jpg";textArray[4] = "Your Happiness";strikePriceArray[4] ="";salePriceArray[4] ="$82.00";urlArray[4] = "http://www.chinaflowersshop.com/your-happiness-p-445.htm";imgArray[5] ="http://www.chinaflowersshop.com/proimages/20083180472308_.jpg";textArray[5] = "Feeling Beautiful";strikePriceArray[5] ="";salePriceArray[5] ="$37.00";urlArray[5] = "http://www.chinaflowersshop.com/feeling_beautiful-p-385.htm";imgArray[6] ="http://www.chinaflowersshop.com/picture/pic2/SQHY010102000700.jpg";textArray[6] = "Pink Lovers";strikePriceArray[6] ="";salePriceArray[6] ="$52.00";urlArray[6] = "http://www.chinaflowersshop.com/Pink-lovers-p-470.htm";imgArray[7] ="http://www.chinaflowersshop.com/picture/pic2/SQHY0101010000460.jpg";textArray[7] = "Love's Paradise";strikePriceArray[7] ="";salePriceArray[7] ="$56.00";urlArray[7] = "http://www.chinaflowersshop.com/Love-paradise-p-453.htm";imgArray[8] ="http://www.chinaflowersshop.com/picture/pic2/ink26.jpg";textArray[8] = "Because The Love";strikePriceArray[8] ="";salePriceArray[8] ="$52.00";urlArray[8] = "http://www.chinaflowersshop.com/bcause_he_ove-p-415.htm";imgArray[9] ="http://www.chinaflowersshop.com/picture/pic2/ink09.jpg";textArray[9] = "Soul";strikePriceArray[9] ="";salePriceArray[9] ="$52.00";urlArray[9] = "http://www.chinaflowersshop.com/soul-p-392.htm";
var t;	var j = 0 	;	var p = 10;	var preLoad = new Array(); for (i = 0; i < p; i++)	{preLoad[i] = new Image();preLoad[i].src = imgArray[i];	}
function runSlideShow(){  if (pause){return;}  if (document.getElementById){ if(counter > maxCounter)counter = 0;
if(typeof(ChangeColor) == 'function'){ChangeColor(counter);}if (document.getElementById('_prod_rev1__productimage')!=null)if (document.getElementById('_prod_rev1__productname')!=null){if (initialcnt==0){   initialurl =document.getElementById('_prod_rev1__productdetails').href;var firstpos=initialurl.lastIndexOf('?');initialurl=initialurl.substring(firstpos,initialurl.length);} initialcnt = 1 ;}{ document.getElementById('_prod_rev1__productname').href  = urlArray[counter];
 }document.getElementById('_prod_rev1__productimage').style.filter='blendTrans(duration=4)';if (document.getElementById('_prod_rev1__productname')!=null){ document.getElementById('_prod_rev1__productimage').style.filter='blendTrans(duration=crossFadeDuration)'; }if (document.getElementById('_prod_rev1__productname')!=null){ if(document.all)document.getElementById('_prod_rev1__productimage').filters.blendTrans.Apply() ;}}if (document.getElementById('_prod_rev1__productimage')!=null) {document.getElementById('_prod_rev1__productimage').src = preLoad[counter].src;}if (document.getElementById('_prod_rev1__productname')!=null){ document.getElementById('_prod_rev1__productname').innerHTML  = textArray[counter];
}if (document.getElementById('_prod_rev1__productsaleprice')!=null){ document.getElementById('_prod_rev1__productsaleprice').innerHTML  = salePriceArray[counter];
 }if (document.getElementById('_prod_rev1__productstrikeprice')!=null){ document.getElementById('_prod_rev1__productstrikeprice').innerHTML  = strikePriceArray[counter];
document.getElementById('_prod_rev1__productstrikeprice').href  = urlArray[counter];
 }if (document.getElementById('_prod_rev1__productsaleprice')!=null){ document.getElementById('_prod_rev1__productsaleprice').href  = urlArray[counter];
 }if (document.getElementById('_prod_rev1__productname')!=null)if (document.getElementById('_prod_rev1__productdetails')!=null){ document.getElementById('_prod_rev1__productdetails').href  = urlArray[counter];
 }if (document.getElementById('_prod_rev1__productbuybutton')!=null){ document.getElementById('_prod_rev1__productbuybutton').href  = urlArray[counter];
 }if (document.all){if (document.getElementById('_prod_rev1__productimage')!=null){document.getElementById('_prod_rev1__productimage').filters.blendTrans.Play();}} t = setTimeout('runSlideShow()',timer);
if (pause==false)counter++;
} t = setTimeout('runSlideShow()', timer);
function changeImage(){if(counter > maxCounter)counter = 0;
if(typeof(ChangeColor) == 'function'){ChangeColor(counter)};if (document.getElementById('_prod_rev1__productimage')!=null)if (document.getElementById('_prod_rev1__productname')!=null){if (initialcnt==0){   initialurl =document.getElementById('_prod_rev1__productdetails').href;var firstpos=initialurl.lastIndexOf('?');initialurl=initialurl.substring(firstpos,initialurl.length);} initialcnt = 1 ;}{document.getElementById('_prod_rev1__productimage').src  = imgArray[counter] ;
}if (document.getElementById('_prod_rev1__productname')!=null){ document.getElementById('_prod_rev1__productname').innerHTML  = textArray[counter];
}if (document.getElementById('_prod_rev1__productsaleprice')!=null){ document.getElementById('_prod_rev1__productsaleprice').innerHTML  = salePriceArray[counter];
 }if (document.getElementById('_prod_rev1__productstrikeprice')!=null){ document.getElementById('_prod_rev1__productstrikeprice').innerHTML  = strikePriceArray[counter];
document.getElementById('_prod_rev1__productstrikeprice').href  = urlArray[counter];
 }if (document.getElementById('_prod_rev1__productsaleprice')!=null){ document.getElementById('_prod_rev1__productsaleprice').href  = urlArray[counter];
 }if (document.getElementById('_prod_rev1__productname')!=null){ document.getElementById('_prod_rev1__productname').href  = urlArray[counter];
 }if (document.getElementById('_prod_rev1__productdetails')!=null){ document.getElementById('_prod_rev1__productdetails').href  = urlArray[counter];
 }if (document.getElementById('_prod_rev1__productbuybutton')!=null){ document.getElementById('_prod_rev1__productbuybutton').href  = urlArray[counter];
 } if (pause==false) timer1 = window.setTimeout('changeImage()', timer);
if (pause==false)counter++;
}