// You can find instructions for this file at http://www.treeview.net

//Environment variables are usually set at the top of this file.
USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 0
WRAPTEXT = 1
PRESERVESTATE = 1
SALELINK = "index.php?action=salesubcategorylist&cat=";
WANTEDLINK = "index.php?action=wantedsubcategorylist&cat=";
foldersTree = gFld("<b></b>", "")
  
  aux1 = insFld(foldersTree, gFld("Sale", "index.php?action=salecategory"))
	var category = new Array('Hosequip', 'Radiology', 'Endoscopy', 'Lab', 'Laser', 'Opthalmic', 'Refurbished');
	for(i=0;i<category.length;i++)
 		insDoc(aux1, gLnk("S",category[i], SALELINK+category[i]))
  aux3 = insFld(foldersTree, gFld("Wanted", "index.php?action=wantedcategory"))
	for(i=0;i<category.length;i++)
 		insDoc(aux3, gLnk("S",category[i], WANTEDLINK+category[i]))
 
