$(document).ready(function() {
	$.fn.qtip.styles.formgehoelze = {
		background: '#d5caae',
		color: '#000',
		overflow: 'hidden',
		textAlign: 'left',
		width: {
			min: 0,
			max: 250
		},
		padding: '5px 5px',
		border: {
			width: 3,
			radius: 0,
			color: '#443b24'
		},
		tip: {
			corner: false,
			color: false,
			size: { x: 0, y: 0 },
			opacity: 1
		},
		title: {
			background: '#443b24',
			fontWeight: 'bold',
			padding: '5px 5px',
			color: '#ffffff'
		},
		classes: {
			target: '',
			tip: 'qtip-tip',
			title: 'qtip-title',
			content: 'qtip-content',
			active: 'qtip-active'
		}
	}

	$.fn.qtip.defaults.show.when.event = 'mouseover';
	$.fn.qtip.defaults.content.prerender = true;
	$.fn.qtip.defaults.position.corner.target = 'topMiddle';
	$.fn.qtip.defaults.position.corner.tooltip = 'bottomMiddle';
	$.fn.qtip.defaults.position.adjust.y = -10;
	$.fn.qtip.defaults.position.adjust.screen = true;

	$('#tip-width').qtip({
		style: 'formgehoelze',
		content: { title : 'Breite', text: $('#info-width-height').html() }
	});
	$('#tip-height').qtip({
		style: 'formgehoelze',
		content: { title : 'H&ouml;he', text: $('#info-width-height').html() }
	});
	$('#tip-transplanting').qtip({
		style: 'formgehoelze',
		content: { title : 'Umpflanzungen', text: $('#info-transplanting').html() }
	});
	$('#tip-weight').qtip({
		style: 'formgehoelze',
		content: { title : 'Gewicht', text: $('#info-weight').html() }
	});
	$('#tip-bale').qtip({
		style: 'formgehoelze',
		content: { title : 'Ballen', text: $('#info-bale').html() }
	});
	$('#tip-container').qtip({
		style: 'formgehoelze',
		content: { title : 'Container', text: $('#info-container').html() }
	});
	$('.tip-photoservice').qtip({
		style: 'formgehoelze',
		content: { title : 'Fotoservice', text: $('#info-photoservice').html() }
	});
});
