/*
   This JavaScript code was generated by Jemplate, the JavaScript
   Template Toolkit. Any changes made to this file will be lost the next
   time the templates are compiled.

   Copyright 2006 - Ingy döt Net - All rights reserved.
*/

if (typeof(Jemplate) == 'undefined')
    throw('Jemplate.js must be loaded before any Jemplate template files');

Jemplate.templateMap['album.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 25 "album.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "album.tt"
stash.set('count', 1);
output += '\n';
//line 24 "album.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 23 "album.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "album.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGa">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">アルバム：';
//line 9 "album.tt"
output += stash.get(['l', 0, 'genre', 0, 0, 0]);
output += '</h2>';
//line 11 "album.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '<dl class="clipBOX" id="clipBOX_';
//line 12 "album.tt"
output += stash.get('favorite_id') || stash.get(['l', 0, 'id', 0]);
output += '">\n<dt>アルバムタイトル</dt>\n<dd class="clipNAMEa t1"><span ';
//line 14 "album.tt"
if (stash.get(['l', 0, 'pr_movie', 0])) {
output += 'class="prICN"';
}

output += '><a href="';
//line 14 "album.tt"
output += stash.get(['l', 0, 'album_path', 0]);
output += '">';
//line 14 "album.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'title', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();

output += '</a></span></dd>\n<dt>';
//line 15 "album.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'title', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMGl"><a href="';
//line 16 "album.tt"
output += stash.get(['l', 0, 'album_path', 0]);
output += '"><img src="';
//line 16 "album.tt"
if (stash.get(['l', 0, 'uuid', 0])) {
//line 16 "album.tt"
output += stash.get(['l', 0, 'photo_path', 0]);
}
else {
//line 16 "album.tt"
output += '/image/not/not1b.gif';
}

output += '" alt="';
//line 16 "album.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'title', 0]);

    return context.filter(output, 'html', []);
})();

output += '" width="120" height="90" id="img_';
//line 16 "album.tt"
output += stash.get(['l', 0, 'uuid', 0]);
output += '" /></a></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 21 "album.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 22 "album.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}

output += '\n';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['article.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 106 "article.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "article.tt"
stash.set('count', 1);
output += '\n';
//line 93 "article.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 27 "article.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "article.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGs">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 9 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += '湘南に住む人が読む本：VOL'  + stash.get(['l', 0, 'issue', 0]);

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 10 "article.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>記事のタイトル</dt>\n<dd class="clipNAMEs t1"><span><a href="';
//line 13 "article.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 13 "article.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 14 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 15 "article.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="/image/album/';
//line 15 "article.tt"
output += stash.get(['l', 0, 'photo_clip', 0]);
output += '" alt="';
//line 15 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" width="100" height="75" title="';
//line 15 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n';
//line 20 "article.tt"
if (stash.get(['l', 0, 'company_name', 0])) {
output += '\n<dt>企業名</dt>\n<dd class="clipYUKARI"><span>\n[';
//line 19 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'company_name', 0]);

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += ']</span></dd>\n';
}

output += '\n</dl>\n</div>\n</div>\n</div>\n';
//line 25 "article.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 26 "article.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 53 "article.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 30 "article.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGs">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 34 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += '湘南に住む人が読む本：VOL'  + stash.get(['l', 0, 'issue', 0]);

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n<dl class="clipBOX">\n<dt>記事のタイトル</dt>\n<dd class="clipNAMEs t2"><span><a href="';
//line 37 "article.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag" title="';
//line 37 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += '">';
//line 37 "article.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 38 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の一口コメント</dt>\n<dd class="clipCOMMENT">';
//line 39 "article.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'comment', 0]);

    return context.filter(output, 'truncate', [ 35 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</dd>\n<dt>';
//line 40 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 41 "article.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression" rel="tag"><img src="/image/search/icn_memo_s.gif" alt="';
//line 41 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 41 "article.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 42 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 42 "article.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>企業名</dt>\n<dd class="clipYUKARI">';
//line 45 "article.tt"
if (stash.get(['l', 0, 'company_name', 0])) {
output += '\n<span>';
//line 45 "article.tt"
if (stash.get(['info', 0, 'company_name', 0])) {
output += '[';
//line 45 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['info', 0, 'company_name', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']';
}

output += '</span>';
}

output += '</dd>\n\n</dl>\n</div>\n</div>\n</div>\n';
//line 51 "article.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 52 "article.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 90 "article.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGs">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">湘南に住む人が読む本：VOL';
//line 60 "article.tt"
output += stash.get(['l', 0, 'issue', 0]);
output += '</h2>\n<dl class="clipBOX">\n<dt>';
//line 62 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 63 "article.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="/image/album/';
//line 63 "article.tt"
output += stash.get(['l', 0, 'photo', 0]);
output += '" width="';
//line 63 "article.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 63 "article.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '" alt="';
//line 63 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" title="';
//line 63 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>記事のタイトル</dt>\n<dd class="clipNAME"><span><a href="';
//line 65 "article.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 65 "article.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 25 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>企業名</dt>\n<dd class="clipYUKARI"><span> ';
//line 67 "article.tt"
if (stash.get(['info', 0, 'company_name', 0])) {
output += '[';
//line 67 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['info', 0, 'company_name', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']';
}

output += ' </span></dd>\n<dt>';
//line 68 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の一口コメント</dt>\n<dd class="clipCOMMENT2">';
//line 69 "article.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'comment', 0]);

    return context.filter(output, 'truncate', [ 25 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</dd>\n<dt>';
//line 70 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 71 "article.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 71 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 71 "article.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 72 "article.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 72 "article.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd><dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th></th>\n<td></td>\n</tr>\n</table>\n</dd>\n</dl>\n</div>\n</div>\n</div>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div></div>';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['event.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 116 "event.tt"
if (stash.get('search')) {
output += '\n';
//line 113 "event.tt"
if (stash.get('result')) {
output += '\n';
//line 3 "event.tt"
stash.set('count', 1);
output += '\n';
//line 98 "event.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 25 "event.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['r'] = value;
output += '\n';
//line 6 "event.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 10 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += 'イベント：'  + (stash.get(['r', 0, 'genre', 0]) || stash.get(['r', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 11 "event.tt"
if (stash.get(['r', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>イベント名</dt>\n<dd class="clipNAMEt t1"><span><a href="';
//line 14 "event.tt"
output += (stash.get(['r', 0, 'url', 0]) || stash.get(['r', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 14 "event.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>イベント(';
//line 15 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += ')の画像</dt>\n<dd class="clipIMG"><a href="';
//line 16 "event.tt"
output += (stash.get(['r', 0, 'url', 0]) || stash.get(['r', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 16 "event.tt"
output += stash.get(['r', 0, 'photo_clip', 0]) ? stash.get(['r', 0, 'photo_clip', 0]) : '/image/not/not_town_event_s.gif';
output += '" alt="';
//line 16 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += '(';
//line 16 "event.tt"
output += stash.get(['r', 0, 'yukari', 0])  + stash.get(['r', 0, 'yukari_detail', 0]);
output += ')の画像" width="100" height="75" /></a></dd>\n<dt>イベント(';
//line 17 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += ')の開催地</dt>\n<dd class="clipYUKARI"><span>[';
//line 18 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'yukari', 0])  + stash.get(['r', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 23 "event.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 24 "event.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 50 "event.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['r'] = value;
output += '\n';
//line 28 "event.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 32 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += 'イベント：'  + (stash.get(['r', 0, 'genre', 0]) || stash.get(['r', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 33 "event.tt"
if (stash.get(['r', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>イベント名</dt>\n<dd class="clipNAMEt t2"><span><a href="';
//line 36 "event.tt"
output += stash.get(['r', 0, 'url', 0]);
output += '" rel="tag">';
//line 36 "event.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>イベント(';
//line 37 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += ')の開催期間</dt>\n<dd class="clipEVENTdays"><span>';
//line 38 "event.tt"
output += stash.get(['r', 0, 'open_date', 0, 'year', 0]);
output += '年';
//line 38 "event.tt"
output += stash.get(['r', 0, 'open_date', 0, 'month', 0]);
output += '月';
//line 38 "event.tt"
output += stash.get(['r', 0, 'open_date', 0, 'day', 0]);
output += '日';
//line 38 "event.tt"
if (stash.get(['r', 0, 'close_date', 0])) {
output += '～<br />';
//line 38 "event.tt"
output += stash.get(['r', 0, 'close_date', 0, 'year', 0]);
output += '年';
//line 38 "event.tt"
output += stash.get(['r', 0, 'close_date', 0, 'month', 0]);
output += '月';
//line 38 "event.tt"
output += stash.get(['r', 0, 'close_date', 0, 'day', 0]);
output += '日';
}

output += '</span></dd>\n<dt>';
//line 39 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 40 "event.tt"
output += stash.get(['r', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 40 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 40 "event.tt"
output += stash.get(['r', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 41 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 41 "event.tt"
output += stash.get(['r', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>イベント(';
//line 42 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += ')の開催地</dt>\n<dd class="clipYUKARI"><span>[';
//line 43 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'yukari', 0])  + stash.get(['r', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 48 "event.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 49 "event.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 95 "event.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['r'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">イベント：';
//line 57 "event.tt"
output += stash.get(['r', 0, 'genre', 0])  + stash.get(['r', 0, 'genre_detail', 0]);
output += '</h2>\n';
//line 58 "event.tt"
if (stash.get(['r', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>';
//line 60 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 61 "event.tt"
output += stash.get(['r', 0, 'url', 0]);
output += '"><img src="';
//line 61 "event.tt"
output += stash.get(['r', 0, 'photo', 0]) ? stash.get(['r', 0, 'photo', 0]) : '/image/not/not_town_event_m.gif';
output += '" width="';
//line 61 "event.tt"
output += stash.get(['r', 0, 'phoro', 0]) ? stash.get(['r', 0, 'photo_width', 0]) * 1.667 : 130;
output += '" height="';
//line 61 "event.tt"
output += stash.get(['r', 0, 'photo', 0]) ? stash.get(['r', 0, 'photo_height', 0]) * 1.667 : 100;
output += '" alt="';
//line 61 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>イベント名</dt>\n<dd class="clipNAME"><span><a href="';
//line 63 "event.tt"
output += stash.get(['r', 0, 'url', 0]);
output += '" rel="tag">';
//line 63 "event.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>イベント(';
//line 64 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += ')の開催地</dt>\n<dd class="clipYUKARI"><span>[';
//line 65 "event.tt"
output += stash.get(['r', 0, 'yukari', 0]);
//line 65 "event.tt"
output += stash.get(['r', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n<dt>';
//line 66 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のコメント</dt>\n<dd class="clipCOMMENT2"><!--commtn--><div class="clipCOMMENTarea">';
//line 67 "event.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'appeal_point', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</div></dd>\n<dt>';
//line 68 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 69 "event.tt"
output += stash.get(['r', 0, 'url', 0]);
output += '" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 69 "event.tt"
output += stash.get(['r', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 70 "event.tt"
output += stash.get(['r', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>';
//line 71 "event.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のその他情報</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>最寄駅：</th>\n<td>';
//line 76 "event.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['r', 0, 'station', 0])  + '駅 '  + stash.get(['r', 0, 'way', 0]);

    return context.filter(output, 'truncate', [ 16 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n<tr>\n<th>駐車場：</th>\n<td>';
//line 80 "event.tt"
if (stash.get(['r', 0, 'parking', 0]) == 1) {
output += 'あり';
//line 80 "event.tt"
if (stash.get(['r', 0, 'parking_volume', 0])) {
output += '　(';
//line 80 "event.tt"
output += stash.get(['r', 0, 'parking_volume', 0]);
output += '台)';
}

}
else {
output += 'なし';
}

output += '</td>\n</tr>\n<tr>\n<th>期　間：</th>\n<td>';
//line 84 "event.tt"
output += stash.get(['r', 0, 'open_date', 0, 'year', 0]);
output += '年';
//line 84 "event.tt"
output += stash.get(['r', 0, 'open_date', 0, 'month', 0]);
output += '月';
//line 84 "event.tt"
output += stash.get(['r', 0, 'open_date', 0, 'day', 0]);
output += '日';
//line 84 "event.tt"
if (stash.get(['r', 0, 'close_date', 0])) {
output += '～<br />';
//line 84 "event.tt"
output += stash.get(['r', 0, 'close_date', 0, 'year', 0]);
output += '年';
//line 84 "event.tt"
output += stash.get(['r', 0, 'close_date', 0, 'month', 0]);
output += '月';
//line 84 "event.tt"
output += stash.get(['r', 0, 'close_date', 0, 'day', 0]);
output += '日';
}

output += '</td>\n</tr>\n</table>\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul>\n<div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div>\n';
}

output += '\n';
}
else {
output += '\n';
//line 115 "event.tt"
output += stash.get('calendar');
output += '\n';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['forum.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 151 "forum.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "forum.tt"
stash.set('count', 1);
output += '\n';
//line 137 "forum.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 26 "forum.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "forum.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGf">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">教えて';
//line 9 "forum.tt"
if (stash.get(['l', 0, 'genre1', 0])) {
output += '：';
//line 9 "forum.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'genre', 0, 'join', [ '・' ]]);

    return context.filter(output, 'truncate', [ 6 ]);
})();

}

output += '</h2>\n';
//line 10 "forum.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dd class="clipNAMEf"><span><a href="';
//line 12 "forum.tt"
output += stash.get(['l', 0, 'information', 0, 'query', 0]);
output += '" rel="tag">';
//line 12 "forum.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'content', 0]);

    return context.filter(output, 'truncate', [ 40 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>質問状況</dt>\n<dd class="';
//line 14 "forum.tt"
if (stash.get(['info', 0, 'is_closed', 0])) {
output += 'clipSTATEclose';
}
else {
output += 'clipSTATEopen';
}

output += '">\n';
//line 15 "forum.tt"
if (stash.get(['l', 0, 'is_closed', 0]) == 1) {
output += '締切済';
}
else {
output += '受付中';
}

output += '(回答';
//line 15 "forum.tt"
output += stash.get(['l', 0, 'count', 0]);
output += ')\n</dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 18 "forum.tt"
if (stash.get(['l', 0, 'yukari', 0, 0, 0])) {
//line 18 "forum.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0, 'join', [ '・' ]]);

    return context.filter(output, 'truncate', [ 9 ]);
})();

}
else {
output += 'エリア指定なし';
}

output += ']</span></dd>\n</dl>\n\n</div>\n</div>\n</div>\n';
//line 24 "forum.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 25 "forum.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 136 "forum.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div id="result_comment">\n<div class="boxQopen">\n<div class="bQbg1">\n<div class="bQtop">\n<dl class="bQsubject">\n<dt>質問</dt>\n<dd id="bq';
//line 35 "forum.tt"
output += stash.get(['l', 0, 'id', 0]);
output += '">\n<div id="bq';
//line 36 "forum.tt"
output += stash.get(['l', 0, 'id', 0]);
output += '_a" class="dataON"><div class="commentTXT1"><a href="';
//line 36 "forum.tt"
output += stash.get(['l', 0, 'information', 0, 'query', 0]);
output += '">';
//line 36 "forum.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'stripped_content', 0]);

    return context.filter(output, 'truncate', [ 50 ]);
})();

output += '</a></div>\n</div>\n</dd>\n<dd class="bQdate">質問日：<strong>';
//line 39 "forum.tt"
output += stash.get(['l', 0, 'created_date', 0]);
output += '</strong></dd>\n</dl>\n';
//line 51 "forum.tt"
if (stash.get(['l', 0, 'is_closed', 0]) == 1) {
output += '\n<dl class="bQstateON">\n<dt>回答締切済</dt>\n</dl>\n';
}
else {
output += '\n<dl class="bQstateON">\n<dt>回答受付中</dt>\n<dd>';
//line 48 "forum.tt"
if (stash.get(['l', 0, 'limit', 0])) {
output += '(残り';
//line 48 "forum.tt"
output += stash.get(['l', 0, 'limit', 0]);
output += '日)';
}

output += '</dd>\n<dd></dd>\n</dl>\n';
}

output += '\n</div>\n</div>\n\n<div class="bQbg2">\n\n<div class="bQbgl fL">\n<div class="bQbottom">\n<dl class="bQgenre">\n';
//line 63 "forum.tt"
if (stash.get(['l', 0, 'yukari', 0, 0, 0])) {
output += '\n<dt><img src="/image/forum/detail/icn_area.gif" alt="エリア" width="28" height="12" /></dt>\n<dd><ul>';
//line 62 "forum.tt"

// FOREACH 
(function() {
    var list = stash.get(['l', 0, 'yukari', 0]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['yukari'] = value;
output += '<li>';
//line 62 "forum.tt"
output += stash.get(['yukari', 0, 'name', 0]);
output += '</li>';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '</ul></dd>\n';
}

output += '\n';
//line 69 "forum.tt"
if (stash.get(['l', 0, 'genre', 0, 0, 0])) {
output += '\n<dt><img src="/image/forum/detail/icn_genre.gif" alt="ジャンル" width="28" height="12" /></dt>\n<dd><ul>';
//line 67 "forum.tt"

// FOREACH 
(function() {
    var list = stash.get(['l', 0, 'genre', 0]);
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['genre'] = value;
output += '\n<li>';
//line 67 "forum.tt"
output += stash.get(['genre', 0, 'name', 0]);
output += '</li>';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n</ul></dd>\n';
}

output += '\n</dl>\n</div>\n\n<table cellpadding="0" cellspacing="0">\n<tr>\n<th><img src="/image/forum/common/question_replay.gif" alt="この質問の回答数" width="101" height="11" /></th>\n<td>';
//line 76 "forum.tt"
output += stash.get(['l', 0, 'count', 0]) || 0;
output += '</td>\n<th><img src="/image/forum/common/question_pageview.gif" alt="この質問のアクセス数" width="125" height="11" /></th>\n<td>';
//line 78 "forum.tt"
output += stash.get(['l', 0, 'access_count', 0]) || 0;
output += '</td>\n<th><img src="/image/forum/common/question_informative.gif" alt="参考になった数" width="90" height="11" /></th>\n<td>';
//line 80 "forum.tt"
output += stash.get(['l', 0, 'availed_count', 0]) || 0;
output += '</td>\n</tr>\n</table>\n</div>\n\n<!--profile BOX[-->\n\n<div class="cliptipBOX fR">\n\n\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n\n<h2 class="clipTITLE"><!--img src="/image/common/icn_profile.gif" alt="湘南人" width="17" height="10" /-->湘南人</h2>\n\n';
//line 118 "forum.tt"
if (stash.get(['l', 0, 'user', 0]) && stash.get(['l', 0, 'user', 0, 'is_deleted', 0])) {
output += '\n\n<dl class="clipANONYMOUS">\n<dt>退会者</dt>\n<dd class="clipANONYMOUSnomember"><img src="/image/common/nomember.gif" width="100" height="75" alt="このメンバーは退会しました" /></dd>\n</dl>\n';
}
else if (stash.get(['l', 0, 'user', 0])) {
output += '\n';
//line 103 "forum.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX" id="clipBOX_';
//line 104 "forum.tt"
output += stash.get('favorite_id');
output += '">\n<dt>名前(ニックネーム)</dt>\n<dd class="clipNAMEt t1"><span ';
//line 106 "forum.tt"
if (stash.get(['l', 0, 'user', 0, 'is_expert', 0])) {
output += 'class="expICN"';
}

output += '><a href="/profile/';
//line 106 "forum.tt"
output += stash.get(['l', 0, 'user', 0, 'username', 0]);
output += '" rel="tag">';
//line 106 "forum.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'user', 0, 'nickname', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>画像</dt>\n<dd class="clipIMG"><a href="/profile/';
//line 108 "forum.tt"
output += stash.get(['l', 0, 'user', 0, 'username', 0]);
output += '"><img src="';
//line 108 "forum.tt"
if (stash.get(['l', 0, 'user', 0, 'photo_clip', 0])) {
//line 108 "forum.tt"
output += '/image/avatar/'  + stash.get(['l', 0, 'user', 0, 'photo_clip', 0]);
}
else {
output += '/image/not/not.gif';
}

output += '" alt="';
//line 108 "forum.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'user', 0, 'nickname', 0]);

    return context.filter(output, 'html', []);
})();

output += 'さんの画像" width="100" height="75" /></a></dd>\n<dt>ゆかりの地</dt>\n<dd class="clipYUKARI"><span>[';
//line 110 "forum.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'user', 0, 'profile', 0, 'yukari', 0])  + stash.get(['l', 0, 'user', 0, 'profile', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n\n';
}
else {
output += '\n<dl class="clipANONYMOUS">\n<dt>匿名希望</dt>\n<dd class="clipANONYMOUSanonymous"><img src="/image/common/anonymous.gif" width="100" height="75" alt="匿名希望さん" /></dd>\n</dl>\n';
}

output += '\n\n</div>\n</div>\n</div>\n\n</div>\n<!--]profile BOX -->\n\n</div>\n\n\n</div>\n\n</div>\n<!--]resultcomment-->\n\n';
//line 135 "forum.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div>\n';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['gourmet.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 111 "gourmet.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "gourmet.tt"
stash.set('count', 1);
output += '\n';
//line 97 "gourmet.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 24 "gourmet.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "gourmet.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 9 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += 'グルメ：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 10 "gourmet.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>店名</dt>\n<dd class="clipNAMEt t1"><span><a href="';
//line 13 "gourmet.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 13 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 14 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 15 "gourmet.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 15 "gourmet.tt"
output += stash.get(['l', 0, 'photo_clip', 0]);
output += '" alt="';
//line 15 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" width="100" height="75" title="';
//line 15 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>';
//line 16 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のエリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 17 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 22 "gourmet.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 23 "gourmet.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 49 "gourmet.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 27 "gourmet.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 31 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += 'グルメ：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 32 "gourmet.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>店名</dt>\n<dd class="clipNAMEt t2"><span><a href="';
//line 35 "gourmet.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 35 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 36 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の一口コメント</dt>\n<dd class="clipCOMMENT">';
//line 37 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'comment', 0]);

    return context.filter(output, 'truncate', [ 35 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</dd>\n<dt>';
//line 38 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 39 "gourmet.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 39 "gourmet.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 39 "gourmet.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 40 "gourmet.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 40 "gourmet.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>';
//line 41 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のエリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 42 "gourmet.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 42 "gourmet.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 47 "gourmet.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 48 "gourmet.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 94 "gourmet.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">グルメ：';
//line 56 "gourmet.tt"
output += stash.get(['l', 0, 'genre', 0])  + stash.get(['l', 0, 'genre2', 0]);
output += '</h2>\n';
//line 57 "gourmet.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>';
//line 59 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 60 "gourmet.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 60 "gourmet.tt"
output += stash.get(['l', 0, 'photo', 0]);
output += '" width="';
//line 60 "gourmet.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 60 "gourmet.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '" alt="';
//line 60 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" title="';
//line 60 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>名前</dt>\n<dd class="clipNAME"><span><a href="';
//line 62 "gourmet.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 62 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 63 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のエリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 64 "gourmet.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 64 "gourmet.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n<dt>';
//line 65 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のコメント</dt>\n<dd class="clipCOMMENT2"><!--commtn--><div class="clipCOMMENTarea">';
//line 66 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'appeal_point', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</div></dd>\n<dt>';
//line 67 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 68 "gourmet.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 68 "gourmet.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 69 "gourmet.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>最寄駅：</th>\n<td>';
//line 75 "gourmet.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅 '  + stash.get(['l', 0, 'way', 0]);

    return context.filter(output, 'truncate', [ 8 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n<tr>\n<th>駐車場：</th>\n<td>';
//line 79 "gourmet.tt"
if (stash.get(['l', 0, 'parking', 0]) == 1) {
output += 'あり';
//line 79 "gourmet.tt"
if (stash.get(['l', 0, 'parking_volume', 0])) {
output += '　(';
//line 79 "gourmet.tt"
output += stash.get(['l', 0, 'parking_volume', 0]);
output += '台)';
}

}
else {
output += 'なし';
}

output += '</td>\n</tr>\n<tr>\n<th>平均予算：</th>\n<td class="otherPRICE"><img src="/image/search/icn_hiru.gif" alt="';
//line 83 "gourmet.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の予算：昼" width="12" height="12">';
//line 83 "gourmet.tt"
if (stash.get(['l', 0, 'cost1', 0])) {
//line 83 "gourmet.tt"
output += stash.get(['l', 0, 'cost1', 0]);
}
else {
output += '記載なし';
}

output += '　<img src="/image/search/icn_yoru.gif" alt="';
//line 83 "gourmet.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の予算：夜" width="12" height="12">';
//line 83 "gourmet.tt"
if (stash.get(['l', 0, 'cost2', 0])) {
//line 83 "gourmet.tt"
output += stash.get(['l', 0, 'cost2', 0]);
}
else {
output += '記載なし';
}

output += '</td>\n</tr>\n</table>\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div>\n';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['hospital.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 125 "hospital.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "hospital.tt"
stash.set('count', 1);
output += '\n';
//line 112 "hospital.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 24 "hospital.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "hospital.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 9 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += '病院：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 10 "hospital.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>病院名</dt>\n<dd class="clipNAMEt t1"><span><a href="';
//line 13 "hospital.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 13 "hospital.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>病院画像</dt>\n<dd class="clipIMG"><a href="';
//line 15 "hospital.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 15 "hospital.tt"
output += stash.get(['l', 0, 'photo_clip', 0]) || '/image/not/not_town_hospital_s.gif';
output += '" alt="';
//line 15 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" width="100" height="75" /></a></dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 17 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 22 "hospital.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 23 "hospital.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 51 "hospital.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 27 "hospital.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 31 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += '病院：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 32 "hospital.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>病院名</dt>\n<dd class="clipNAMEt t2"><span><a href="';
//line 35 "hospital.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 35 "hospital.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>診療科目</dt>\n<dd class="clipGENRE3">';
//line 37 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'department', 0]) ? stash.get(['l', 0, 'department', 0, 'join', [ '・' ]]) : '';

    return context.filter(output, 'truncate', [ 20 ]);
})();

output += '</dd>\n<dt>施設情報</dt>\n<dd class="clipGENRE2">';
//line 39 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'service', 0]) ? stash.get(['l', 0, 'service', 0, 'join', [ '・' ]]) : '';

    return context.filter(output, 'truncate', [ 8 ]);
})();

output += '</dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 41 "hospital.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 41 "hospital.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 41 "hospital.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 42 "hospital.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 42 "hospital.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 44 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 49 "hospital.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 50 "hospital.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 109 "hospital.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">病院：';
//line 58 "hospital.tt"
output += stash.get(['l', 0, 'genre', 0]);
output += '</h2>\n';
//line 59 "hospital.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>画像</dt>\n<dd class="clipIMG"><a href="';
//line 62 "hospital.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 62 "hospital.tt"
output += stash.get(['l', 0, 'photo', 0]) || '/image/not/not_hospital_m.gif';
output += '" ';
//line 62 "hospital.tt"
if (stash.get(['l', 0, 'photo', 0])) {
output += 'width="';
//line 62 "hospital.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 62 "hospital.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '"';
}

output += ' alt="';
//line 62 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>名前</dt>\n<dd class="clipNAME"><span><a href="';
//line 64 "hospital.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 64 "hospital.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>ゆかりの地</dt>\n<dd class="clipYUKARI"><span>[';
//line 66 "hospital.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 66 "hospital.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n<dt>病院情報</dt>\n<dd class="clipHOSPITALinfo">\n<table cellspacing="0">\n<tr>\n<th>診療科目</th>\n<td colspan="3">';
//line 72 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'department', 0]) ? stash.get(['l', 0, 'department', 0, 'join', [ '・' ]]) : '';

    return context.filter(output, 'truncate', [ 24 ]);
})();

output += '</td>\n</tr>\n<tr>\n<th>施設情報</th>\n<td colspan="3">';
//line 76 "hospital.tt"
if (stash.get(['l', 0, 'service', 0])) {
//line 76 "hospital.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'service', 0, 'join', [ '・' ]]);

    return context.filter(output, 'truncate', [ 24 ]);
})();

}

output += '</td>\n</tr>\n<tr>\n<th>診療時間</th>\n<td>';
//line 80 "hospital.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'opening_hour', 0]) ? stash.get(['l', 0, 'opening_hour', 0]) : '';

    return context.filter(output, 'truncate', [ 16 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n<th>休診日</th>\n<td>';
//line 82 "hospital.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'holiday', 0]) ? stash.get(['l', 0, 'holiday', 0]) : '';

    return context.filter(output, 'truncate', [ 8 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n</table>\n</dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 87 "hospital.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 87 "hospital.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 88 "hospital.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>最寄駅：</th>\n<td>';
//line 94 "hospital.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅 '  + stash.get(['l', 0, 'way', 0]);

    return context.filter(output, 'truncate', [ 16 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n<tr>\n<th>駐車場：</th>\n<td>';
//line 98 "hospital.tt"
if (stash.get(['l', 0, 'parking', 0]) == 1) {
output += 'あり';
//line 98 "hospital.tt"
if (stash.get(['l', 0, 'parking_volume', 0])) {
output += '　(';
//line 98 "hospital.tt"
output += stash.get(['l', 0, 'parking_volume', 0]);
output += '台)';
}

}
else {
output += 'なし';
}

output += '</td>\n</tr>\n</table>\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div></div>';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['house.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 108 "house.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "house.tt"
stash.set('count', 1);
output += '\n';
//line 93 "house.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 24 "house.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "house.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 9 "house.tt"

// FILTER
output += (function() {
    var output = '';

output += '不動産：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 10 "house.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>物件名</dt>\n<dd class="clipNAMEt t1"><span><a href="';
//line 13 "house.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 13 "house.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>物件の画像</dt>\n<dd class="clipIMG"><a href="';
//line 15 "house.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 15 "house.tt"
output += stash.get(['l', 0, 'photo_clip', 0]);
output += '" alt="';
//line 15 "house.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" width="100" height="75" /></a></dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 17 "house.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 22 "house.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 23 "house.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 49 "house.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 27 "house.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 31 "house.tt"

// FILTER
output += (function() {
    var output = '';

output += '不動産：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 32 "house.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>物件名</dt>\n<dd class="clipNAMEt t2"><span><a href="';
//line 35 "house.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 35 "house.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<!--<dt>一口コメント</dt>\n<dd class="clipCOMMENT">';
//line 37 "house.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'comment', 0]);

    return context.filter(output, 'truncate', [ 35 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</dd>-->\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 39 "house.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 39 "house.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 39 "house.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 40 "house.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 40 "house.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 42 "house.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 42 "house.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 47 "house.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 48 "house.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 90 "house.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">不動産：';
//line 56 "house.tt"
output += stash.get(['l', 0, 'genre', 0])  + stash.get(['l', 0, 'genre2', 0]);
output += '</h2>\n';
//line 57 "house.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>物件の画像</dt>\n<dd class="clipIMG"><a href="';
//line 60 "house.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 60 "house.tt"
output += stash.get(['l', 0, 'photo', 0]);
output += '" width="';
//line 60 "house.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 60 "house.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '" alt="';
//line 60 "house.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>物件名</dt>\n<dd class="clipNAME"><span><a href="';
//line 62 "house.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 62 "house.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 64 "house.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 64 "house.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n<dt>コメント</dt>\n<dd class="clipCOMMENT2"><!--commtn--><div class="clipCOMMENTarea">';
//line 66 "house.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'appeal_point', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</div></dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 68 "house.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 68 "house.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 69 "house.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>最寄駅：</th>\n<td>';
//line 75 "house.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅 '  + stash.get(['l', 0, 'way', 0]);

    return context.filter(output, 'truncate', [ 8 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n<tr>\n<th>価格</th>\n<td>円</td>\n</tr>\n</table>\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div>\n</div>\n';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['leisure.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 113 "leisure.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "leisure.tt"
stash.set('count', 1);
output += '\n';
//line 100 "leisure.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 24 "leisure.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "leisure.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 9 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += 'レジャー：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 10 "leisure.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>レジャー名</dt>\n<dd class="clipNAMEt t1"><span><a href="';
//line 13 "leisure.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 13 "leisure.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 14 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 15 "leisure.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 15 "leisure.tt"
output += stash.get(['l', 0, 'photo_clip', 0]) || '/image/not/not_town_leisure_s.gif';
output += '" alt="';
//line 15 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += '(';
//line 15 "leisure.tt"
output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);
output += ')の画像" width="100" height="75" title="';
//line 15 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += '(';
//line 15 "leisure.tt"
output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);
output += ')の画像" /></a></dd>\n<dt>';
//line 16 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のエリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 17 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 22 "leisure.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 23 "leisure.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 52 "leisure.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 27 "leisure.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 31 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += 'レジャー：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 32 "leisure.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>レジャー名</dt>\n<dd class="clipNAMEt t2"><span><a href="';
//line 35 "leisure.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 35 "leisure.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 36 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のジャンル</dt>\n<dd class="clipGENRE"><span>';
//line 37 "leisure.tt"
output += stash.get(['l', 0, 'genre_detail', 0]) || '';
output += '</span></dd>\n<dt>';
//line 38 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の最寄駅</dt>\n<dd class="clipAREA2">';
//line 39 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅';

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</dd>\n<dt>';
//line 40 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 41 "leisure.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 41 "leisure.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 41 "leisure.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 42 "leisure.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 42 "leisure.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 45 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 50 "leisure.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 51 "leisure.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 97 "leisure.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">レジャー：';
//line 59 "leisure.tt"
output += stash.get(['l', 0, 'genre', 0])  + stash.get(['l', 0, 'genre_detail', 0]);
output += '</h2>\n';
//line 60 "leisure.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>';
//line 62 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 63 "leisure.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 63 "leisure.tt"
output += stash.get(['l', 0, 'photo', 0]) || '/image/not/not_leisure_m.gif';
output += '" ';
//line 63 "leisure.tt"
if (stash.get(['l', 0, 'photo', 0])) {
output += 'width="';
//line 63 "leisure.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 63 "leisure.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '"';
}

output += ' alt="';
//line 63 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" title="';
//line 63 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>名前</dt>\n<dd class="clipNAME"><span><a href="';
//line 65 "leisure.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 65 "leisure.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>ゆかりの地</dt>\n<dd class="clipYUKARI"><span>[';
//line 67 "leisure.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 67 "leisure.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n<dt>';
//line 68 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のコメント</dt>\n<dd class="clipCOMMENT2"><!--commtn--><div class="clipCOMMENTarea">';
//line 69 "leisure.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'appeal_point', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</div></dd>\n<dt>';
//line 70 "leisure.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 71 "leisure.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 71 "leisure.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 72 "leisure.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>最寄駅：</th>\n<td>';
//line 78 "leisure.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅 '  + stash.get(['l', 0, 'way', 0]);

    return context.filter(output, 'truncate', [ 8 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n<tr>\n<th>駐車場：</th>\n<td>';
//line 82 "leisure.tt"
if (stash.get(['l', 0, 'parking', 0]) == 1) {
output += 'あり';
//line 82 "leisure.tt"
if (stash.get(['l', 0, 'parking_volume', 0])) {
output += '　(';
//line 82 "leisure.tt"
output += stash.get(['l', 0, 'parking_volume', 0]);
output += '台)';
}

}
else {
output += 'なし';
}

output += '</td>\n</tr>\n<tr>\n<th>定休日：</th>\n<td>';
//line 86 "leisure.tt"
if (stash.get(['l', 0, 'holiday', 0])) {
//line 86 "leisure.tt"
output += stash.get(['l', 0, 'holiday', 0]);
}

output += '</td>\n</tr>\n</table>\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div></div>';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['lesson.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 109 "lesson.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "lesson.tt"
stash.set('count', 1);
output += '\n';
//line 96 "lesson.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 24 "lesson.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "lesson.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 9 "lesson.tt"

// FILTER
output += (function() {
    var output = '';

output += '習い事：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 10 "lesson.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>習い事名</dt>\n<dd class="clipNAMEt t1"><span><a href="';
//line 13 "lesson.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 13 "lesson.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>習い事画像</dt>\n<dd class="clipIMG"><a href="';
//line 15 "lesson.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 15 "lesson.tt"
output += stash.get(['l', 0, 'photo_clip', 0]);
output += '" alt="';
//line 15 "lesson.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" width="100" height="75" /></a></dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 17 "lesson.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 22 "lesson.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 23 "lesson.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 52 "lesson.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 27 "lesson.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 31 "lesson.tt"

// FILTER
output += (function() {
    var output = '';

output += '習い事：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 32 "lesson.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>習い事名</dt>\n<dd class="clipNAMEt t2"><span><a href="';
//line 35 "lesson.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 35 "lesson.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>ジャンル</dt>\n<dd class="clipGENRE"><span>';
//line 37 "lesson.tt"
output += stash.get(['l', 0, 'genre_detail', 0]) || '';
output += '</span></dd>\n<dt>駅</dt>\n<dd class="clipAREA2">';
//line 39 "lesson.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅';

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 41 "lesson.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 41 "lesson.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 41 "lesson.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 42 "lesson.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 42 "lesson.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 45 "lesson.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 50 "lesson.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 51 "lesson.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 93 "lesson.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">習い事：';
//line 59 "lesson.tt"
output += stash.get(['l', 0, 'genre', 0])  + stash.get(['l', 0, 'genre_detail', 0]);
output += '</h2>\n';
//line 60 "lesson.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>画像</dt>\n<dd class="clipIMG"><a href="';
//line 63 "lesson.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 63 "lesson.tt"
output += stash.get(['l', 0, 'photo', 0]);
output += '" width="';
//line 63 "lesson.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 63 "lesson.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '" alt="';
//line 63 "lesson.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>名前</dt>\n<dd class="clipNAME"><span><a href="';
//line 65 "lesson.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 65 "lesson.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>ゆかりの地</dt>\n<dd class="clipYUKARI"><span>[';
//line 67 "lesson.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 67 "lesson.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n<dt>コメント</dt>\n<dd class="clipCOMMENT2"><!--commtn--><div class="clipCOMMENTarea">';
//line 69 "lesson.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'appeal_point', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</div></dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 71 "lesson.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 71 "lesson.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 72 "lesson.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>最寄駅：</th>\n<td>';
//line 78 "lesson.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅 '  + stash.get(['l', 0, 'way', 0]);

    return context.filter(output, 'truncate', [ 16 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n<tr>\n<th>駐車場：</th>\n<td>';
//line 82 "lesson.tt"
if (stash.get(['l', 0, 'parking', 0]) == 1) {
output += 'あり';
//line 82 "lesson.tt"
if (stash.get(['l', 0, 'parking_volume', 0])) {
output += '　(';
//line 82 "lesson.tt"
output += stash.get(['l', 0, 'parking_volume', 0]);
output += '台)';
}

}
else {
output += 'なし';
}

output += '</td>\n</tr>\n</table>\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div></div>';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['photo.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 112 "photo.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "photo.tt"
stash.set('count', 1);
output += '\n';
//line 99 "photo.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 22 "photo.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "photo.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGs">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">特集：二十世紀写真館</h2>\n';
//line 10 "photo.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>タイトル</dt>\n<dd class="clipNAMEs t1"><span><a href="';
//line 13 "photo.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 13 "photo.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>画像</dt>\n<dd class="clipIMGl"><a href="';
//line 15 "photo.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 15 "photo.tt"
output += stash.get(['l', 0, 'photo_clip', 0]);
output += '" alt="';
//line 15 "photo.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" width="120" height="90" /></a></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 20 "photo.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 21 "photo.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 45 "photo.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 25 "photo.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGs">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">特集：二十世紀写真館</h2>\n';
//line 30 "photo.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>タイトル</dt>\n<dd class="clipNAMEs t2"><span><a href="';
//line 33 "photo.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 33 "photo.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 35 "photo.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 35 "photo.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 35 "photo.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 36 "photo.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 36 "photo.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 38 "photo.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0]);

    return context.filter(output, 'truncate', [ 6 ]);
})();

//line 38 "photo.tt"
if (stash.get(['l', 0, 'yukari_detail', 0])) {
//line 38 "photo.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

}

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 43 "photo.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 44 "photo.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if ((stash.get('mode') == 3 || stash.get('mode') == 5)) {
output += '\n';
//line 96 "photo.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGs">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">特集：二十世紀写真館</h2>\n';
//line 53 "photo.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>画像</dt>\n<dd class="clipIMG"><a href="';
//line 56 "photo.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 56 "photo.tt"
output += stash.get(['l', 0, 'photo', 0]);
output += '" width="';
//line 56 "photo.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 56 "photo.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '" alt="';
//line 56 "photo.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>タイトル</dt>\n<dd class="clipNAME"><span><a href="';
//line 58 "photo.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 58 "photo.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 60 "photo.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0]);

    return context.filter(output, 'truncate', [ 6 ]);
})();

//line 60 "photo.tt"
if (stash.get(['l', 0, 'yukari_detail', 0])) {
//line 60 "photo.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

}

output += ']</span></dd>\n<dt>コメント</dt>\n<dd class="clipCOMMENT2"><!--commtn-->\n<div class="clipCOMMENTarea">';
//line 63 "photo.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'comment', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</div>\n</dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 66 "photo.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 66 "photo.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 67 "photo.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>撮影：</th>\n<td>\n';
//line 74 "photo.tt"
output += stash.get(['l', 0, 'shoot_year', 0]);
output += '年';
//line 74 "photo.tt"
if (stash.get(['l', 0, 'shoot_month', 0])) {
//line 74 "photo.tt"
output += stash.get(['l', 0, 'shoot_month', 0]);
output += '月';
}

//line 74 "photo.tt"
if (stash.get(['l', 0, 'shoot_day', 0])) {
//line 74 "photo.tt"
output += stash.get(['l', 0, 'shoot_day', 0]);
output += '日';
}

output += '\n</td>\n</tr>\n<tr>\n<th>住所：</th>\n<td>\n';
//line 80 "photo.tt"
if (stash.get(['l', 0, 'zip', 0])) {
output += '〒';
//line 80 "photo.tt"
output += stash.get(['l', 0, 'zip', 0, 'chunk', [ -4 ], 'join', [ '-' ]]);
}

output += ' \n';
//line 83 "photo.tt"
if ((stash.get(['l', 0, 'address', 0]) || stash.get(['l', 0, 'address2', 0]) || stash.get(['l', 0, 'address3', 0]))) {
output += '\n';
//line 82 "photo.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'address1', 0])  + stash.get(['l', 0, 'address2', 0])  + stash.get(['l', 0, 'address3', 0]);

    return context.filter(output, 'truncate', [ 60 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '\n';
}

output += '\n</td>\n</tr>\n</table>\n\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div></div>';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['school.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 108 "school.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "school.tt"
stash.set('count', 1);
output += '\n';
//line 95 "school.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 24 "school.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "school.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 9 "school.tt"

// FILTER
output += (function() {
    var output = '';

output += '学校：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 10 "school.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>学校名</dt>\n<dd class="clipNAMEt t1"><span><a href="';
//line 13 "school.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 13 "school.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>学校画像</dt>\n<dd class="clipIMG"><a href="';
//line 15 "school.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 15 "school.tt"
output += stash.get(['l', 0, 'photo_clip', 0]) || '/image/not/not_town_school_s.gif';
output += '" alt="';
//line 15 "school.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" width="100" height="75" /></a></dd>\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 17 "school.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 22 "school.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 23 "school.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 52 "school.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 27 "school.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 31 "school.tt"

// FILTER
output += (function() {
    var output = '';

output += '学校：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 32 "school.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>学校名</dt>\n<dd class="clipNAMEt t2"><span><a href="';
//line 35 "school.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 35 "school.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>ジャンル</dt>\n<dd class="clipAREA"><span>';
//line 37 "school.tt"
output += stash.get(['l', 0, 'department', 0])  + '・'  + stash.get(['l', 0, 'gender', 0]);
output += '</span></dd>\n<dt>駅</dt>\n<dd class="clipAREA2">';
//line 39 "school.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅';

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 41 "school.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression" rel="tag"><img src="/image/search/icn_memo_s.gif" alt="';
//line 41 "school.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 41 "school.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 42 "school.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 42 "school.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n\n<dt>エリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 45 "school.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 50 "school.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 51 "school.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 92 "school.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">学校：';
//line 59 "school.tt"
output += stash.get(['l', 0, 'genre', 0])  + stash.get(['l', 0, 'genre_detail', 0]);
output += '</h2>\n';
//line 60 "school.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>画像</dt>\n<dd class="clipIMG"><a href="';
//line 63 "school.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 63 "school.tt"
output += stash.get(['l', 0, 'photo', 0]) || '/image/not/not_school_m.gif';
output += '" ';
//line 63 "school.tt"
if (stash.get(['l', 0, 'photo', 0])) {
output += 'width="';
//line 63 "school.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 63 "school.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '"';
}

output += ' alt="';
//line 63 "school.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>学校名</dt>\n<dd class="clipNAME"><span><a href="';
//line 65 "school.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 65 "school.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>ゆかりの地</dt>\n<dd class="clipYUKARI"><span>[';
//line 67 "school.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 67 "school.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n<dt>コメント</dt>\n<dd class="clipCOMMENT2"><!--commtn--><div class="clipCOMMENTarea">';
//line 69 "school.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'appeal_point', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</div></dd>\n<dt>感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 71 "school.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 71 "school.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 72 "school.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>最寄駅：</th>\n<td>';
//line 78 "school.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅 '  + stash.get(['l', 0, 'way', 0]);

    return context.filter(output, 'truncate', [ 16 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n<tr>\n<td colspan=2>';
//line 81 "school.tt"
output += stash.get(['l', 0, 'department', 0])  + '・'  + stash.get(['l', 0, 'gender', 0]);
output += '</td>\n</tr>\n</table>\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div></div>';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['shop.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 107 "shop.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "shop.tt"
stash.set('count', 1);
output += '\n';
//line 94 "shop.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 24 "shop.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "shop.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 9 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += 'ショップ：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 10 "shop.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>店名</dt>\n<dd class="clipNAMEt t1"><span><a href="';
//line 13 "shop.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 13 "shop.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 14 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 15 "shop.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 15 "shop.tt"
output += stash.get(['l', 0, 'photo_clip', 0]);
output += '" alt="';
//line 15 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += '(';
//line 15 "shop.tt"
output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);
output += ')の画像" width="100" height="75" title="';
//line 15 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += '(';
//line 15 "shop.tt"
output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);
output += ')の画像" /></a></dd>\n<dt>';
//line 16 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のエリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 17 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'yukari', 0])  + stash.get(['l', 0, 'yukari_detail', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 22 "shop.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 23 "shop.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 50 "shop.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 27 "shop.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">';
//line 31 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += 'ショップ：'  + (stash.get(['l', 0, 'genre', 0]) || stash.get(['l', 0, 'genre_name', 0]));

    return context.filter(output, 'truncate', [ 10 ]);
})();

output += '</h2>\n';
//line 32 "shop.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>店名</dt>\n<dd class="clipNAMEt t2"><span><a href="';
//line 35 "shop.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 35 "shop.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 36 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の一口コメント</dt>\n<dd class="clipCOMMENT">';
//line 37 "shop.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'comment', 0]);

    return context.filter(output, 'truncate', [ 35 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</dd>\n<dt>';
//line 38 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 39 "shop.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '#impression"><img src="/image/search/icn_memo_s.gif" alt="';
//line 39 "shop.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'の感想メモの数" width="10" height="12" />感想メモ(<span>';
//line 39 "shop.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite_s.gif" alt="';
//line 40 "shop.tt"
output += stash.get(['l', 0, 'name', 0]);
output += 'のお気に入りの数" width="12" height="12" />お気に入り(<span>';
//line 40 "shop.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n\n<dt>';
//line 42 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のエリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 43 "shop.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 43 "shop.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 48 "shop.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 49 "shop.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 91 "shop.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">ショップ：';
//line 57 "shop.tt"
output += stash.get(['l', 0, 'genre', 0]);
//line 57 "shop.tt"
output += stash.get(['l', 0, 'genre_detail', 0]) || '';
output += '</h2>\n';
//line 58 "shop.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>';
//line 60 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像</dt>\n<dd class="clipIMG"><a href="';
//line 61 "shop.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 61 "shop.tt"
output += stash.get(['l', 0, 'photo', 0]);
output += '" width="';
//line 61 "shop.tt"
output += stash.get(['l', 0, 'photo_width', 0]) * 1.667;
output += '" height="';
//line 61 "shop.tt"
output += stash.get(['l', 0, 'photo_height', 0]) * 1.667;
output += '" alt="';
//line 61 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += '([';
//line 61 "shop.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 61 "shop.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += '])の画像" title="';
//line 61 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の画像" /></a></dd>\n<dt>名前</dt>\n<dd class="clipNAME"><span><a href="';
//line 63 "shop.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 63 "shop.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'truncate', [ 24 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>';
//line 64 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のエリア</dt>\n<dd class="clipYUKARI"><span>[';
//line 65 "shop.tt"
output += stash.get(['l', 0, 'yukari', 0]);
//line 65 "shop.tt"
output += stash.get(['l', 0, 'yukari_detail', 0]);
output += ']</span></dd>\n<dt>';
//line 66 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'のコメント</dt>\n<dd class="clipCOMMENT2"><!--commtn--><div class="clipCOMMENTarea">';
//line 67 "shop.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'appeal_point', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</div></dd>\n<dt>';
//line 68 "shop.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'name', 0]);

    return context.filter(output, 'html', []);
})();

output += 'の感想メモ＆お気に入り</dt>\n<dd class="clipIMPRETTION"><a href="';
//line 69 "shop.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag"><img src="/image/search/icn_memo.gif" alt="" width="17" height="21" />感想メモ(<span>';
//line 69 "shop.tt"
output += stash.get(['l', 0, 'impression', 0]);
output += '</span>)</a></dd>\n<dd class="clipFAVORITE"><img src="/image/search/icn_favorite.gif" alt="" width="19" height="21" />お気に入り(<span>';
//line 70 "shop.tt"
output += stash.get(['l', 0, 'favorite', 0]);
output += '</span>)</dd>\n<dt>その他</dt>\n<dd class="clipOTHER">\n<table>\n<tr>\n<th>最寄駅：</th>\n<td>';
//line 76 "shop.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'station', 0])  + '駅 '  + stash.get(['l', 0, 'way', 0]);

    return context.filter(output, 'truncate', [ 16 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</td>\n</tr>\n<tr>\n<th>駐車場：</th>\n<td>';
//line 80 "shop.tt"
if (stash.get(['l', 0, 'parking', 0]) == 1) {
output += 'あり';
//line 80 "shop.tt"
if (stash.get(['l', 0, 'parking_volume', 0])) {
output += '　(';
//line 80 "shop.tt"
output += stash.get(['l', 0, 'parking_volume', 0]);
output += '台)';
}

}
else {
output += 'なし';
}

output += '</td>\n</tr>\n</table>\n</dd>\n\n</dl>\n\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n\n\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div></div>';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

Jemplate.templateMap['surfer.tt'] = function(context) {
    if (! context) throw('Jemplate function called without context\n');
    var stash = context.stash;
    var output = '';

    try {
//line 124 "surfer.tt"
if (stash.get('result')) {
output += '\n';
//line 2 "surfer.tt"
stash.set('count', 1);
output += '\n';
//line 111 "surfer.tt"
if (stash.get('mode') == 1) {
output += '\n';
//line 28 "surfer.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 5 "surfer.tt"
if (((stash.get('count') % 5 == 1) && (stash.get('individual') != 1))) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">湘南サーファー';
//line 11 "surfer.tt"
if (stash.get(['l', 0, 'is_pro', 0])) {
output += '<img src="/image/common/icn_surfing_pro.gif" alt="プロサーファー" width="30" height="11" class="proICN" />';
}

output += '</h2>';
//line 14 "surfer.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '<dl class="clipBOX">\n<dt>名前(ニックネーム)</dt>\n<dd class="clipNAMEt t1"><span ';
//line 17 "surfer.tt"
if (stash.get(['l', 0, 'is_exp', 0])) {
output += 'class="expICN"';
}

output += '><a href="';
//line 17 "surfer.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '" rel="tag">';
//line 17 "surfer.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'nickname', 0]);

    return context.filter(output, 'truncate', [ 7 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>サーファー画像</dt>\n<dd class="clipIMG"><a href="';
//line 19 "surfer.tt"
output += (stash.get(['l', 0, 'url', 0]) || stash.get(['l', 0, 'information', 0, 'query', 0]));
output += '"><img src="';
//line 19 "surfer.tt"
output += stash.get(['l', 0, 'photo_clip', 0]) || '/image/not/not_surfing_s.gif';
output += '" alt="';
//line 19 "surfer.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'nickname', 0]);

    return context.filter(output, 'html', []);
})();

output += 'さんの画像" width="100" height="75" /></a></dd>\n<dt>ホームポイント</dt>\n<dd class="clipYUKARI"><span>';
//line 21 "surfer.tt"
if (stash.get(['l', 0, 'homepoint', 0])) {
output += '[';
//line 21 "surfer.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'homepoint', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']';
}

output += '</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 26 "surfer.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 27 "surfer.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 2) {
output += '\n';
//line 67 "surfer.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n';
//line 31 "surfer.tt"
if (stash.get('count') % 5 == 1) {
output += '<div class="cliptipBOX">';
}

output += '\n<div class="w1BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">湘南サーファー';
//line 37 "surfer.tt"
if (stash.get(['l', 0, 'is_pro', 0])) {
output += '<img src="/image/common/icn_surfing_pro.gif" alt="プロサーファー" width="30" height="11" class="proICN" />';
}

output += '</h2>';
//line 40 "surfer.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '<dl class="clipBOX">\n<dt>名前(ニックネーム)</dt>\n<dd class="clipNAMEt t2"><span ';
//line 43 "surfer.tt"
output += stash.get(['l', 0, 'is_exp', 0]) ? ' class="expICN"' : '';
output += '><a href="';
//line 43 "surfer.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 43 "surfer.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'nickname', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>年齢</dt>\n<dd class="clipOLD">';
//line 45 "surfer.tt"
if (stash.get(['l', 0, 'age', 0])) {
//line 45 "surfer.tt"
output += stash.get(['l', 0, 'age', 0]);
output += '歳';
}
else {
output += '---';
}

output += '</dd>\n<dt>性別</dt>\n<dd class="clipSEX">\n';
//line 54 "surfer.tt"
if (stash.get(['l', 0, 'sex', 0]) == 'm') {
output += '\n<img src="/image/profile/icn_male.gif" alt="男性" width="14" height="14" />\n';
}
else if (stash.get(['l', 0, 'sex', 0]) == 'f') {
output += '\n<img src="/image/profile/icn_female.gif" alt="女性" width="14" height="14" />\n';
}
else {
output += '\n<img src="/image/profile/icn_secret.gif" alt="秘密" width="14" height="14" />\n';
}

output += '</dd>\n<dt>サーフィン暦</dt>\n<dd class="clipSURFING"><span class="fS">サーフィン歴</span> ';
//line 56 "surfer.tt"
output += stash.get(['l', 0, 'began', 0]);
output += '</dd>\n<dd class="clipFRIEND">お友達の数(<span>';
//line 57 "surfer.tt"
output += stash.get(['l', 0, 'friend_count', 0]);
output += '</span>)</dd>\n<dd class="clipLOGIN">最終ログイン(<span>';
//line 58 "surfer.tt"
output += stash.get(['l', 0, 'last_login_date', 0]);
output += '</span>)</dd>\n<dt>ホームポイント</dt>\n<dd class="clipYUKARI"><span>';
//line 60 "surfer.tt"
if (stash.get(['l', 0, 'homepoint', 0])) {
output += '[';
//line 60 "surfer.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'homepoint', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']';
}

output += '</span></dd>\n</dl>\n</div>\n</div>\n</div>\n';
//line 65 "surfer.tt"
if (stash.get('count') % 5 == 0 || stash.get('count') == stash.get(['pager', 0, 'entries_on_this_page', 0])) {
output += '</div>';
}

output += '\n';
//line 66 "surfer.tt"
stash.set('count', stash.get('count') + 1);
output += '\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}
else if (stash.get('mode') == 3) {
output += '\n';
//line 110 "surfer.tt"

// FOREACH 
(function() {
    var list = stash.get('result');
    list = new Jemplate.Iterator(list);
    var retval = list.get_first();
    var value = retval[0];
    var done = retval[1];
    var oldloop;
    try { oldloop = stash.get('loop') } finally {}
    stash.set('loop', list);
    try {
        while (! done) {
            stash.data['l'] = value;
output += '\n<div class="cliptipBOX">\n<div class="w5BGt">\n<div class="wTOP">\n<div class="wBOTTOM">\n<h2 class="clipTITLE">湘南サーファー\n';
//line 75 "surfer.tt"
if (stash.get(['l', 0, 'is_pro', 0])) {
output += '<img src="/image/common/icn_surfing_pro.gif" alt="プロサーファー" width="30" height="11" class="proICN" />';
}

output += '\n</h2>\n';
//line 77 "surfer.tt"
if (stash.get(['l', 0, 'is_new', 0])) {
output += '<img src="/image/common/icn_new.gif" alt="NEW!" width="19" height="19" class="newIMG" />';
}

output += '\n<dl class="clipBOX">\n<dt>サーファー画像</dt>\n<dd class="clipIMG"><a href="';
//line 80 "surfer.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '"><img src="';
//line 80 "surfer.tt"
output += stash.get(['l', 0, 'photo', 0]) || '/image/not/not_surfing_m.gif';
output += '" / alt="';
//line 80 "surfer.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'nickname', 0]);

    return context.filter(output, 'html', []);
})();

output += 'さんの画像" width="130" height="98" /></a></dd>\n<dt>名前(ニックネーム)</dt>\n<dd class="clipNAME"><span ';
//line 82 "surfer.tt"
output += stash.get(['l', 0, 'is_exp', 0]) ? ' class="expICN"' : '';
output += '><a href="';
//line 82 "surfer.tt"
output += stash.get(['l', 0, 'url', 0]);
output += '" rel="tag">';
//line 82 "surfer.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'nickname', 0]);

    return context.filter(output, 'truncate', [ 15 ]);
})();


    return context.filter(output, 'html', []);
})();

output += '</a></span></dd>\n<dt>ホームポイント</dt>\n<dd class="clipYUKARI"><span>';
//line 84 "surfer.tt"
if (stash.get(['l', 0, 'homepoint', 0])) {
output += '[';
//line 84 "surfer.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'homepoint', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

output += ']';
}

output += '</span></dd>\n<dt>コメント</dt>\n<dd class="clipCOMMENT">';
//line 86 "surfer.tt"
if (stash.get(['l', 0, 'comment', 0])) {
//line 86 "surfer.tt"

// FILTER
output += (function() {
    var output = '';


// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'comment', 0]);

    return context.filter(output, 'truncate', [ 140 ]);
})();


    return context.filter(output, 'html', []);
})();

}

output += '</dd>\n<dt>お友達＆ログイン</dt>\n<dd class="clipFRIEND">お友達の数(<span>';
//line 88 "surfer.tt"
output += stash.get(['l', 0, 'friend_count', 0]);
output += '</span>)</dd>\n<dd class="clipLOGIN">最終ログイン(<span>';
//line 89 "surfer.tt"
output += stash.get(['l', 0, 'last_login_date', 0]);
output += '</span>)</dd>\n<dd class="clipACTION">活動の数(<span>';
//line 90 "surfer.tt"
output += stash.get(['l', 0, 'action_count', 0]);
output += '</span>)</dd>\n<dt>ボード</dt>\n<dd class="clipBOARD">';
//line 92 "surfer.tt"
if (stash.get(['l', 0, 'board', 0])) {
//line 92 "surfer.tt"

// FILTER
output += (function() {
    var output = '';

output += stash.get(['l', 0, 'board', 0]);

    return context.filter(output, 'truncate', [ 11 ]);
})();

}

output += '</dd><dt>年齢</dt>\n<dd class="clipOLD">';
//line 93 "surfer.tt"
if (stash.get(['l', 0, 'age', 0])) {
//line 93 "surfer.tt"
output += stash.get(['l', 0, 'age', 0]);
output += '<span class="fontS">歳</span>';
}
else {
output += '<span class="fontS">内緒</span>';
}

output += '</dd>\n<dt>性別</dt>\n<dd class="clipSEX">\n';
//line 102 "surfer.tt"
if (stash.get(['l', 0, 'sex', 0]) == 'm') {
output += '\n<img src="/image/profile/icn_male_f.gif" alt="男性" width="14" height="18" />\n';
}
else if (stash.get(['l', 0, 'sex', 0]) == 'f') {
output += '\n<img src="/image/profile/icn_female_f.gif" alt="女性" width="14" height="18" />\n';
}
else {
output += '\n<img src="/image/profile/icn_secret_f.gif" alt="秘密" width="14" height="18" />\n';
}

output += '</dd>\n<dt>サーフィン暦</dt>\n<dd class="clipYEARsurfing"><span>サーフィン歴：</span>';
//line 104 "surfer.tt"
output += stash.get(['l', 0, 'began', 0]);
output += '</dd>\n</dl>\n</div>\n</div>\n</div>\n</div>\n';;
            retval = list.get_next();
            value = retval[0];
            done = retval[1];
        }
    }
    catch(e) {
        throw(context.set_error(e, output));
    }
    stash.set('loop', oldloop);
})();

output += '\n';
}

output += '\n';
}
else {
output += '\n<div class="noLIST" id="search_nolist"><ul><li>該当するクリップがありません</li></ul><div class="noLISThint">\n<h3><img src="/image/search/search_nolist.gif" alt="検索のヒント" width="130" height="47" /></h3>\n<ul class="noLISTul">\n<li> キーワードに誤字・脱字はないですか？</li>\n<li>違うキーワードを使ってみてください。</li>\n<li> より一般的な言葉を使ってみてください。</li>\n</ul>\n<p>それでも見つからないときは、<strong>教えて！</strong>で質問してみましょう。</p>\n<ul class="arrowRS">\n<li><a href="/forum">教えて！</a></li>\n</ul>\n</div></div>';
}

output += '\n';
    }
    catch(e) {
        var error = context.set_error(e, output);
        throw(error);
    }

    return output;
}

