


function is_Row_Open(RowName){
	  var theObj=document.getElementById(RowName);
      if (theObj.style.display == "none") { 
	  	return 0;
	  }else{
	    return 1;
	  }
}

function toggle_With_No_Image(RowName){
	if(is_Row_Open(RowName)){
		Hide_Row(RowName);
	}else{
		Show_Row(RowName);
	}
}


function toggle_With_Image(RowName,ImageName,ImagePath){ // Requires Image_Swap.js
	if(is_Row_Open(RowName)){
		SB_swapImageRestore(ImageName,ImagePath);
		Hide_Row(RowName);
	}else{
	    SB_swapImage(ImageName,ImagePath);
		Show_Row(RowName);
    }
}

function Show_Row(RowName){
	  var theObj=document.getElementById(RowName);
      theObj.style.display     = ""; 
}

function Hide_Row(RowName){
	  var theObj=document.getElementById(RowName);
      theObj.style.display     = "none"; 
}



