<!--
var filename;
var topic = new Array();
var show;
var show2;
var crazy2 = new story();
var crazy22 = new story();

addPassage(crazy2, "Advanced LED System", "als.shtml");
addPassage(crazy2, "T8VHO water proof retrofit/ T5HO retrofit", "vhot8.shtml");
addPassage(crazy2, "Nano Series HQI system", "newnano.shtml");
addPassage(crazy2, "SolarMax DUO Burner HQI", "duoburner.shtml");
addPassage(crazy2, "Nano Series Fluorescent Lamp lighting system", "newnanof.shtml");
addPassage(crazy2, "SolarMax XBright Series HQI plus T5HO fixture", "mptsystem.shtml");
addPassage(crazy2, "SolarMax XSlim T5HO fixture", "t5hols.shtml");
addPassage(crazy2, "SolarMax HQI Lamp", "MHlamp.shtml");
addPassage(crazy2, "SolarMax T5HO Florescent Lamp", "t5hofl.shtml");
addPassage(crazy2, " - 460nm Marine Blue", "t5hofl_spec.shtml#460");
addPassage(crazy2, " - 420nm Moonlight", "t5hofl_spec.shtml#420");
addPassage(crazy2, " - 6500k Daylight", "t5hofl_spec.shtml#6500");
addPassage(crazy2, " - 10000k Midday", "t5hofl_spec.shtml#10000");
addPassage(crazy2, "PL Compact Fluorescent Lamp", "PL.shtml");
addPassage(crazy2, "Submersible Light Set", "underwater.shtml");
addPassage(crazy2, "SolarMax Shotgun Spotlight", "shotgunsl.shtml");
addPassage(crazy2, "SolarMax Lighting system DIY items", "diy.shtml");

addPassage(crazy22, "AquaHouse Xwave", "xwave.shtml");
addPassage(crazy22, "AquaHouse UV sterilizer", "UV.shtml");
addPassage(crazy22, "AquaHouse Controller", "controller.shtml");
addPassage(crazy22, "AquaHouse MH Lamp", "aqualamp.shtml");
addPassage(crazy22, "AquaHouse Optical Refractometer", "saltcat.shtml");
addPassage(crazy22, "AquaHouse 7 days Electronic Timer", "timer.shtml");
addPassage(crazy22, "AquaHouse Mini PH/ORP meter", "minmeter.shtml");
addPassage(crazy22, "AquaHouse Modular Piping", "Mpiping.shtml");
addPassage(crazy22, "AquaHouse Air Pump", "airpump.shtml");
addPassage(crazy22, "AquaHouse Mini Aquarium Tank Set", "minitank.shtml");
addPassage(crazy22, "AquaHouse Mini Aquarium System- Filter and PL lighting", "minisystem.shtml");


// show all passages
//show = crazy2.passage.length;

// define the number of passages to be shown
show = 15;
show2 = 11;

function addPassage(topicObj, passageName, passageLink)
{
	if(document.all)
	{
		topicObj.passage[topicObj.passage.length] = passageName;
		topicObj.href[topicObj.href.length] = passageLink;
	}
	else
	{
		topicObj.passage.push(passageName);
		topicObj.href.push(passageLink);
	}
}

function story()
{
	this.passage = [];
	this.href = [];
}

function genPullDown(addshim)
{
	topicObj = crazy2;
	if(addshim == "add")
		shimImg = '<img src="images/shim.gif" width="70" height="1">';
	else
		shimImg = '';
	onChangeFunction = "jumpChap(document.chap)";
	document.writeln('<select name="chapter" onChange="'+onChangeFunction+'">');
	document.writeln('<option value="" selected>SolarMax products</option>');
	for(i=0; i<show; i++)
	{
		value = topicObj.href[i];
		document.writeln('<option value="'+value+'">'+topicObj.passage[i]+'</option>');
	}
	document.writeln('</select>'+shimImg);
}

function genPullDown2(addshim2)
{
	topicObj = crazy22;
	if(addshim2 == "add")
		shimImg = '<img src="images/shim.gif" width="70" height="1">';
	else
		shimImg = '';
	onChangeFunction = "jumpChap(document.chap)";
	document.writeln('<select name="chapter" onChange="'+onChangeFunction+'">');
	document.writeln('<option value="" selected>AquaHouse products</option>');
	for(i=0; i<show2; i++)
	{
		value = topicObj.href[i];
		document.writeln('<option value="'+value+'">'+topicObj.passage[i]+'</option>');
	}
	document.writeln('</select>'+shimImg);
}



// js generated by dreamweaver
function jumpChap(obj) {
	if(obj.chapter.options[obj.chapter.selectedIndex].value != '')
		document.location = obj.chapter.options[obj.chapter.selectedIndex].value;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

//-->