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

Picture[1]  = 'flower-images/feverfew.gif';
Picture[2]  = 'flower-images/flax.gif';
Picture[3]  = 'flower-images/larkspur-ltpink.gif';
Picture[4]  = 'flower-images/larkspur-trblue.gif';
Picture[5]  = 'flower-images/sweetannie.gif';
Picture[6]  = 'flower-images/sweetannie-burg.gif';
Picture[7]  = 'flower-images/strawflower-ltpink.gif';
Picture[8]  = 'flower-images/ageratum.gif';
Picture[9]  = 'flower-images/lambsear.gif';
Picture[10]  = 'flower-images/wheat-awnless.gif';
Picture[11]  = 'flower-images/lona.gif';
Picture[12]  = 'flower-images/purple-millet.gif';
Picture[13]  = 'flower-images/millet.gif';
Picture[14]  = 'flower-images/english-white.gif';
Picture[15]  = 'flower-images/english-blue.gif';

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=="feverfew") jss = 1;
		if (how=="flax") jss = 2;
		if (how=="larkspur-ltpink") jss = 3;
		if (how=="larkspur-trblue") jss = 4;
		if (how=="sweetannie") jss = 5;
		if (how=="sweetannie-burg") jss = 6;
		if (how=="strawflower-ltpink") jss = 7;
		if (how=="ageratum") jss = 8;
		if (how=="lambsear") jss = 9;
		if (how=="wheat-awnless") jss = 10;
		if (how=="lona") jss = 11;
		if (how=="purple-millet") jss = 12;
		if (how=="millet") jss = 13;
		if (how=="english-white") jss = 14;
		if (how=="english-blue") jss = 15;

		if (jss > (pss)) jss=1;
		if (jss < 1) jss = pss;
		if (src_test.src == "http://www.driedflowersdirect.com/drying_rack/gifs/PositionArrow1a.gif"){
			if (document.all){
				document.images.stk1.style.filter="blendTrans(duration=1)";
				document.images.stk1.filters.blendTrans.Apply();
			}
			document.images.stk1.src = preLoad[jss].src;
			if (document.all) document.images.stk1.filters.blendTrans.Play();
		}
		if (src_test.src == "http://www.driedflowersdirect.com/drying_rack/gifs/PositionArrow2a.gif"){
			if (document.all){
				document.images.stk2.style.filter="blendTrans(duration=1)";
				document.images.stk2.filters.blendTrans.Apply();
			}
			document.images.stk2.src = preLoad[jss].src;
			if (document.all) document.images.stk2.filters.blendTrans.Play();
		}
		if (src_test.src == "http://www.driedflowersdirect.com/drying_rack/gifs/PositionArrow3a.gif"){
			if (document.all){
				document.images.stk3.style.filter="blendTrans(duration=1)";
				document.images.stk3.filters.blendTrans.Apply();
			}
			document.images.stk3.src = preLoad[jss].src;
			if (document.all) document.images.stk3.filters.blendTrans.Play();
		}
		if (src_test.src == "http://www.driedflowersdirect.com/drying_rack/gifs/PositionArrow4a.gif"){
			if (document.all){
				document.images.stk4.style.filter="blendTrans(duration=1)";
				document.images.stk4.filters.blendTrans.Apply();
			}
			document.images.stk4.src = preLoad[jss].src;
			if (document.all) document.images.stk4.filters.blendTrans.Play();
		}
		if (src_test.src == "http://www.driedflowersdirect.com/drying_rack/gifs/PositionArrow5a.gif"){
			if (document.all){
				document.images.stk5.style.filter="blendTrans(duration=1)";
				document.images.stk5.filters.blendTrans.Apply();
			}
			document.images.stk5.src = preLoad[jss].src;
			if (document.all) document.images.stk5.filters.blendTrans.Play();
		}
	}
}
