var CB = {};

CB.checkWidth = function () {
	var minWidth = 1090,
		root = document.documentElement,
		clientWidth = root && root.clientWidth,
		body = document.body,
		bodyClass = 'narrow';
	if (!clientWidth) {
		return false;
	}
	if (clientWidth < minWidth) {
		body.className = bodyClass;
	} else if (bodyClass === body.className) {
		body.className = '';
	}
	return true;
};

window.onresize = CB.checkWidth;
