
// 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] = "Lips_CRM";  itemname[0] = "Chuck, Regine & Marci";
itemdesc[0] = " ";

prod[1] = "Lips_RegChk2";  itemname[1] = "Regine & Big Daddy";
itemdesc[1] = " ";

prod[2] = "Lips_RegineSpanky2";  itemname[2] = "Regine & Spanky";
itemdesc[2] = " ";

prod[3] = "Lips_Spanky5a";  itemname[3] = "Spanky!";
itemdesc[3] = " ";

prod[4] = "RegineSpankyDance";  itemname[4] = "Regine & Spanky";
itemdesc[4] = "Doing some serious booty-shakin' ";

prod[5] = "LIps_Spanky_Chuck";  itemname[5] = "Spanky & Chuck";
itemdesc[5] = " ";
}

function showpic(htmfile, nwidth, nheight)
{
if(window_opened) newwin.close();
newwin = open(htmfile,"Menu","width=" + nwidth + ",height=" + nheight + ",resizable,");
window_opened = true;
newwin.focus();
}




