$(function(){	var ajax_timeout = undefined;	var currlang = 'en';	if($("#subsidized_content").hasClass('fr')){		currlang = 'fr';	}	$.each($("a.tooltip"), function() {		$.current = $(this);		$.current.qtip({			content: {				url: '/include/getbubble.aspx',				data: { code: $.current.attr('rel'), lang: currlang },				method: 'get'			},			api: {				/*				beforeContentLoad: function() {					if(ajax_timeout != undefined) {						clearTimeout(ajax_timeout);					}					ajax_timeout = setTimeout(function() {						ajax_timeout = undefined;					}, 500);					return false;				}				*/			},						position: {				corner: {					target: 'topRight',					tooltip: 'bottomLeft'				}			},			style: { 				width:250,				padding: 0,				background: '#efefef',				color: 'black',				textAlign: 'left',				border: {					width: 14,					radius: 12,					color: '#efefef'				},				tip: 'bottomLeft',				name: 'dark' // Inherit the rest of the attributes from the preset dark style			},			show: { when: 'mouseover', delay: 500, effect: { type: 'slide' } },			hide: { when: 'mouseout', delay: 500, effect: { type: 'slide' }, fixed: true }		})			});});