<script type="text/javascript">
$(document).ready(function(){
	myhtml.checked(['{checked-online}', '{checked-user-photo}']);	
	var query = $('#query_full').val();
});
</script>

<div class="clear" style="height:15px;"></div>
<div class="friends_left_head">
  <a id="{activetab-1}" href="/?{query-people}" onClick="Page.Go(this.href); return false;"> People </a>
  <a id="{activetab-2}" href="/?go=search{query-videos}" onClick="Page.Go(this.href); return false;"> Videos </a>
</div>
<div style="float:left; width:719px; margin-right:-100px; min-height:550px; background-color:#fff; padding:10px; padding-right:0px; border-radius:4px; border:1px solid#d8d8d8;">
<input type="text" id="query_full" placeholder="Search.." style="width:85%;" onKeyPress="if(event.keyCode == 13)gSearch.go();" maxlength="65" />
<button class="float_r" style="margin-right:10px;" onClick="gSearch.go(); return false">Search</button>
<div style="float:left; width:680px;">
[search-tab]
<div class="search_sotrt_tab">
  <b>Основное</b>
  <div class="search_clear"></div>
  <div class="padstylej">
    <select name="country" id="country" onChange="Profile.LoadCity(this.value); gSearch.go();">
      <option value="0">Any country</option>
      
      
      {country}
    
    
    </select>
    <img src="{theme}/images/loading_mini.gif" alt="" class="load_mini" id="load_mini" /></div>
  <div class="search_clear"></div>
  <div class="padstylej">
    <select name="city" id="select_city" onChange="gSearch.go();">
      <option value="0">Any city</option>
      
      
      {city}
    
    
    </select>
  </div>
  <div class="search_clear"></div>
  <div class="html_checkbox" id="online" onClick="myhtml.checkbox(this.id); gSearch.go();">now online</div>
  <div class="html_checkbox" id="avatar" onClick="myhtml.checkbox(this.id); gSearch.go();" style="margin-top:9px">with photo</div>
  <div class="search_clear" style="margin-top:60px"></div>
  <b>Пол</b>
  <div class="search_clear"></div>
  <div class="padstylej">
    <select name="gender" id="gender" onChange="gSearch.go();">
      <option value="0">All</option>
      
      
      {gender}
    
    
    </select>
  </div>
  <div class="search_clear"></div>
  <b>Birthday</b>
  <div class="search_clear"></div>
  <div class="padstylej">
    <select name="day" id="day" onChange="gSearch.go();">
      <option value="0">Any day</option>
      
      
      {day}
    
    
    </select>
    <div class="search_clear"></div>
    <select name="month" id="month" onChange="gSearch.go();">
      <option value="0">Any month</option>
      
       
      {month}
    
    
    </select>
    <div class="search_clear"></div>
    <select name="year" id="year" onChange="gSearch.go();">
      <option value="0">Any year</option>
      
      
      {year}
    
    
    </select>
  </div>
  <div class="search_clear"></div>
</div>
[/search-tab]
<div class="clear"></div>
[yes]
<div class="clear" style="height:10px;"></div>
<div class="cover_edit_title" style="margin-left:-10px; width:710px;">{count}</div>
<div class="clear" style="height:10px;"></div>
[/yes] 