var url1 = ('https:' == document.location.protocol ? 'https://' : 'http://') + document.location.host + document.location.pathname;
if (document.location.search) {
    url1 = url1 + escape(document.location.search);
}

document.write('<div id="nlogin_form">');
document.write('<iframe id="framelogin" src="/user/login/frame_login_jump.php?tt=ow&ret_url=' + url1 + '" width="920" height="60" scrolling="no" frameborder="0">この部分は iframe 対応のブラウザで見てください。</iframe>');
document.write('</div>');


document.write('<div id="logoArea">');
document.write('<div id="logo">');
write_headerLogo();
document.write('</div>');
document.write('</div>');

document.write('<div id="searchArea">');
document.write('<ul>');
document.write('<li><img src="/images/design_img/common/serch_icon.jpg" width="75" height="25" alt="投稿写真検索" border="0" /></li>');
document.write('<li id="serchGenre"><img src="/images/design_img/common/genre_btn.jpg" width="108" height="25" alt="ジャンルから検索" border="0" />');
document.write('<ul id="genreSerchList">');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/cat_votelist/">猫</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/dog_votelist">犬</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/flower_votelist">花</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/bird_votelist">鳥</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/train_votelist">鉄道</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/marine_votelist">水中</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/woman_votelist">WOMAN</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/art_votelist">アート</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/travel_votelist">旅行＆旅</a></li>');
document.write('<li><a href="/index.html/module/Toppage/action/Jump/links/outdoor_votelist">アウトドア</a></li>');
document.write('</ul>');
document.write('</li>');
document.write('<li><a href="/index.html/module/Search/action/SearchTagSupport/from/top" onClick="javascript:SubWin=window.open(\'/index.html/module/Search/action/SearchTagSupport/from/top\',\'support\',\'width=650,height=550,resizable=yes,scrollbars=yes\').focus();return false;"><img src="/images/design_img/common/subject_btn.jpg" width="108" height="25" alt="被写体から検索" border="0" /></a></li>');
document.write('<li class="search_new"><a href="/index.html/module/Toppage/action/Jump/links/photosearch_action/">詳細検索</a></li>');
document.write('</ul>');
document.write('</div>');

// 被写体Tag検索実行用Form Start
document.write('<form method="post" name="search" action="/index.html/module/Search/action/Photo/result/1#resultList">');
document.write('<input type="hidden" name="srchKind" id="srchKind" value="" />');
document.write('<input type="hidden" name="mstr" id="mstr" value="" />');
document.write('<input type="hidden" name="modelTagLabel" id="modelTagLabel" value="" />');
document.write('</form>');

function searchExec(bool_lens) {
	document.getElementById('srchKind').value='searchModel';
	document.search.submit();
}
// 被写体Tag検索実行用Form End

// ジャンルから検索
function searchGenre(url) {
	location.href = url;
}

