
//Functions to Manipulation Tree View Node

function __sTVN(imageObj){
	try{
		var table =  imageObj.parentNode.parentNode.parentNode;
		var rowNToSwitch = parseInt(imageObj.getAttribute("seed"));
		var row =  table.rows[rowNToSwitch];
		var displayInline = row.style.display == '';

		row.style.display = displayInline? 'none' : '';
		imageObj.src = displayInline? imageObj.src.replace('minus','plus') : imageObj.src.replace('plus','minus');
	   }
	catch(e){}
}

function __iTVN(thisObj){
	try
	{
		//var hLink = document.all[imageID];
		var hLink = thisObj.parentNode.parentNode.cells[0].getElementsByTagName("img")[0]; //document.all[imageID];
		if(typeof(hLink) != 'undefined'){
			hLink.click();
		}
	}
	catch(e){}
}

