Nini Nails & Spa e-Gift Cards 
				Let your sweetheart know how much you love and care for him/her by sending our love cards! Buy our gift card for your loved one.
				
    
        
              Please choose a design and add input e-gift information:
            
         
        
            
                
                
                      Your cart
                    
                                            Subtotal 
                                            $0 
                                         
                                        
                                            Discount    
                                            $0 
                                         
                                        
                                            Discount code 
                                            
                                                
                                             
                                         
                                        
                                            Tax 
                                            $0 
                                         
                                        
                                            Total 
                                            $0 
                                         
                                    When will my order be shipped?
                        Your e-Gift card will be sent immediately after we receive your order
                     
             
         
        
     
    
 
 ' +
            '
' +
        '
   ');
    return {
        /**
         * Opens our dialog
         * @param message Custom message
         * @param options Custom options:
         *                options.dialogSize - bootstrap postfix for dialog size, e.g. "sm", "m";
         *                options.progressType - bootstrap postfix for progress bar type, e.g. "success", "warning".
         */
        show: function (message, options) {
            // Assigning defaults
            if (typeof options === 'undefined') {
                options = {};
            }
            if (typeof message === 'undefined') {
                message = 'Loading';
            }
            var settings = $.extend({
                dialogSize: 'm',
                progressType: '',
                onHide: null // This callback runs after the dialog was hidden
            }, options);
            // Configuring dialog
            $dialog.find('.modal-dialog').attr('class', 'modal-dialog').addClass('modal-' + settings.dialogSize);
            $dialog.find('.progress-bar').attr('class', 'progress-bar');
            if (settings.progressType) {
                $dialog.find('.progress-bar').addClass('progress-bar-' + settings.progressType);
            }
            $dialog.find('h3').text(message);
            // Adding callbacks
            if (typeof settings.onHide === 'function') {
                $dialog.off('hidden.bs.modal').on('hidden.bs.modal', function (e) {
                    settings.onHide.call($dialog);
                });
            }
            // Opening dialog
            $dialog.modal();
        },
        /**
         * Closes dialog
         */
        hide: function () {
            $dialog.modal('hide');
        }
    };
})(jQuery);
");
                                $("[name='custom_price']").css("border-color", "red");
                                $("[name='custom_price']").css("color", "red");
                            }
                            return false;
                        }else
                        {
                            waitingDialog.show("Please wait a moment ...");
                            $(".btn_loading").prop("disabled","disabled");
                            node[0].submit();
                        }
                    },onAfterSubmit: function (node) {
                        
                    }
                }
            }
        });
        $("input[name='send_to_friend']").click(function(){
            var check_val = $(this).val();
            if(check_val == 0)
            {
                $(".box_recipient").show();
                $(this).val(1);
            }else
            {
                $(".box_recipient").hide();
                $(this).val(0);
            }
        });
        var check_send = parseInt($("input[name='send_to_friend']").val());
        if(check_send == 1)
        {
            $("input[name='send_to_friend'][value='1']").prop("checked", true);
            $(".box_recipient").show();
        }
    });