﻿$(function() {
    if ($("#btnOrder").length > 0) {
        $(".seller_product_text").each(function() {
            var id = this.id.replace("sp_", "");
            var a = $("<a href='/FLASH_CLIENTS/Dialog.aspx?sellerId=" + sellerId + "&productId=" + id + "' style='text-decoration:underline;padding-left:8px'>订购</a>");
            $(this).append(a);
        });
    }
});