scripted_gui = {

	overall_score_info = {
		context_type = diplomacy_target_context
		
		window_name = "overall_score_info"
		parent_window_name = "estimated_enemy_force_info"
		
		visible = {
		#is_ai = no  
		}
		 
		effects = {
		}
		
		triggers = {
		}

		ai_weights = {
		}
		ai_enabled = {
		    always = no 
		}	
	}
	
	power_status = {
		context_type = diplomacy_target_context
		
		window_name = "power_status_info"
		parent_window_name = "estimated_enemy_force_info"
		
		visible = {
		#is_ai = no 
		}
		
		effects = {
		}
		
		triggers = {
		}

		ai_weights = {
		}
		ai_enabled = {
		    always = no 
		}	
	}
	
	show_button = {
		context_type = player_context
		window_name = "show_button_container"

		effects = {
			button_click = {
				set_temp_variable = { show = 1 }
				subtract_from_temp_variable = { show = show_overview_info }
				set_variable = { show_overview_info = show }
				eoanb_ledger_system_calc = yes 
			}
		}
		ai_enabled = {
			always = no
		}	
	}
	show_list = {
		context_type = player_context
		#parent_window_token = politics_tab
		window_name = "show_list_container"

		visible = {
			check_variable = {
			    show_overview_info > 0 
			}
			is_ai = no  			
		}
		triggers = {
		}
		dynamic_lists = {
			show_grid = {
				array = global.score_tag_array
				entry_container = show_entry
			} 
		}
		properties = {
			flag = { image = "[?global.score_tag_array^i.GetFlag]" }
		}
		effects = {
			closebutton_click = {
				set_temp_variable = { show = 1 }
				subtract_from_temp_variable = { show = show_overview_info }
				set_variable = { show_overview_info = show }
			}
		}
		ai_enabled = {
			always = no 
		}
	}
}