<?xml version="1.0" encoding="UTF-8"?>
<f:root 
		xmlns:f="http:/jsf.exadel.com/template" 
		xmlns:h=" http://ajax4jsf.org/cdk/headers"
		xmlns:c=" http://java.sun.com/jsf/core" 
		xmlns:ui=" http://ajax4jsf.org/cdk/ui"
		xmlns:u=" http://ajax4jsf.org/cdk/u"
		xmlns:x=" http://ajax4jsf.org/cdk/x"
		xmlns:vcp="http://ajax4jsf.org/cdk/vcp"
		class="org.richfaces.renderkit.html.HtmlToolTipRendererBlock"
		baseclass="org.richfaces.renderkit.html.ToolTipRenderer"
		component="org.richfaces.component.UIToolTip" >
		
	<f:clientid var="clientId"/>
		<div id="#{clientId}" style="position: absolute; display : none;z-index:#{component.attributes['zorder']}; #{component.attributes['style']}" class="dr-rich-tool-tip rich-tool-tip #{component.attributes['styleClass']}">
			<f:call name="utils.encodePassThru" />
			 <jsp:scriptlet>
				<![CDATA[if("ajax".equals(component.getMode()) && component.getFacet("defaultContent")!=null) {]]>
			 </jsp:scriptlet>
			    <div id="#{clientId}defaultContent" style="display:none">
				    <u:insertFacet name="defaultContent" />
				</div>
			 <jsp:scriptlet>
				<![CDATA[}]]>
			 </jsp:scriptlet>
				
            <vcp:body>
            	<f:call name="encodeTooltipText"/>
            </vcp:body>
            <f:clientid var="clientId"/>
            <span id="#{clientId}script" style="display:none">
            	<f:call name="insertScript"/>
            </span>
		</div>			
</f:root>
