var Bootstrap = jZend.Bootstrap.extend({
	_initNewsletter : function() {
	},
	_initCufon: function () {
	    Cufon.replace('h2', {
	        hover: true
	    }); 
	},
	_initFormElements: function() {
		// set file inputs
		$('.ajax-file-input').each (function () { new Form.FileInput(this); });
		// set image inputs
		$('.ajax-image-input').each (function () { new Form.ImageInput(this); });
		// adding asterix for required intputs
		$('label.required').each (function () { $(this).html( $(this).html() + '<span>*</span>') });
	},
	_initConfirms: function () {
		$('a.confirm').click(function () {
			var message = $(this).attr('title') || 'Are you sure you want to delete this element';
			if (!confirm(message)) {
				return false;
			}
		});
	}
});
