Ext.ux.woos.InfoTooltip=function(text)
{
	
	
	var tt_Panel = new Ext.Panel({
	    collapsible:true,
	    html: "<table class='tooltip-table' style='background-color: "+tooltipBackgroundColor+"; color: "+tooltipTextColor+";'><tr><td class='tooltip-td'>"+text+"</td></tr></table>"
	    //html: "<div >"+text+"</div>"
	});
	
	
	
	var win = new Ext.Window({
		renderTo: "woos-desktop",
		height: 80,
		width:200,
		closable:false,
		draggable: false,
		resizable: false,
		shadow: false,
		//x: (Ext.get("woos-desktop").getWidth()),
		listeners: {
	    		beforeshow : function()
	    		{
	    			win.el.fadeIn({duration: fadeInDurationTooltip});
	    		}
	    },
	    layout: "fit",
	    items: tt_Panel
	    
	});
	
	win.setPosition((Ext.get("woos-desktop").getWidth() - win.getSize().width - 5),
					(Ext.get("woos-desktop").getHeight() - win.getSize().height - 5));
	win.show();
	
	var check = 0;
	var task = {
	    run: function(){
	    	if(check === 0){
	    		check = 1;
	    	}
	    	else {
	        	win.el.fadeOut({duration: fadeOutDurationTooltip, remove: true});
	    	}
	    },
	    interval: (tooltipDuration * 1000)
	};
	Ext.TaskMgr.start(task);
	
	
};