		function clearCookie(cName){
			cValue='';
			var date = new Date();
			date.setTime(date.getTime() + (-1 * 24 * 60 * 60 * 1000));
			expires = "; expires=" + date.toGMTString();
			expires = "; expires=" + date.toGMTString();
			var dateString = date.toGMTString();
			document.cookie = cName + "=" + cValue + expires + "; path=/";

		}
		function getCookie(name) {
		  var value = "; " + document.cookie;
		  var parts = value.split("; " + name + "=");
		  if (parts.length == 2) return parts.pop().split(";").shift();
		}
		function setCookie(cName, cValue){
	       	var date = new Date();
			date.setTime(date.getTime() + (365 * 24 * 60 * 60 * 1000));
			expires = "; expires=" + date.toGMTString();
			var dateString = date.toGMTString();
			document.cookie = cName + "=" + cValue + expires + "; path=/";
		}
		$(document).ready(function(){
			//clearCookie('ppAccepted')
			cookie = getCookie('ppAccepted');
			
			if (!cookie||cookie=='undefined'){
				$("#footerNotice").addClass('show')		
			} else {
				$("#footerNotice").addClass('hide')
			}
		}
		)
		
		$('.cBtn').click(function(){
				setCookie('ppAccepted', '1')
				$("#footerNotice").removeClass('show')
				$("#footerNotice").addClass('hide')
				//alert(getCookie('ppAccepted'))
			}

		)