﻿var TopMenuBlock = function (div) {
	this.div = $(div);
	this.init();
}

TopMenuBlock.prototype = {
	div: null,
	init: function () {
		var self = this;
		var subL = self.div.find('.subLinks').children();
		if (subL.length > 0) {
			$('#cf-content').css('margin-top', '142px');
			$('.subLinks').css('display', 'block');
		}

	}
};

var a = new TopMenuBlock($('#top-menu'));

