$(document).ready(function() {
    var pathname = window.location.pathname;
    $.cookie('__sanko#' + pathname, '1', {path: '/'});
});