oRcsf.RegisterObject('Tooltip');
var RCSF_Project_Tooltip =
{
	/*
	 * Define the tooltip style
	 */
	moBottomTipOptions : {
	 	 style : 'rhino'
	}
	,moErrorTipOptions : {
	 	 style : 'error'
	}
	
	/*
	 * When the class is loaded define the default prototip style
	 */
	,OnDomLoaded : function()
	{
		Tips.images	= this.moCore.maPaths.a_url.s_project_root + 'files/images/prototip/';
	}
	
	/*
	 * Create the tip with the rhino options
	 */
	,CreateTip : function(sId,sTitle,sContent) 
	{
		// set the title
		if(sTitle != 0)
			this.moCore.moTooltip.moBottomTipOptions['title'] = sTitle;
		// Create the tip
		new Tip(
			 sId
			,sContent
			,this.moCore.moTooltip.moBottomTipOptions
		)
	}
	
	/*
	 * Create the error tooltip
	 */
	,CreateErrorTip : function(sId,sContent) 
	{
		// Create the tip
		new Tip(
			 sId
			,sContent
			,this.moCore.moTooltip.moErrorTipOptions
		);
	}
		
};