var jqpartners={

	width: '200px',
	partner: '',
	clicktext: '',

	init:function(conf){
		
		jqpartners.width = conf.width;
		jqpartners.clicktext = conf.clicktext;
		
		$(document).ready(function(){
		
			$('.custom-clue').stop().cluetip({width: jqpartners.width, showTitle: false, tracking: false, hoverIntent: true, topOffset:-50, leftOffset:-150, positionBy: 'fixed', local:true, cluetipClass: 'jtip', sticky: true, closeText: '', closePosition: 'title', mouseOutClose: true, attribute: 'title', waitImage: true, dropShadow: true, dropShadowColor:  '#666', dropShadowSteps:4, activation: 'hover', delayedClose: 5000 });
			
			$('#partner-container').children().each(function() {
				
				$(this).hover(function() {
				
					jqpartners.partner = $(this).find("a").find("span").html();
					$(this).css("border-color","#EB6E07");
					$(this).find("a").find("span").html(jqpartners.clicktext);
					
				}, function() {
				
					$(this).css("border-color","#92BCE5");
					$(this).find("a").find("span").html(jqpartners.partner);
					
				});
				
				$(this).click(function() {
					window.location = $(this).find("a").attr("href");
				});
				
			});					
			
		});
	}

};
