<?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.HtmlToolTipRenderer"
		baseclass="org.richfaces.renderkit.html.ToolTipRenderer"
		component="org.richfaces.component.UIToolTip" >
		
	<!-- h:styles>
		/org/richfaces/renderkit/html/css/tooltip.xcss
	</h:styles>
	<h:scripts>
		new org.ajax4jsf.framework.resource.PrototypeScript(),
		new org.ajax4jsf.framework.ajax.AjaxScript(),
		/org/richfaces/renderkit/html/scripts/utils.js,
		/org/richfaces/renderkit/html/scripts/tooltip.js
	</h:scripts-->
	
	<f:clientid var="clientId"/>
	<span 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>
		    <span id="#{clientId}defaultContent" style="display:none">
			    <u:insertFacet name="defaultContent" />
			</span>
		 <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>
	</span>			

	
	
	
	<!-- f:call name="utils.encodeEndFormIfNessesary"/-->
</f:root>
