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

var SlideShowSpeed = 3000;

var CrossFadeDuration = 2;

var Picture = new Array(); 
var Caption = new Array(); 
var Description = new Array(); 
var showHot = false;    

Picture[1]  = '		images/gallery/teapots/	Butterfly-Catcher-detail.-2.jpg	';
Picture[2]  = '		images/gallery/teapots/	Butterfly-Catcher-detail.jpg	';
Picture[3]  = '		images/gallery/teapots/	Butterfly-Catcher-full-behind.jpg	';
Picture[4]  = '		images/gallery/teapots/	Butterfly-Catcher-full.jpg	';
Picture[5]  = '		images/gallery/teapots/	Cactus-Teapot-2.jpg	';
Picture[6]  = '		images/gallery/teapots/	Cactus-Teapot-detail-2.jpg	';
Picture[7]  = '		images/gallery/teapots/	Cactus-Teapot-detail.jpg	';
Picture[8]  = '		images/gallery/teapots/	Cactus-Teapot.jpg	';
Picture[9]  = '		images/gallery/teapots/	Cut-n-Paste-teapot.reverse.jpg	';
Picture[10]  = '		images/gallery/teapots/	Early-tripod-teapot-2.jpg	';
Picture[11]  = '		images/gallery/teapots/	wheel-thrown-and-slab-built-teapot.jpg	';
Picture[12]  = '		images/gallery/teapots/Schell20070625_118763.tif-rob-frith-close-up.jpg';
Picture[13]  = '		images/gallery/teapots/	_K2I4341fleur.jpg	';
Picture[14]  = '		images/gallery/teapots/	_K2I4338fleur.jpg	';
Picture[15]  = '		images/gallery/teapots/	fishing-full.jpg	';
Picture[16]  = '		images/gallery/teapots/	Heidi-and-The-Bug-Teapot.jpg	';
Picture[17]  = '		images/gallery/teapots/	Heidi-Hiding-from-a-Butterfly-Teapot.jpg	';
Picture[18]  = '		images/gallery/teapots/	Kite-flyer-detail-above.jpg	';
Picture[19]  = '		images/gallery/teapots/	Kite-flying-teapot-full.jpg	';
Picture[20]  = '		images/gallery/teapots/	Lime-green-Porcelain-teapot.jpg	';
Picture[21]  = '		images/gallery/teapots/	porcelain-oil-jug.jpg	';
Picture[22]  = '		images/gallery/teapots/	Spiral-Teapot-2.jpg	';
Picture[23]  = '		images/gallery/teapots/	Spiral-Teapot-detail.jpg	';
Picture[24]  = '		images/gallery/teapots/	Squat-Teapot.jpg	';





Caption[1]  = 		"	Butterfly-Catcher-detail.-2.jpg	";
Caption[2]  = 		"	Butterfly-Catcher-detail.jpg	";
Caption[3]  = 		"	Butterfly-Catcher-full-behind.jpg	";
Caption[4]  = 		"	Butterfly-Catcher-full.jpg	";
Caption[5]  = 		"	Cactus-Teapot-2.jpg	";
Caption[6]  = 		"	Cactus-Teapot-detail-2.jpg	";
Caption[7]  = 		"	Cactus-Teapot-detail.jpg	";
Caption[8]  = 		"	Cactus-Teapot.jpg	";
Caption[9]  = 		"	Cut-n'-Paste-teapot.reverse.jpg	";
Caption[10]  = 		"	Early-tripod-teapot-2.jpg	";
Caption[11]  = 		"	wheel-thrown-and-slab-built-teapot.jpg	";
Caption[12]  = 		"	close-up.jpg";
Caption[13]  = 		"	_K2I4341fleur.jpg	";
Caption[14]  = 		"	_K2I4338fleur.jpg	";
Caption[15]  = 		"	fishing-full.jpg	";
Caption[16]  = 		"	Heidi-and-The-Bug-Teapot.jpg	";
Caption[17]  = 		"	Heidi-Hiding-from-a-Butterfly-Teapot.jpg	";
Caption[18]  = 		"	Kite-flyer-detail-above.jpg	";
Caption[19]  = 		"	Kite-flying-teapot-full.jpg	";
Caption[20]  = 		"	Lime-green-Porcelain-teapot.jpg	";
Caption[21]  = 		"	porcelain-oil-jug.jpg	";
Caption[22]  = 		"	Spiral-Teapot-2.jpg	";
Caption[23]  = 		"	Spiral-Teapot-detail.jpg	";
Caption[24]  = 		"	Squat-Teapot.jpg	";










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=="1") jss = 1; 
if (how=="2") jss = 2; 
if (how=="3") jss = 3; 
if (how=="4") jss = 4; 
if (how=="5") jss = 5; 
if (how=="6") jss = 6; 
if (how=="7") jss = 7; 
if (how=="8") jss = 8; 
if (how=="9") jss = 9;
if (how=="10") jss = 10; 
if (how=="11") jss = 11; 
if (how=="12") jss = 12; 
if (how=="13") jss = 13; 
if (how=="14") jss = 14; 
if (how=="15") jss = 15; 
if (how=="16") jss = 16; 
if (how=="17") jss = 17; 
if (how=="18") jss = 18; 
if (how=="19") jss = 19;
if (how=="20") jss = 20; 
if (how=="21") jss = 21; 
if (how=="22") jss = 22; 
if (how=="23") jss = 23;
if (how=="24") jss = 24;


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(duration2)";
document.images.PictureBox.style.filter="blendTrans(durationCrossFadeDuration)";
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();
}}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


