<%side_search_detail_show=site.object_p%>
<!-- object[<%=site.object_p%>]::side_search_detail_show -->
<table <%=site.object(side_search_detail_show).style%> cellSpacing='0' cellPadding='0' width='163' border='0'><tr><td width='1' height='1'></td><td width='1' bgColor='#dadada' height='1'></td><td bgColor='#d0d9ef' height='1'></td><td width='1' bgColor='#dadada' height='1'></td><td width='1'></td></tr><tr><td width='1' bgColor='#dadada' height='1'></td><td width='1' bgColor='#d0d9ef' height='1'></td><td bgColor='#ffffff' height='1'></td><td width='1' bgColor='#d0d9ef' height='1'></td><td width='1' bgColor='#eaeaea'></td></tr><form name=side_search_detail><tr><td width='1' bgColor='#d0d9ef' height='1'></td><td width='1' bgColor='#ffffff'></td>
<td vAlign='top' bgColor='#ffffff'>
<table class='"&site.object(side_search_detail_show).style_detail&"' cellSpacing='0' cellPadding='1' width='159' align='center' border='0'>
<tr><td height='8' align='center' colspan='2'><img border='0' src='<%=site.object(side_search_detail_show).image%>/suyaimg_spobanner0411_01.gif' width='156' height='27'></td></tr>
<tr>
<td width='160' colspan='2'>
<p align='center'><input style='border:0px;'value='-----------------------'></td>
</tr>
</table>
<script>
var num_j=new Array;
</script>
<%
site.object(side_search_detail_show).object_include(side_search_detail_show)
%>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td width='160' height='35' colspan='2'>
<p align='center'><input style='border:0px;'value='-----------------------'><br><input type='button' value='¿ªÊ¼²éÑ¯' name='B1' onclick='submit_side_search_detail();'><br><br></td>
</tr>
</table>
<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++;
}
}
}

}

<%
site.object(side_search_detail_show).rs_other(0)=split(request("tr"),"|")

if split(request("tr"),"|")(0)="detail" then
	sort_id_side_search=request("id")
	if sort_id_side_search="" then sort_id_side_search=0
	set site.object(side_search_detail_show).rs_other(1)=conn.execute("select sort_id from jins_"&split(request("tr"),"|")(1)&"_list where "&split(request("tr"),"|")(1)&"_id="&sort_id_side_search&" ")
	if not site.object(side_search_detail_show).rs_other(1).eof then sort_id_side_search=site.object(side_search_detail_show).rs_other(1)("sort_id")
	set site.object(side_search_detail_show).rs_other(1)=nothing
else
    sort_id_side_search=request("sort_id")
end if

%>
function submit_side_search_detail(){

var url='temp.asp?tr=search|<%=site.object(side_search_detail_show).rs_other(0)(1)%>&sort_id=<%=sort_id_side_search%>&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> 
</td>
<td width='1' bgColor='#abacad' height='1'>¡¡</td><td width='1' bgColor='#e5eaf5'>¡¡</td></tr><input type=hidden name=property_name></form><tr><td width='1' bgColor='#dadada' height='1'></td><td width='1' bgColor='#d0d9ef' height='1'></td><td bgColor='#abacad' height='1'></td><td width='1' bgColor='#d0d9ef' height='1'></td><td width='1' bgColor='#ebebeb'></td></tr><tr><td width='1' height='1'></td><td width='1' bgColor='#dadada' height='1'></td><td bgColor='#d0d9ef' height='1'></td><td width='1' bgColor='#d9d9d9' height='1'></td><td width='1'></td></tr></table>