<%side_search_detail_show=site.object_p%>
<!-- object[<%=site.object_p%>]::side_search_detail_show -->
<script>
var num_j=new Array;
</script>
<%
'response.write site.object_p&site.object(1).id
'response.end
site.object(side_search_detail_show).object_include(side_search_detail_show)
%>
<div   align="center">
  <hr width="95%" size="1" color="#ebebeb">
<input type='button' value='¿ªÊ¼²éÑ¯' name='B1' onclick='submit_side_search_detail();'>
</div>
<script>
function side_search_check(action,num_check){
var i,j;
j=0;
document.getElementById(action).value='';
if(!document.getElementById(action+'_').checked){
for(i=0;i<=num_check;i++){
if(document.getElementById(action+'_'+i).checked){
if(j==0)
document.getElementById(action).value+=document.getElementById(action+"_"+i).value;
else
document.getElementById(action).value+='$'+document.getElementById(action+"_"+i).value;
j++;
}
}
}

}

function submit_side_search_detail(){

var url='temp.asp?tr=<%=site.temp.search.object_table%>|search&sort_id=<%=site.temp.search.sort_id%>&mode=property';
var i;
var ii;
var j;
var p_j=new Array();
p_j[0]='public';
p_j[1]='private';
for (j=0;j<2;j++){
ii=0;
for(i=0;i<num_j[j];i++){
if(document.getElementById('property_'+p_j[j]+'_value_'+i).value!='' && document.getElementById('property_'+p_j[j]+'_value_'+i).value!='$'){
if(ii==0)
url=url+'&property_'+p_j[j]+'_name='+document.getElementById('property_'+p_j[j]+'_name_'+i).value;
else
url=url+'|'+document.getElementById('property_'+p_j[j]+'_name_'+i).value;
ii++;
}
}
ii=0;
for(i=0;i<num_j[j];i++){
if(document.getElementById('property_'+p_j[j]+'_value_'+i).value!='' && document.getElementById('property_'+p_j[j]+'_value_'+i).value!='$'){
if(ii==0)
url=url+'&property_'+p_j[j]+'_value='+document.getElementById('property_'+p_j[j]+'_value_'+i).value;
else
url=url+'|'+document.getElementById('property_'+p_j[j]+'_value_'+i).value;
ii++;
}
}
}
//alert(url+'&object_print=<%=site.object(side_search_detail_show).prints%>_<%=site.object(side_search_detail_show).name%>_public');
window.location=url+'&object_print=<%=site.object(side_search_detail_show).prints%>_<%=site.object(side_search_detail_show).name%>_public';
}
</script> 
