$(document).ready(init);

function init() {

	$('.withTooltip[title]').qtip( {
		style : {
			name : 'cream',
			tip : true
		}
	});

	$('.withLeftTooltip[title]').qtip( {
		style : {
			name : 'cream',
			tip : true
		},
		position : {
			corner : {
				target : 'topLeft',
				tooltip : 'bottomRight'
			}
		}
	});
    
    $('.withLeftUpTooltip[title]').qtip( {
		style : {
			name : 'cream',
			tip : true
		},
		position : {
			corner : {
				target : 'topMiddle',
				tooltip : 'bottomMiddle'
			}
		}
	});

}
