// $cmignore
var controllers = {
	cssSupport : function () {
		if ($.browser.msie) $('.pagination li:last-child').addClass('last-child');
	},
	sortForm : function () {
		$('form.sort')
			.change(function () {
				$(this).submit();
			})
			.find('button[type=submit]').remove().end();
	}
}

$(document).ready(function () {
	for (controller in controllers) {
		controllers[controller]();
	}
});

// $/cmignore

