$(document).ready(function(){
    $('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
	$('.slideshow2').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});

$(document).ready(function(){ 	
	$('div.option').each(function(i){
		$(this).mouseover(function(){
			$(this).find('img').css ('border-color','#c00');
		}).mouseout(function(){
		$(this).find('img').css ('border-color','#fff');
		});
	});
	$('div.option').each(function(i){
		$(this).click(function(){
			window.location = $(this).attr("url");
			return false;
		});
	});
	
	$('div.nextStep').each(function(i){
		$(this).mouseover(function(){
			$(this).find('img').css ('border-color','#c00');
			}).mouseout(function(){
		$(this).find('img').css ('border-color','#fff');
		});
	});
	$('div.nextStep').each(function(i){
		$(this).click(function(){
			window.location = $(this).attr("url");
			return false;
		});
	});
	
});

$(window).load(function(){
	if (($('div#sideBar').height() - 36) > $('div#bigIdea').height()){  
		$('div#bigIdea').height($('div#sideBar').height() - 36);
	} 
});

