// JavaScript Document
// expands and shows ul within li for each catagory 
	
function exp_coll(ind)

{
 s = document.getElementById("sp_" + ind);
 i = document.getElementById("im_" + ind);
 i2 = document.getElementById("im2_" + ind);
 if (s.style.display == 'none')
 {
   s.style.display = 'block';
   i.src = "images/arrow_red.gif";
   i2.src = "animation/ballspin.gif";
 }
 else if (s.style.display == 'block')
 {
   s.style.display = 'none';
   i.src = "images/arrow_blue.gif";
   i2.src = "images/ballspin.gif";
 }
}

function exp(ind)
{
 s = document.getElementById("sp_" + ind);
 i = document.getElementById("im_" + ind);
 i2 = document.getElementById("im2_" + ind);
 if (!(s && i && i2)) return false;
 s.style.display = 'block';
 i.src = "images/arrow_red.gif";
 i2.src = "animation/ballspin.gif";
}

function coll(ind)
{
 s = document.getElementById("sp_" + ind);
 i = document.getElementById("im_" + ind);
 i2 = document.getElementById("im2_" + ind);
 if (!(s && i && i2)) return false;
 s.style.display = 'none';
 i.src = "images/arrow_gold.gif";
 i2.src = "images/ballspin.gif";
}

function coll_all()
{

 coll(0);
 coll(9);
 coll(33);
 coll(85);
 coll(87);
}

function exp_all()
{

 exp(0);
 exp(01);
 exp(9);
 exp(33);
 exp(85);
 exp(87);
}



