/*
	business_profile.js

	the business_profile.js file is included in all business profile pages so
	only include functionality relating to all business profiles here, please.

*/

function display_add_widget_buttons() {
	$(document).find("body.unskinned, body.skinned").find(".area-action-bar").show();
}

function hide_add_widget_buttons() {
	/* 
		this has been hidden with css too. 
		if you are clever enough to find this, the 'add widget' button I'm 
		hiding allows the user to add multiple widgets to an area at once. 
		Considered too powerful for the like of mere mortals, it was banished 
		by management to the briny depths of Obfuscation.

		Call the helpful `display_add_widget_buttons` function to show them again.
	*/
	$(document).find("body.unskinned, body.skinned").find(".area-action-bar").hide();
}

$(document).ready(function() {
	hide_add_widget_buttons();
	//display_add_widget_buttons();
});

