function goOpen(e) {
    if (document.getElementById(e).style.display == 'none') {
	 selectedBar = e;
		
		if (document.getElementById('sp_hd01').style.display == 'block'){
		document.getElementById('sp_hd01').style.display = 'none';
		}
		if (document.getElementById('sp_hd02').style.display == 'block'){
		document.getElementById('sp_hd02').style.display = 'none';
		}
		if (document.getElementById('sp_hd03').style.display == 'block'){
		document.getElementById('sp_hd03').style.display = 'none';
		}
		
		document.getElementById(e).style.display = 'block';		
	} else {
        document.getElementById(e).style.display = 'none';
    }
}
function startup(e) {
document.getElementById('sp_hd01').style.display = 'none';
document.getElementById('sp_hd02').style.display = 'none';
document.getElementById('sp_hd03').style.display = 'none';


}
function hideall() {
        var Nodes = document.getElementsByTagName('ul')
        var max = Nodes.length
        for(var i = 0;i < max;i++) {
                var nodeObj = Nodes.item(i)
                nodeObj.style.display = 'none';
        }
}



	function exp_collap(_objID1, _objID2){
		var strPrefix = "sp_";
		var ind = _objID1.substr(strPrefix.length);
		
		if (arguments.length > 1) {
			var thisObjectTag1 = document.getElementById( _objID1 );
			var thisObjectTag2 = document.getElementById( _objID2 );
		}
		else {
			var thisObjectTag1 = "";
			var thisObjectTag2 = document.getElementById( _objID1 );
		}
		//alert(ind);
		if (thisObjectTag2.style.display == "none") {
			if (thisObjectTag1 != "" )
			 if (ind == "hd02") {
				thisObjectTag1.src="/content/commontemplates/images/minus_button.gif";
				if (document.getElementById('sp_hd03').style.display == "")
					exp_collap('im_hd03', 'sp_hd03');
				if (document.getElementById('sp_hd01').style.display == "")
					exp_collap('im_hd01', 'sp_hd01');
				
			}
			 else if (ind == "hd03"){
				thisObjectTag1.src="/content/commontemplates/images/minus_button.gif";
				if (document.getElementById('sp_hd02').style.display == "")
					exp_collap('im_hd02', 'sp_hd02');
				if (document.getElementById('sp_hd01').style.display == "")
					exp_collap('im_hd01', 'sp_hd01');
			}
			
			else if (ind == "hd01")
			{
			
				thisObjectTag1.src="/content/commontemplates/images/minus_button.gif";
				if (document.getElementById('sp_hd02').style.display == "")
					exp_collap('im_hd02', 'sp_hd02');
				if (document.getElementById('sp_hd03').style.display == "")
					exp_collap('im_hd03', 'sp_hd03');
					
			}
			
			
				
			thisObjectTag2.style.display=""
		}
		else {
			if (ind == "hd01")
				thisObjectTag1.src="/content/commontemplates/images/plus_button.gif";
			if (ind == "hd02")
				thisObjectTag1.src="/content/commontemplates/images/plus_button.gif";
			if (ind == "hd03")
				thisObjectTag1.src="/content/commontemplates/images/plus_button.gif";
				
			thisObjectTag2.style.display="none"
		}
	} 
	
	