function jconfirm( link, success, options ) {
	var theOptions = jQuery.extend ({
		question: "Are You Sure ?",
		yesAnswer: "Yes",
		cancelAnswer: "No"
	}, options);
    link = $( link );
	if( link.next('.question').length <= 0)
    {
        var question = $(sprintf('<div class="question">%s<br><span class="yes">%s</span><span class="cancel">%s</span></div>', theOptions.question, theOptions.yesAnswer, theOptions.cancelAnswer));
		link.after( question );
    }
    else
        var question = link.next('.question:first');

	question.animate({opacity: 1}, 300);

	question.find('.yes').bind('click', function(){
        question.remove();
        success();
	});

	question.find('.cancel').bind('click', function(){
		question.fadeOut(300, function() {
			question.remove();
		});
	});
}
