can you alert the following
alert($.cookie('cookie_nam
e'));
alert( typeof $.cookie('cookie_name') );
have you downloaded the jquery cookie plugin from here
http://plugins.jquery.com/project/cookieHere is the doc on how to use them
http://stilbuero.de/jquery/cookie/#http://code.google.com/p/cookies/wiki/Documentation#With_jQuery