/* large */
#cometbird-undo-close-button
{
	list-style-image: url("chrome://cometbird/skin/Toolbar-undoclose.png");
	-moz-image-region: rect(0px 40px 24px 16px);
}

#cometbird-undo-close-button:not([disabled="true"]):hover 
{
	list-style-image: url("chrome://cometbird/skin/Toolbar-undoclose.png");
	-moz-image-region: rect(24px 40px 48px 16px);
}

#cometbird-undo-close-button[disabled="true"] 
{
	list-style-image: url("chrome://cometbird/skin/Toolbar-undoclose.png");
	-moz-image-region: rect(48px 40px 72px 16px);
}

#cometbird-undo-close-button:not([disabled="true"]):hover:active 
{
	list-style-image: url("chrome://cometbird/skin/Toolbar-undoclose.png");
	-moz-image-region: rect(96px 40px 120px 16px);
}

/* small */
toolbar[iconsize="small"] #cometbird-undo-close-button
{
	list-style-image: url("chrome://cometbird/skin/Toolbar-undoclose.png");
	-moz-image-region: rect(0px 16px 16px 0px);
}

toolbar[iconsize="small"] #cometbird-undo-close-button:not([disabled="true"]):hover 
{
	list-style-image: url("chrome://cometbird/skin/Toolbar-undoclose.png");
	-moz-image-region: rect(16px 16px 32px 0px);
}

toolbar[iconsize="small"] #cometbird-undo-close-button[disabled="true"] 
{
	list-style-image: url("chrome://cometbird/skin/Toolbar-undoclose.png");
	-moz-image-region: rect(32px 16px 48px 0px);
}

toolbar[iconsize="small"] #cometbird-undo-close-button:not([disabled="true"]):hover:active 
{
	list-style-image: url("chrome://cometbird/skin/Toolbar-undoclose.png");
	-moz-image-region: rect(64px 16px 80px 0px);
}