// JavaScript Document

$(document).ready(function() {
	$('.tip').each(function() {
		$(this).qtip({ 
			content: { url:'hosting_info.php', data: { id:$(this).attr('id').substring(2), attr_id:$(this).attr('tooltip') }, method:'get' },
			style: { name:'light', border: {width:4, radius:5, color:'#999'}, tip:'bottomLeft', width:250, background:'#eee' },
			position: { corner: { target:'topRight', tooltip:'bottomLeft' } },
			show: { effect:'fade' }
		});
	});
});
