var Picture = new Array(); 
var Caption = new Array(); 
var showIsOn = false;       

//preload the buttunz and spalsh image...
if (document.images) {
galimage1 = new Image();
galimage1.src = "images/images/gallery/0.jpg";
galimage2 = new Image();
galimage2.src = "images/gallery_btn_back.gif";
galimage3 = new Image();
galimage3.src = "images/gallery_btn_next.gif";
}

//here are the pics...
Picture[1]   = 'images/printssale/1_full.jpg';
Picture[2]   = 'images/printssale/2_full.jpg';
Picture[3]   = 'images/printssale/3_full.jpg';
Picture[4]   = 'images/printssale/4_full.jpg';
Picture[5]   = 'images/printssale/5_full.jpg';
Picture[6]   = 'images/printssale/6_full.jpg';

//and here are the captions...
Caption[1]   = "Mardi Gras I<br /><span style=font-weight:normal>24&quot; x 36&quot;<br />($30 + $5 shipping)</span>";
Caption[2]   = "Solstice I<br /><span style=font-weight:normal>24&quot; x 36&quot;<br />($30 + $5 shipping)</span>";
Caption[3]   = "Amid Meditation<br /><span style=font-weight:normal>20&quot; x 28&quot;, 3&quot; white border<br />($25 + $5 shipping)</span>";
Caption[4]   = "Saving Grace<br /><span style=font-weight:normal>20&quot; x 28&quot;, 3&quot; white border<br />($25 + $5 shipping)</span>";
Caption[5]   = "Silhouette I<br /><span style=font-weight:normal>20&quot; x 28&quot;, 3&quot; white border<br />($25 + $5 shipping)</span>";
Caption[6]   = "The Athlete<br /><span style=font-weight:normal>20&quot; x 28&quot;, 3&quot; white border<br />($25 + $5 shipping)</span>";

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 (showIsOn){
if (how=="H") jss = 1;
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(duration=.2)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("caption").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}
}

//full size...
function showFull() {
mapWindow = window.open('gallery/printssale/'+jss+'.html','mapWin', 'width=528,height=600,top=0,left=100')
}

