<%temp_shopping_order_form_deliverment_show=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_shopping_order_form_deliverment_show -->
<!-- object[<%=site.object_p%>]::temp_shopping_order_form_payment_show -->
<script>
var de=new Array
function show_de(){
document.getElementById("description_deliverment").innerHTML=de[order.deliverment.value];
}
function opencat_<%=site.object(site.object_p).id%>(cat)
{
	if(cat.style.display=="none"){
	cat.style.display="";
	} else {
	cat.style.display="none"; 
	}
}

</script>
<table style='border:1px solid #ebebeb;' align=center cellpadding='0' cellspacing='0' width='95%' bgcolor=#fafafa height='20' <%=site.object(temp_shopping_order_form_deliverment_show).style%>>
	<tr>
		<td height='35' width='30' align=center><img border='0' src='<%=site.object(temp_shopping_order_form_deliverment_show).image%>/dotblue.gif'></td>
		<td height='35' width='15%' align=right>选择送货方式：</td>
		<td height='35' width='80%' align=left>
		<select name=deliverment onChange="show_de()">
<%
site.object(site.object_p).rs.open "select * from jins_deliverment_list where deliverment_open=1 order by deliverment_num ",conn,1,1
do while not site.object(site.object_p).rs.eof 

if site.temp.customer.check.GradeCheck(site.object(site.object_p).rs("deliverment_customer_grade")) then 
response.write "<option value='"&site.object(site.object_p).rs("deliverment_id")&"'>"&site.object(site.object_p).rs("deliverment_name")&"</option>"
response.write "<script>de["&site.object(site.object_p).rs("deliverment_id")&"]='"&site.object(site.object_p).rs("deliverment_description")&"';</script>"
end if

site.object(site.object_p).rs.movenext
loop
site.object(site.object_p).rs.close
set site.object(site.object_p).rs=nothing
%>
		</select>
		<a style='CURSOR: hand' onclick='opencat_<%=site.object(site.object_p).id%>(cat_deliverment)'>点击查看送货方式的相关说明</a>
		</td>
	</tr>
	<tr id=cat_deliverment style='DISPLAY: none'>
		<td height='35' style="padding:10px" colspan=5 width='100%' align=left bgcolor=#ffffff><div style="line-height:25px;" id=description_deliverment></div></td>
	</tr>
</table>
<script>show_de()</script>
<br>