check a cookie

Check cookie.

function checkCookie(){
	var birthdate=getCookie(\"birthdate\");
	if (birthdate!=null && birthdate!=\"\"){
		 do something because cookie is set
	} else {
		 do something if cookie not set
	}
}