function multiplePopups(){
	$(function() {
		$('.mc_date').each(function(i){
			datetype = $(this).children('a').attr('class');
			if (datetype) {
				$('.'+datetype).qtip({
					content: {
						url: '/seasontickets/eventpopupmultiple/'+datetype,
						method: 'get',
						text: '<img src="/img/loader.gif" class="tooltip-loader" />'
					},
					show: 'mouseover',
					hide: {
						fixed:true, 
						delay: 100,
						effect: {
							length: 100
						}
					},
					position: {
						corner: {
							target: 'topMiddle',
							tooltip: 'bottomMiddle'
						},
						adjust: {
							screen: false,
							y: 0,
							x: 0
						}
					},
					style: {
						width: 175,
						tip: {
							corner: 'bottomMiddle',
							color: '#ffffff',
							size: {
								y:13,
								x:20
							}
						},
						border: {
							width: 0
						},
						title: { 'background': '#fff', 'position': 'absolute' },
						classes: {
							tooltip: 'eventblue'
						}
					},
					api: {
						onFocus: prePopup
					}
				});				
			}
		});
	});
}
