// JavaScript Document

// Create the tooltips only on document load
$(document).ready(function() 
{
	
	// create own style type to apply to 
	$.fn.qtip.styles.sc_dark = { // Last part is the name of the style
			border:	{
				width: 7,
				color: '#07131d'
			},
			textAlign: 'justify',
			background: '#31393f',
			lineHeight: '18px',
			padding: '10px',
			width: 350,
			name: 'dark' // Inherit the rest of the attributes from the preset dark style
	}	

	// Match all link elements with href attributes within the content div
	$('a#e11').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/helen_mats.html'
		},
		position: {
			corner: {
				target: 'rightMiddle',
				tooltip: 'leftMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'leftMiddle'
   		}
	});
	$('a#e12').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/doug_mcdonald.html'
		},
		position: {
			corner: {
				target: 'rightMiddle',
				tooltip: 'leftMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'leftMiddle'
   		}
	});
	$('a#e13').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/valerie_halaska.html'
		},
		position: {
			corner: {
				target: 'rightMiddle',
				tooltip: 'leftMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'leftMiddle'
   		}
	});
	$('a#e14').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/katy_kickham.html'
		},
		position: {
			corner: {
				target: 'leftMiddle',
				tooltip: 'rightMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'rightMiddle'
   		}
	});
	$('a#e21').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/tim_mcmillen.html'
		},
		position: {
			corner: {
				target: 'rightMiddle',
				tooltip: 'leftMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'leftMiddle'
   		}
	});
	$('a#e22').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/mike_pool.html'
		},
		position: {
			corner: {
				target: 'rightMiddle',
				tooltip: 'leftMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'leftMiddle'
   		}
	});
	$('a#e23').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/marcia_tiemeyer.html'
		},
		position: {
			corner: {
				target: 'rightMiddle',
				tooltip: 'leftMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'leftMiddle'
   		}
	});
	$('a#e24').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/john_mazzola.html'
		},
		position: {
			corner: {
				target: 'leftMiddle',
				tooltip: 'rightMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'rightMiddle'
   		}
	});
	$('a#e31').qtip({
		content: {
			prerender: 'false',
			url: 'images/staff/katy_kickham.html'
		},
		position: {
			corner: {
				target: 'rightMiddle',
				tooltip: 'leftMiddle'
			}
		},
		show:	{
			effect:	{
				type: 'grow',
				length: '500'
			}
		},
		hide:	{
			effect:	{
				type: 'fade',
				length: '500'
			}
		},
		style: {
			name: 'sc_dark',
			tip: 'leftMiddle'
   		}
	});	
});