jQuery(document).ready(function($) {

	$('ul.sf-menu').superfish({
		delay:       800,
		animation:   {opacity:'show',height:'show'},
		speed:       'fast',
		autoArrows:  false,
		dropShadows: false
	});
	
	 $('.accordion').accordion({ autoHeight: false });
	 $('.accordion .ui-accordion-header:last').addClass('last');
	
	 $('#tabs').tabs({ fx: { opacity: 'toggle' } });
	 
	 $('.collapsible h3').click(function() {
		 $(this).next().toggle('slow');
		 $(this).toggleClass("active");
		 return false;
	 }).next().hide();
	 
	 $("#contact-form form").validationEngine()
	 
	 // $('#home-flash').flash({swf:'/wp-content/themes/startingpoint/videos/myFlash.swf', height: 280, width: 619 });
	
	// $('#home-flash').flash({
		// swf: '/wp-content/themes/startingpoint/videos/myFlash.swf',
		// height: 600,
		// width: 950,
		// params: {
		// wmode: 'transparent'
		// }
	// });
	
	//$('#slideshow1').cycle()
	
	// for placeholder text on form input like search
	// $('#searchform input[type=text]').focus(function(){ 
		// if($(this).val() == $(this).attr('defaultValue'))
		// {
		  // $(this).val('');
		// }
	// });  
	// $('#searchform input[type=text]').blur(function(){
		// if($(this).val() == '')
		// {
		  // $(this).val($(this).attr('defaultValue'));
		// } 
	// });

});
