// window.open for some stuff
function WinOpen(url, name, parameters) {
	window.open(url,name,parameters);
	return false;
}

$(document).ready(function() {
	$('.expand-block .menu-header a').click(function() {
		var block = $(this).parent().parent();
		if (block.hasClass('expand-block-opened')) {
			block.removeClass('expand-block-opened');
			block.addClass('expand-block');
		} else {
			block.removeClass('expand-block');
			block.addClass('expand-block-opened');
		}
		return false;
	});
});
