﻿function hideTooltips()
{

var api_news1 = $("#ctl00_ContentPlaceHolder1_lab_ShowNews1").data("tooltip");

if (api_news1.isShown(true))
{api_news1.hide();}

var api_news2 = $("#ctl00_ContentPlaceHolder1_lab_ShowNews2").data("tooltip");

if (api_news2.isShown(true))
{api_news2.hide();}


var api_news3 = $("#ctl00_ContentPlaceHolder1_lab_ShowNews3").data("tooltip");

if (api_news3.isShown(true))
{api_news3.hide();}

}

function HighlightCell_dis()
{
var hue = 'rgb(' + (255) + ',' + (255) + ',' + (255) + ')';  
  $('#ctl00_ContentPlaceHolder1_news_cell1').animate( { backgroundColor: hue });
    $('#ctl00_ContentPlaceHolder1_news_cell2').animate( { backgroundColor: hue });
      $('#ctl00_ContentPlaceHolder1_news_cell3').animate( { backgroundColor: hue });
}


function HighlightCell1()
{
HighlightCell_dis();
var hue = 'rgb(' + (256) + ',' + (102) + ',' + (0) + ')';  
    $('#ctl00_ContentPlaceHolder1_news_cell1').animate( { backgroundColor: hue }, 1500);
}
function HighlightCell2()
{
HighlightCell_dis();
var hue = 'rgb(' + (256) + ',' + (102) + ',' + (0) + ')';  
    $('#ctl00_ContentPlaceHolder1_news_cell2').animate( { backgroundColor: hue }, 1500);
}
function HighlightCell3()
{
HighlightCell_dis();
var hue = 'rgb(' + (256) + ',' + (102) + ',' + (0) + ')';  
    $('#ctl00_ContentPlaceHolder1_news_cell3').animate( { backgroundColor: hue }, 1500);
}


function hideTooltips1()
{

var api_news1 = $("#ctl00_ContentPlaceHolder1_lab_ShowNews1").data("tooltip");

if (api_news1.isShown(true))
{api_news1.hide();}


}


function PlaceToolTips()
{
////////////////////////////////////////////////////////////////////

$("#ctl00_ContentPlaceHolder1_lab_ShowNews1").tooltip({
tip: '#ctl00_ContentPlaceHolder1_tooltip_news1',
position: 'center right',
offset: [500, 400],
effect:"fade",relative: 'false'
	});
	

$("#ctl00_ContentPlaceHolder1_lab_ShowNews2").tooltip({
tip: '#ctl00_ContentPlaceHolder1_tooltip_news2',
position: 'center right',
offset: [500, 400],
effect:"fade",relative: false
	});
	
	
	
	$("#ctl00_ContentPlaceHolder1_lab_ShowNews3").tooltip({
tip: '#ctl00_ContentPlaceHolder1_tooltip_news3',
position: 'center right',
offset: [500, 400],
effect:"fade",relative: false
	});
	
	
		

}


