var samples = new Array();//section label, section ID
var catagories = new Array();
var wetSpas = new Array();
var preload=new Image();
function sample (sindex, c4s, label, desc, file, thumb)
{
	var i = (sindex - c4s);
if (browserIsSmall == true)var imgSrc = ("images2/");
else var imgSrc = ("images/");
//alert (browserIsSmall)
	this.IDmaster   = sindex;  
	this.id4Cat 	= c4s; 
	this.firstID   	= i;
	this.Label      = label;
	this.Desc		= desc;
	this.alt		=(label+": "+desc);
	this.lrgImg    	= file;
	this.smlImg 	= thumb;
	var image2Load = (imgSrc+file);
	var thumb2Load = (imgSrc+thumb);
	//preload.src=image2Load;
	//preload.src=thumb2Load;
	return this;
}

function catagorie (cindex, c4c,sindex,c4s,title,desc,image)
{
	var i = (cindex - c4c);
	var j = (sindex - c4s);
	this.IDmaster   = cindex;  //master sample index
	this.id4WetSpa	= c4c;
	this.firstCatID	= i;
	this.sampTotal  = c4s;
	this.sampStart	= j;
	this.Title		= title;
	this.Image 		= image;
	this.Desc		= desc;
	return this;	
}

function wetSpa (windex,cindex,c4c,sindex,c4s,desc)
{
var i = (cindex - c4c);
var j = (sindex - c4s);
	this.ID			= windex;
	this.catTotal	= c4c;
	this.firstCtID	= i;
	this.sampTotlal = c4s;
	this.firstSamp	= j;
	this.spaName	= desc;
	return this

}
function buildSamplesDiv (spa,cat)
{
if (browserIsSmall == true)var imgSrc = ("images2/");
else var imgSrc = ("images/");
var contents = ("")
var container = (document.getElementById ("sampleWindow"));
var sTotal = catagories[cat].sampTotal;
var sStart = catagories[cat].sampStart;
var descContents = new Array ();
var c4dC=1;
var dIndex =1;
var rows;
var cols;
var rMod = (sTotal)
if (sTotal <= 2) 
	{
	rows = 2;
	cols = 1;
	}
else 
	{
	if ((sTotal%2)!=0)
		{
		var q = (sTotal%2);
		rMod = (sTotal+q);
		rows = (rMod);
		cols = 1;
		}
	else
		{
		cols = 1;
		rows = (sTotal);
		}
	}
//start outer table (title close button
contents +=("<table height=15px border=0 cellspacing=0 cellpadding=0 class='masterSampleTBL'>");
contents +=("<tr class='msRowMajor'><td class='msColMajor'><span class='sampleHeadline'>");
contents +=(catagories[cat].Title+"</span></td><td class='msclose'>");
contents +=("<a id='closeTexts' alt='Close Samples' href=\"javascript:pgLink('sampleWindow','visibility','hidden');");
contents +=("pgLink('leftContentSmall','visibility','visible')\"");
contents +=("class='closeText' onMouseOver=\"pgLink('closeTexts','color','white')\" onMouseOut=\"pgLink('closeTexts','color','#526173')\">");
contents +=("<div id='closes' class='closeSample' onMouseOut=\"pgLink('closes','backgroundColor','#B5BABD')\""); 
contents +=("onMouseOver=\"pgLink('closes','backgroundColor','#526173')\">X</div></a></td></tr>"); 
contents +=("</tr><tr class='msSampleRow'><td colspan=2><table ><tr><td>");
contents +=("<div id='innerSample' class='innerSample'><table border='0' cellspacing='0' cellpadding='0' class='childSampleTBL'><tr class='msRowMinor'><td class='msColMinor' colspan="+(cols+1)+">");
contents +=("<p class='bodyText'>"+catagories[cat].Desc+"</td>");
// loop through rows and cols add sampls if <= count4samps
for (i=0;i<=rows;i++)
	{
	contents +=("<tr>");
	for (f=0;f<=cols;f++)
		{
		if ((i+10)%2==0)
			{
			if (dIndex<=sTotal)//is there an image?
				{
				contents +=("<td class='sampleCell'><a href=\"javascript:showLargSample ("+cat+","+sStart+")\">"); 
				contents +=("<img src='"+imgSrc+""+samples[sStart].smlImg+"' alt='"+samples[sStart].alt+"' border='0'></a></td>");
				descContents[dIndex] = ("<td class='sampleCellText'><p class='bodyText'><span class='tableTextM'>"+samples[sStart].Label+"</span><br>"+samples[sStart].Desc+"</td>");dIndex++;
				sStart++;
				}
			else
				{
				contents +=("<td class='sampleCell'>&nbsp;</td>");
				}
			}
		else
			{
			if (c4dC<=sTotal)
				{
				contents +=(descContents[c4dC]);c4dC++;
				}
			else
				{
				contents +=("<td class='sampleCellText'>&nbsp;</td>");
				}
			}
		}	
	contents +=("</tr>");
	}
contents +=("</table></div></td><td><table class='spaDetailTRTD'><tr><td class='spaDetailTRTD'>"); 
contents +=("<img class='spaDetail' src='"+imgSrc+""+catagories[cat].Image+"' alt='"+catagories[cat].Desc+"' hspace=0 vspace=0 border=0 align=top></td></tr></table>");
contents +=("</td></tr></table></td></tr></table>");
container.innerHTML = contents;
pgLink('sampleWindow','visibility','visible');
//pgLink('leftContentSmall','visibility','hidden');
}

function showLargSample (cat,samp)
{
if (browserIsSmall == true)var imgSrc = ("images2/");
else var imgSrc = ("images/");
var prev = (samp-1);
var next = (samp+1);
var sTotal = catagories[cat].sampTotal;
var sStart = catagories[cat].sampStart;
var last = (sTotal + sStart)
var contents = ("");
var container = (document.getElementById ("innerSample"));
//build table for image title description and next last for items in this cat
contents +=("<table class='childSampleTBL' border=0>");
contents +=("<tr><td nowrap class='sampleTextCell'>");
if (prev >= sStart)
	{
	contents +=("<span class='bodyText'><a href=\"javascript:showLargSample ("+cat+","+prev+")\" class='listLink'");
	contents +=("id='prev' onMouseOver=\"pgLink('prev','color','#584719'),pgLink('prev','textDecoration','underline')\" ");
	contents +=("onMouseOut=\"pgLink('prev','color','#3C3011'),pgLink('prev','textDecoration','none')\">");
	contents +=("<< back</a></span>");
	contents +=("</td>");
	}
else contents +=("\&nbsp\;</td>");

contents +=("<td align='right' nowrap class='sampleTextCell'>");

if (next <= (last-1))
	{
	contents +=("<span class='bodyText'><a href=\"javascript:showLargSample ("+cat+","+next+")\" class='listLink'");
	contents +=("id='next' onMouseOver=\"pgLink('next','textDecoration','underline')\"");
	contents +=(" onMouseOut=\"pgLink('next','textDecoration','none')\">");
	contents +=("Next >></a></span>");
	contents +=("</td>");
	}
else contents +=("\&nbsp\;</td>");

contents +=("</tr><tr><td class='sampleCell' colspan=2>");
contents +=("<img src='"+imgSrc+""+samples[samp].lrgImg+"' alt='"+samples[samp].alt+"'></td><tr>");
contents +=("<td valign=bottom class='sampleTextCell' colspan=2><span class='tableTextM'>"+samples[samp].Label+":</span><p class='bodyText'>"+samples[samp].Desc+"</span></td></tr>");
contents +=("<tr><td nowrap class='sampleTextCell'>");
if (prev >= sStart)
	{
	contents +=("<span class='bodyText'><a href=\"javascript:showLargSample ("+cat+","+prev+")\" class='listLink'");
	contents +=("id='prevb' onMouseOver=\"pgLink('prevb','textDecoration','underline')\" ");
	contents +=("onMouseOut=\"pgLink('prevb','textDecoration','none')\">");
	contents +=("<< back</a></span>");
	contents +=("</td>");
	}
else contents +=("</td>");

contents +=("<td nowrap align='right' class='sampleTextCell'>");

if (next <= (last-1))
	{
	contents +=("<span class='bodyText'><a href=\"javascript:showLargSample ("+cat+","+next+")\" class='listLink'");
	contents +=("id='nextb' onMouseOver=\"pgLink('nextb','textDecoration','underline')\"");
	contents +=(" onMouseOut=\"pgLink('nextb','textDecoration','none')\">");
	contents +=("Next >></a></span>");
	contents +=("</td>");
	}
else contents +=("</td>");

contents +=("</tr></table>");
container.innerHTML = contents;
}

function buildSampleArray ()
{
	var wIndex = 0;  //WetSpa index increment after each wetspa instance (except the last)
	var cIndex =  0; // catagorie index increment after each catagorie instance
	var sIndex = 0; // sample index increment after each sample instance
	var c4C = 0;    // count of 2ndtier per section wetspa[cSec].cat[c2T]
	var c4S = 0;	  // count of 2ndtier per section section[cSec].tier2[c2T].tier3[c3T]
	c4C = 0;
	c4S = 0;
//array objects			object  index   number in cat, title, description, filename1, increament #inCat		add association to spa				
samples[sIndex++] = new sample (sIndex, c4S,"Aqua (standard)","Clear with a blue/green watery hue.","s_rejv_eg_01.jpg","s_rejv_eg_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Clear","Clear with a whitish edge and hue.","s_rejv_eg_03.jpg","s_rejv_eg_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Charcoal","Clear with a charcoal tint.","s_rejv_eg_02.jpg","s_rejv_eg_02_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Rejuvenate Enclosure Glass","All glass 3/8” (10mm).","d_rejv_eg.jpg");c4C++
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Reeded (standard)","","s_rejv_col_02.jpg","s_rejv_col_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Sandblasted aqua","Acid etched to look like sandblasted aqua glass.","s_rejv_col_01.jpg","s_rejv_col_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Sandblasted clear","Photo unavailable","s_soon.jpg","s_soon_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Architectural","Photo unavailable","s_soon.jpg","s_soon_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Rejuvenate Columns","All glass 3/8\" (10mm).","d_rejv_col.jpg");c4C++
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Night Sky","Dark slate coloured background with stone coloured detail.","s_rejv_sp_01.jpg","s_rejv_sp_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Verde","Greyish green background with marbled detail.","s_rejv_sp_02.jpg","s_rejv_sp_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Ecru","Neutral background with faint ripple detail.","s_rejv_sp_03.jpg","s_rejv_sp_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Cirrus White","White background with faint ripple detail.","s_rejv_sp_04.jpg","s_rejv_sp_04_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Splash Panel","A pre-plumbed splash panel ready to hook up to existing water supply.","d_rejv_sp.jpg");c4C++
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Aqua (standard)","Clear with a blue/green watery hue.","s_rejv_eg_01.jpg","s_rejv_eg_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Clear","Clear with a whitish edge and hue.","s_rejv_eg_03.jpg","s_rejv_eg_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Charcoal","Clear with a charcoal tint.","s_rejv_eg_02.jpg","s_rejv_eg_02_t.jpg"); c4S++
samples[sIndex++] = new sample (sIndex, c4S,"","","s_blank.gif","s_blank_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Night Sky","Dark slate coloured background with stone coloured detail.","s_rejv_sp_01.jpg","s_rejv_sp_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Verde","Greyish green background with marbled detail.","s_rejv_sp_02.jpg","s_rejv_sp_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Ecru","Neutral background with faint ripple detail.","s_rejv_sp_03.jpg","s_rejv_sp_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Cirrus White","White background with faint ripple detail.","s_rejv_sp_04.jpg","s_rejv_sp_04_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"WetSpa Seat","Choice of 3/4\" (19mm) glass or to match splash panel.","d_rejv_seat.jpg");c4C++
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"White","Soft, solid white, most compatible","s_ft_wht.jpg","s_ft_wht_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Natural","Smooth warm neutral","s_ft_nat.jpg","s_ft_nat_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Slate","Deep rich charcoal with a subtle texture of tiny reflective particles","s_ft_slate.jpg","s_ft_slate_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Natural"," Natural with 1” x 1” tumbled marble tile. Tiles are not supplied by Sculptured Homes","s_rejv_ft_01.jpg","s_rejv_ft_01_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Floor system","","d_rejuv_ft.jpg");c4C++
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Random  constellation","","s_rejv_fo_02.jpg","s_rejv_fo_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Random  constellation","","s_rejv_fo_01.jpg","s_rejv_fo_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"6&nbsp;spotlights","","s_rejv_fo_03.jpg","s_rejv_fo_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"6&nbsp;spotlights"," ","s_rejv_fo_04.jpg","s_rejv_fo_04_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"6&nbsp;spotlights"," ","s_rejv_fo_05.jpg","s_rejv_fo_05_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"6&nbsp;spotlights"," ","s_rejv_fo_06.jpg","s_rejv_fo_06_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Fibre-optic & Spotlight lighting","UL and CE Approved for wet and dry locations.","d_rejv_fo.jpg");c4C++
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_01.gif","s_hw1_01_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_02.gif","s_hw1_02_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_03.gif","s_hw1_03_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_04.gif","s_hw1_04_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_05.gif","s_hw1_05_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_06.gif","s_hw1_06_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw_07.gif","s_hw_07_t.gif"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Fixtures and fittings","Please consult your local distributor for the full range of WetSpa fixtures and steam generator and control options.  The following standard set for the WetSpa is available for purchase directly from Sculptured Homes.   Please call for pricing.","d_rejv_fix.jpg");c4C++
	c4S = 0;
wetSpas [wIndex++] = new wetSpa (wIndex,cIndex,c4C,sIndex,c4S,"Rejuvinate WetSpa");
	c4C = 0;
	c4S = 0;



samples[sIndex++] = new sample (sIndex, c4S,"Aqua (standard)","Clear with a blue-green watery hue.","s_rejv_eg_01.jpg","s_rejv_eg_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Clear","Clear with a whitish edge and hue.","s_rejv_eg_03.jpg","s_rejv_eg_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Charcoal","Clear with a charcoal tint.","s_rejv_eg_02.jpg","s_rejv_eg_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Custom Pantone® sample of your specification.","(Sample No. 15-0927 TPX shown here.)","s_rejv_eg_04.jpg","s_rejv_eg_04_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Sandblasted horizontal 'vanity strip'","Photo unavailable","s_soon.jpg","s_soon_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Simplify Enclosure","All glass 3/8” (10mm).","d_simp_fix.jpg"); c4C++;
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Night Sky","Dark slate coloured background with stone coloured detail.","s_simp_sp_01.jpg","s_simp_sp_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Azure","Dark navy background with crisp white detail.","s_simp_sp_02.jpg","s_simp_sp_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Pompeii Red","Burnt red background with stone and natural detail.","s_simp_sp_03.jpg","s_simp_sp_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Verde","Greyish green background with marbled detail.","s_simp_sp_04.jpg","s_simp_sp_04_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Doeskin","Natural stone background with neutral dark and light detail.","s_simp_sp_05.jpg","s_simp_sp_05_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Savannah","Transleucent beige with crisp white detail.","s_simp_sp_06.jpg","s_simp_sp_06_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Everest","Natural white background with grey and crisp white detail.","s_simp_sp_07.jpg","s_simp_sp_07_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Splash Panel","A pre-plumbed splash panel ready to hook up to existing water supply.","d_simp_sp.jpg"); c4C++;
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Aqua (standard)","Clear with a blue-green watery hue.","s_rejv_eg_01.jpg","s_rejv_eg_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Clear","Clear with a whitish edge and hue.","s_rejv_eg_03.jpg","s_rejv_eg_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Charcoal","Clear with a charcoal tint.","s_rejv_eg_02.jpg","s_rejv_eg_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Sandblasted horizontal 'vanity strip'","Photo unavailable","s_soon.jpg","s_soon_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Night Sky","Dark slate coloured background with stone coloured detail.","s_simp_sp_01.jpg","s_simp_sp_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Azure","Dark navy background with crisp white detail.","s_simp_sp_02.jpg","s_simp_sp_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Pompeii Red","Burnt red background with stone and natural detail.","s_simp_sp_03.jpg","s_simp_sp_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Verde","Greyish green background with marbled detail.","s_simp_sp_04.jpg","s_simp_sp_04_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Doeskin","Natural stone background with neutral dark and light detail.","s_simp_sp_05.jpg","s_simp_sp_05_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Savannah","Transleucent beige with crisp white detail.","s_simp_sp_06.jpg","s_simp_sp_06_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Everest","Natural white background with grey and crisp white detail.","s_simp_sp_07.jpg","s_simp_sp_07_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Seat","Choice of 3/4\" (19mm) glass or to match splash panel.","d_simp_seat.jpg"); c4C++;
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"White","Soft, solid white, most compatible","s_ft_wht.jpg","s_ft_wht_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Natural","Smooth warm neutral","s_ft_nat.jpg","s_ft_nat_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Slate","Deep rich charcoal with a subtle texture of tiny reflective particles","s_ft_slate.jpg","s_ft_slate_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Natural"," Natural with 1” x 1” tumbled marble tile. Tiles are not supplied by Sculptured Homes","s_rejv_ft_01.jpg","s_rejv_ft_01_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Floor system","","d_rejuv_ft.jpg");c4C++
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Random  constellation","","s_rejv_fo_02.jpg","s_rejv_fo_02_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Random  constellation","","s_rejv_fo_01.jpg","s_rejv_fo_01_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"6&nbsp;spotlights","","s_rejv_fo_03.jpg","s_rejv_fo_03_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"6&nbsp;spotlights"," ","s_rejv_fo_04.jpg","s_rejv_fo_04_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"6&nbsp;spotlights"," ","s_rejv_fo_05.jpg","s_rejv_fo_05_t.jpg"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"6&nbsp;spotlights"," ","s_rejv_fo_06.jpg","s_rejv_fo_06_t.jpg"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Fibre-optic or Spotlight lighting","UL and CE Approved for wet and dry locations","d_simp_fo.jpg"); c4C++;
	c4S = 0;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_01.gif","s_hw1_01_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_02.gif","s_hw1_02_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_03.gif","s_hw1_03_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_04.gif","s_hw1_04_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_05.gif","s_hw1_05_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw1_06.gif","s_hw1_06_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 1","","s_hw_07.gif","s_hw_07_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"","","s_blank.gif","s_blank_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 2","","s_hw2_01.gif","s_hw2_01_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 2","","s_hw2_02.gif","s_hw2_02_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 2","","s_hw2_03.gif","s_hw2_03_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 2","","s_hw1_05.gif","s_hw1_05_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 2","","s_hw2_05.gif","s_hw2_05_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 2","","s_hw2_06.gif","s_hw2_06_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 2","","s_hw_07.gif","s_hw_07_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"","","s_blank.gif","s_blank_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 3","","s_hw3_01.gif","s_hw3_01_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 3","","s_hw3_02.gif","s_hw3_02_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 3","","s_hw3_03.gif","s_hw3_03_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 3","","s_hw1_05.gif","s_hw1_05_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 3","","s_hw3_05.gif","s_hw3_05_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 3","","s_hw3_06.gif","s_hw3_06_t.gif"); c4S++;
samples[sIndex++] = new sample (sIndex, c4S,"Hardware set 3","","s_hw_07.gif","s_hw_07_t.gif"); c4S++;
catagories [cIndex++] = new catagorie (cIndex,c4C,sIndex,c4S,"Fixtures and fittings","Please consult your local distributor for the full range of WetSpa fixtures and steam generator and control options. The following standard sets for the WetSpa are available for purchase directly from Sculptured Homes.   Please call for pricing.","d_simp_fix.jpg"); c4C++;
	c4S = 0;
wetSpas [wIndex++] = new wetSpa (wIndex,cIndex,c4C,sIndex,c4S,"Simplify WetSpa");
	c4C = 0;
	c4S = 0;
}

