			<div id="header">
                                <div class="header_image">
					{if $CONFIG.text_header}<div id="header_text">{$CONFIG.text_header}</div>{/if}
                                        <ul class="tab_menu">
                                                <li class="tab_lifebox"><a href="/"{if $a !== 'albums' AND $a !== 'rolls'} class="active"{/if}>LIFEBOX</a></li>
						{if !$new_site}
                                                <li class="tab_album"><a href="/albums"{if $a==='albums'} class="active"{/if}>ALBUMS</a></li>
                                                <li class="tab_rolls"><a href="/rolls"{if $a==='rolls'} class="active"{/if}>ROLLS</a></li>
						{/if}
                                        </ul>
                                        <div class="top_panel">
                                                <div class="user_panel">
                                                        <a class="name" href="/search/?query=&quot;{$_USER.first}%20{$_USER.last}&quot;" title="Hello, {$_USER.first}!">{$_USER.first|upper}&nbsp;{$_USER.last|upper}</a>{if $_USER.level >= $CONFIG.permission_show_admin_menu}&nbsp;<a href="/admin/activity" title="Global site configuration">(CONFIG)</a>{/if}
                                                </div>
						<div class="search_panel">
							<a title="Search" class="search_button"></a>
							<form action="/search" method="get" name="search">
								<fieldset>
										<div class="authent_field">
										<input type="text" id="aut_field" name="query" value="{$_GET.query|stripslashes}" />
									</div>
								</fieldset>
							</form>
							{if !$a}
							<SCRIPT language="JavaScript">
							document.search.query.focus();
							</SCRIPT>
							{/if}
						</div>
					</div>
                                </div>
                        </div>

