/*
 *	Initialize checkbox helpers in messageCenter
 */


jQuery.fn.confirmTitle = function()
{
	var that = this;
	this.each( function( i, o )
	{
		$o = jQuery( o );

		if( !jQuery.trim(o.title) )
			return;
	
		$o.click( function( e )
		{
			if( !confirm( this.title ) )
			{
				e.stopPropagation();
				e.preventDefault();
				return false;
			}
			
			return true;
		} );
	});
}


// load when DOM ready
jQuery( function(){ 

	jQuery( '.confirmTitle' ).confirmTitle();

} );