/*	=========================
	
	scripts.js
	
	Put scripts here.
	
	Last edited: 10/14/09 by Dan
	
	========================= */
	
	/* define: primetime rotator, testimonial rotator, superfish menu, flickr _blank, columnator, column equalizer, form input cleanser, inline validation (floating), inline validation (to the side) */

$(document).ready(function(){

	jQuery(function(){
		jQuery('ul.sf-menu').superfish( {
		
			animation: { opacity:'show', height:'show' }, 
			speed: 'fast'
		
		});
	});
	
	$('.pt-content').after('<ul id="pt-controls"><li id="pt-prev"><a href="#">&laquo; Previous</a></li><li id="pt-next"><a href="#">Next &raquo;</a></li></ul>').cycle({
		fx: 'fade',
		speed: 'fast',
		timeout: 6000,
		next: '#pt-next',
		prev: '#pt-prev'
	});
	
	$('#testimonial-rotator').cycle({
		fx: 'fade',
		speed: 'slow',
		timeout: 12000
	});
	
	$('div.flickr_badge_image a').attr("target","_blank");

});
