
function checkCookies(cookieName, cookieValue, block1, block2, bottomBlock1, bottomBlock2, rtColNewCust, rtColExisting) {
	var checkExperience = $.cookie(cookieName); 
	switch (checkExperience) {
		case (checkExperience = cookieValue):
			document.getElementById(block2).style.display = 'block';
			document.getElementById(bottomBlock2).style.display = 'block';
			document.getElementById(rtColExisting).style.display = 'block';
			break
		default:
		  document.getElementById(block1).style.display = 'block';
			document.getElementById(bottomBlock1).style.display = 'block';
		  document.getElementById(rtColNewCust).style.display = 'block';
			break
	}
}
function newCookie(cookieName, cookieValue) {
	$.cookie(cookieName, cookieValue, { expires: 365 });
}

function deleteCookie(cookieName, cookieValue) {
	$.cookie(cookieName, cookieValue, { expires: -1 });
}
