
// Pre-cache the images and display them on the page
function load_images() 
{ for(I = 0; I < document.all.smallpic.length; I++) 
    { imgcache[I] = new Image(); 
	  imgcache[I].src = "images/" + prod[I] + ".jpg"; 
	  document.all.smallpic[I].src = imgcache[I].src; 
	}
}

function select_item(itemnum)
{ if(itemnum >= document.all.smallpic.length) return;
  document.all.prodname.innerText = itemname[itemnum];
  document.all.proddesc.innerText = itemdesc[itemnum];
  document.all.prodimg.src = imgcache[itemnum].src;
 } 

function load_arrays() 
{
// Product Codes are used for image names - eg. 10-1065.jpg
prod[0] = "LipsWindow4";  itemname[0] = "Lips !!";
itemdesc[0] = "Marci picked this great place for dinner.";

prod[1] = "Lips_BalloonGirl4";  itemname[1] = "The Balloon Lady";
itemdesc[1] = "She made balloon body parts and toys.";

prod[2] = "Lips_BalloonChlsSusan";  itemname[2] = "My Sex Slave";
itemdesc[2] = " ";

prod[3] = "Lips_BigGirl";  itemname[3] = "Now She's a Big'un";
itemdesc[3] = " ";

prod[4] = "Lips_ChuckPat";  itemname[4] = "Ring Removal";
itemdesc[4] = " ";

prod[5] = "Lips_MarciPat2";  itemname[5] = "Ring Removal";
itemdesc[5] = "I think Marci has the better technique! ";
}

function showpic(htmfile, nwidth, nheight)
{
if(window_opened) newwin.close();
newwin = open(htmfile,"Menu","width=" + nwidth + ",height=" + nheight + ",resizable,");
window_opened = true;
newwin.focus();
}




