public function clickToolbarButton($button)
	{
		$input = strtolower($button);

		$screenSize = explode("x", $this->config['window_size']);

		if ($screenSize[0] <= 480)
		{
			$this->click('Toolbar');
		}

		switch ($input)
		{
			case "new":
				$this->click(array('xpath' => "//div[@id='toolbar-new']//button"));
				break;
			case "edit":
				$this->click(array('xpath' => "//div[@id='toolbar-edit']//button"));
				break;
			case "publish":
				$this->click(array('xpath' => "//div[@id='toolbar-publish']//button"));
				break;
			case "unpublish":
				$this->click(array('xpath' => "//div[@id='toolbar-unpublish']//button"));
				break;
			case "archive":
				$this->click(array('xpath' => "//div[@id='toolbar-archive']//button"));
				break;
			case "check-in":
				$this->click(array('xpath' => "//div[@id='toolbar-checkin']//button"));
				break;
			case "batch":
				$this->click(array('xpath' => "//div[@id='toolbar-batch']//button"));
				break;
			case "rebuild":
				$this->click(array('xpath' => "//div[@id='toolbar-refresh']//button"));
				break;
			case "trash":
				$this->click(array('xpath' => "//div[@id='toolbar-trash']//button"));
				break;
			case "save":
				$this->click(array('xpath' => "//div[@id='toolbar-apply']//button"));
				break;
			case "save & close":
				$this->click(array('xpath' => "//div[@id='toolbar-save']//button"));
				break;
			case "save & new":
				$this->click(array('xpath' => "//div[@id='toolbar-save-new']//button"));
				break;
			case "cancel":
				$this->click(array('xpath' => "//div[@id='toolbar-cancel']//button"));
				break;
			case "options":
				$this->click(array('xpath' => "//div[@id='toolbar-options']//button"));
				break;
			case "empty trash":
				$this->click(array('xpath' => "//div[@id='toolbar-delete']//button"));
				break;
		}
	}