// JavaScript Document
function AddToolTip(ControlID, txtMessage)
    {
        // Setup tooltips on all the new span elements
        $('#' + ControlID).qtip(
        {
          content: { 
            prerender: true,
            text: "<span nowrap class='testoTooltip'>" + txtMessage + "</span>"
           },
          position: {
             corner: {
                target: 'bottomMiddle',
                tooltip: 'topMiddle'
             },
			  adjust: {
				x: 0,  
			  	y: -15
		  	}
          },
          show: {
             when: 'mouseover', 
             solo: true // ...but hide all others when its shown
          },
          hide: { fixed:true },
          style: {
             tip: { corner: 'topMiddle', color: '#ffffff', size:{x: 15, y: 9} } ,
             textAlign: 'center',
			 padding:'3px 10px',
			 border: {color: '#cbcbcb'}
					 
			 
			 },
		 
		 
          api: {
             // Retrieve the content when tooltip is first rendered
             onHide: function()
             {
                this.destroy();
             }
          }

        });
        
        $('#' + ControlID).qtip("show");

        //$('#' + ControlID).OnMouseOut(function{$('#' + ControlID).qtip("hide");})
    }

        



