
/****************************************************************************

  This file is part of the GamesCast.tv Website

	GamesCast.tv coded by Steve "GreasedScotsman" Huff, 
	Copyright 2010 Steve Huff
	
	It is distributed under the terms of the 
	GNU General Public License
		
***************************************************************************/


	var gctvtip = {
		position: { my: 'top center', at: 'bottom center', adjust: { screen: true } },
		show: { event: 'mouseover' },
		hide: { event: 'mouseout' },
		style: { tip: true, classes: 'ui-tooltip-dark' }
	};

$(document).ready(function(){


	$('a[title]').qtip( $.extend({}, gctvtip, { content: { attr: 'title' }, position: { target: 'mouse', adjust: { mouse: true, y: 10, screen: true } } }));
	$('img[title]').qtip( $.extend({}, gctvtip, { content: { attr: 'title' }, position: { target: 'mouse', adjust: { mouse: true, y: 10, screen: true } } }));
	$('div[title]').qtip( $.extend({}, gctvtip, { content: { attr: 'title' }, position: { target: 'mouse', adjust: { mouse: true, y: 10, screen: true } } }));




/*	$.fn.qtip.styles.gctvstyle = { 
		width: 200,
		name: 'dark' // Inherit the rest of the attributes from the preset dark style
	}
*/
});


// EOF
