$(document).ready(function()
{
	$('#content').jScrollPane();
	$('.info').css('display', 'none');
	$('.info').fadeIn(2000);
	
	$('#ref-cycle, #cycle').cycle({
		fx: 'fade',
		speed: 2000,
		random: 1
	});
	
	$("#groupe").qtip({
		content:{text: $("#groupe-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			tip:{corner: 'bottomMiddle',color: '#c11e43',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#c11e43'},background: '#c11e43',color: '#ffffff'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	$("#industrie").qtip({
		content:{text: $("#industrie-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			width: { max: 500 },
			tip:{corner: 'bottomMiddle',color: '#c11e43',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#c11e43'},background: '#c11e43',color: '#ffffff'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	$("#series").qtip({
		content:{text: $("#series-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			tip:{corner: 'bottomMiddle',color: '#c11e43',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#c11e43'},background: '#c11e43',color: '#ffffff'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	
	$("#batiment").qtip({
		content:{text: $("#batiment-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			width: { max: 500 },
			tip:{corner: 'bottomMiddle',color: '#bebd00',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#bebd00'},background: '#bebd00',color: '#000000'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	
	$("#fantoni").qtip({
		content:{text: $("#fantoni-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			width: { max: 500 },
			tip:{corner: 'bottomMiddle',color: '#bebd00',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#bebd00'},background: '#bebd00',color: '#000000'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	$("#bon").qtip({
		content:{text: $("#bon-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			width: { min: 300 },
			tip:{corner: 'bottomMiddle',color: '#bebd00',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#bebd00'},background: '#bebd00',color: '#000000'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	$("#philippe").qtip({
		content:{text: $("#philippe-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			tip:{corner: 'bottomMiddle',color: '#bebd00',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#bebd00'},background: '#bebd00',color: '#000000'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	$("#novapeint").qtip({
		content:{text: $("#novapeint-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			tip:{corner: 'bottomMiddle',color: '#bebd00',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#bebd00'},background: '#bebd00',color: '#000000'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	$("#atelier").qtip({
		content:{text: $("#atelier-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			tip:{corner: 'bottomMiddle',color: '#c3729b',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#c3729b'},background: '#c3729b',color: '#ffffff'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	$("#decorapeint").qtip({
		content:{text: $("#decorapeint-address")},
  		position:{corner:{target: 'topMiddle',tooltip: 'bottomMiddle'}},
		style:
		{
			tip:{corner: 'bottomMiddle',color: '#bebd00',size:{height: 5,width: 20}},
			border: {radius: 5,color: '#bebd00'},background: '#bebd00',color: '#000000'
		},
		hide:{delay: 1000},
		show: 'mouseover',
		hide: {when: 'mouseout',fixed: true}
	});
	
});
