document.write('<script type="text/javascript" src="/photoblog/js/heredoc.js"></script>');

var theme = {
    'theme02':['harada','kikuchi','takei','yamada'],
    'theme01':['miyamoto','hirasawa','akaogi','tani']
};

function echoOtherList() {
    var callback = function(values) {
        $('otherList').innerHTML = values.theme;
        var matches = location.pathname.match(/^\/photoblog\/([^\/]+)\//);
        if (matches != -1) {
            for (var k in theme) {
                if (theme[k].indexOf(matches[1]) != -1) {
                    $(k).style.display = 'none';
                }
            }
        }
    }
    Heredoc.load('/photoblog/js/other.txt', callback);
}
