/*collapse expand item
*/

//show OR hide funtion depends on if element is shown or hidden
function expand(thistag, tag, name) {
    styleObj=document.getElementById(thistag).style;
    if (styleObj.display=='none')
    {
	styleObj.display='';
	tag.innerHTML = "" + name + "";
    }
    else {
	styleObj.display='none';
	tag.innerHTML = name;
    }
}