jQuery(document).ready(function() {
	jQuery('.modal-ajax-links a').click(function(event) { event.preventDefault(); });
	jQuery('.modal-ajax-links a').tooltip({ 
		bodyHandler: function() { 
			return jQuery(jQuery(this).attr('href')).html(); 
    		}, 
    		showURL: false 
	});
	jQuery('.quotes > blockquote').not(':odd').each(function() {
		var e = jQuery(this);
		var o = e.offset();

		jQuery('<div></div>').insertAfter(e).addClass(e.attr('class')).css({ top: (o.top + e.outerHeight() - 4) + 'px', left: (o.left + e.outerWidth() - 80) + 'px'})
	});
	jQuery('.quotes > blockquote').not(':even').each(function() {
		var e = jQuery(this);
		var o = e.offset();

		jQuery('<div></div>').insertAfter(e).addClass(e.attr('class')).css({ top: (o.top + e.outerHeight() - 4) + 'px', left: (o.left + 53) + 'px'})
	});
	//curvyCorners.init();
});
