//*-----CUFON REPLACEMENT FUNCTIONS-----*//

/*Cufon.replace('h1, #Nav li a', { hover: true, fontFamily: 'TradeGothicLTStd-BdCn20', textShadow: '-1px 1px #AEAEAD' });
Cufon.replace('h2, h3, h4, h5', { hover: true, fontFamily: 'TradeGothicLTStd-BdCn20' });
Cufon.replace('#Header h1', { hover: true, fontFamily: 'TradeGothicLTStd-BdCn20' });
Cufon.replace('#Header h2', { hover: true, fontFamily: 'TradeGothicLTStd-Cn18' });
Cufon.replace('.learnmore, .playlist, .prev, .next, .visit, #Footer p', { hover: true, fontFamily: 'TradeGothicLTStd-BdCn20' });
Cufon.replace('#Nav .invite', { hover: true, fontFamily: 'TradeGothicLTStd-BdCn20', textShadow: '-1px 1px #AF4322' });
*/

//*-----JQUERY FUNCTIONS-----*//

$(document).ready(function(){

	//*-----INVITE TAB FUNCTION-----*//
						   
	$('a.invite').hover(
		function(){
			$(this).stop().animate({ marginTop: '0' }, 'fast');
		},
		function(){
			$(this).stop().animate({ marginTop: '-10' }, 'fast');
		}
	);
	
	//*-----COLUMNIZER FUNCTION-----*//
	
	$('.columnize').columnize({ columns: 2 });
	
	//*-----IE BOX SHADOW FUNCTION-----*//
	
	/*if ($.browser.msie) {
		$('#Speakers li img, #Leaders li img, #HomeSpeakers .shadow').boxShadow( 0, 0, 3, "BBB");
	}*/
	
	//*-----COLOR ALTERNATING FUNCTION-----*//
	
	$('#Program li:nth-child(4n), #Program li:nth-child(4n-1)').addClass('brown');
	
	$('#HomeSpeakers div.home_leader_speakers ul li:first').css('margin-left', '2px');
	$('#Partners ul li:nth-child(4n)').css('margin-right', '0px');
	$('#Vendors ul li:nth-child(4n)').css('margin-right', '0px');
	
	//*-----TOOLTIP FUNCTION-----*//
	
	/*$('#Partners li, #HomePartners li').hover(
		function(){
			var thisTip = $(this).children('.tooltip');
			var thisHeight = thisTip.height() + 50;
			thisTip.css({ marginTop: -thisHeight + 'px' });
			thisTip.show();
		},
		function(){
			$(this).children('.tooltip').hide();
		}
	);*/
	
	//*-----ABOUT CYCLE FUNCTION-----*//
	
	$('.slideshow').cycle({
		fx: 'fade',
		speed: 'slow',
		timeout: 4000
	});
	
	//*-----KEYNOTE LIST FUNCTION-----*//
	
	/*$('#HomeSpeakers ul').makeacolumnlists({ cols: 2, colWidth: 161, equalHeight: false, startN: 1 });*/
	
	//*-----TESTIMONIALS LIST FUNCTION-----*//
	
	$('#Testimonials ul').makeacolumnlists({ cols: 2, colWidth: 455, equalHeight: false, startN: 1 });

});

