///////////////////////////
// config
var buttons_height = 26;
///////////////////////////

function buttons_small_action(action_type,button_id)
	{
	var button_obj = document.getElementById(button_id);
	var link_obj = document.getElementById(button_id + "_link");
		
	switch(action_type)
		{case "over": case "up":
			new_top = -(buttons_height);
		break;
		case "out":
			new_top = 0;
		break;
		case "down":
			new_top = -(buttons_height * 2);
		break;
		}
	
	button_obj.style.backgroundPosition = "left " + new_top + "px";
	link_obj.style.backgroundPosition = "right " + new_top + "px";	
	}
