function createBasicTooltip()
{
	try
	{
		JQ('.tooltip_regular').qtip(
		{
			show: 'mouseover',
		   	hide: 'mouseout',
		   	style: 
		   	{ 
				name: 'dark',
				background: '#213a68',
				color: 'white',

		      	tip: 
		      	{ 
					corner: 'bottomMiddle', 
		         	color: '#213a68',
		         	size: 
		         	{
		            	x: 10,             
		            	y: 10 
		         	}
				},
				border: 
				{
		         	width: 3,
		         	radius: 3,
		         	color: '#213a68'
		      	}
		   	},
		   	position: 
		   	{
		   		corner: 
		   		{
		         	target: 'topMiddle',
		         	tooltip: 'bottomMiddle'
		      	}
			}
		});
	}
	catch(e)
	{
		// no need to catch the error
	}
	
	try
	{
		JQ('.tooltip_right').qtip(
		{
			show: 'mouseover',
		   	hide: 'mouseout',
		   	style: 
		   	{ 
				name: 'dark',
				background: '#213a68',
				color: 'white',      
		      	tip: 
		      	{ 
					corner: 'leftMiddle', 
		         	color: '#213a68',
		         	size: 
		         	{
		            	x: 10,             
		            	y: 10 
		         	}
				},
				border: 
				{
		         	width: 3,
		         	radius: 3,
		         	color: '#213a68'
		      	}
		   	},
		   	position: 
		   	{
		   		corner: 
		   		{
		         	target: 'rightMiddle',
		         	tooltip: 'leftMiddle'
		      	}

			}
		});
	}
	catch(e)
	{
		// no need to catch the error
	}
		
	try
	{
		JQ('.tooltip_left').qtip(
		{
			show: 'mouseover',
		   	hide: 'mouseout',
		   	style: 
		   	{ 
				name: 'dark',
			    background: '#213a68',
			    color: 'white',
		      	tip: 
		      	{ 
					corner: 'bottomRight', 
		         	color: '#999999',
		         	size: 
		         	{
		            	x: 20,             
		            	y: 8 
		         	}
				},
				border: 
				{
		         	width: 3,
		         	radius: 3,
		         	color: '#999999'
		      	}
		   	},
		   	position: 
		   	{
		   		corner: 
		   		{
		         	target: 'topLeft',
		         	tooltip: 'bottomRight'
		      	}
			}
		});
	}
	catch(e)
	{
		// no need to catch the error
	}
	
	try
	{
		JQ('.tooltip_bottom').qtip(
		{
			show: 'mouseover',
		   	hide: 'mouseout',
		   	style: 
		   	{ 
				name: 'dark',
			    background: '#213a68',
			    color: 'white',
		      	tip: 
		      	{ 
					corner: 'topMiddle', 
		         	color: '#999999',
		         	size: 
		         	{
		            	x: 20,             
		            	y: 8 
		         	}
				},
				border: 
				{
		         	width: 3,
		         	radius: 3,
		         	color: '#999999'
		      	}
		   	},
		   	position: 
		   	{
		   		corner: 
		   		{
		         	target: 'bottomMiddle',
		         	tooltip: 'topMiddle'
		      	}
			}
		});
	}
	catch(e)
	{
		// no need to catch the error
	}
	
	try
	{
		JQ('.tooltip_bottom_left').qtip(
		{
			show: 'mouseover',
		   	hide: 'mouseout',
		   	style: 
		   	{ 
				name: 'dark',
			    background: '#213a68',
			    color: 'white',
		      	tip: 
		      	{ 
					corner: 'topRight', 
		         	color: '#999999',
		         	size: 
		         	{
		            	x: 20,             
		            	y: 8 
		         	}
				},
				border: 
				{
		         	width: 3,
		         	radius: 3,
		         	color: '#999999'
		      	}
		   	},
		   	position: 
		   	{
		   		corner: 
		   		{
		         	target: 'bottomLeft',
		         	tooltip: 'topRight'
		      	}
			}
		});
	}
	catch(e)
	{
		// no need to catch the error
	}
}
	
function destroyBasicTooltip()
{
	try
	{
		JQ('.tooltip_regular').qtip('destroy');
	}
	catch(e)
	{
		// no need to catch the error
	}
	
	try
	{
		JQ('.tooltip_left').qtip('destroy');
	}
	catch(e)
	{
		// no need to catch the error
	}
		
	try
	{
		JQ('.tooltip_bottom').qtip('destroy');
	}
	catch(e)
	{
		// no need to catch the error
	}
	
	try
	{
		JQ('.tooltip_bottom_left').qtip('destroy');
	}
	catch(e)
	{
		// no need to catch the error
	}
	
	createBasicTooltip();
}

JQ(document).ready(function () 
{
	createBasicTooltip();
});
