jQuery(function() {
		jQuery('ul.sf-menu').superfish();
		jQuery().UItoTop({ easingType: 'easeOutQuart' });
		jQuery("form.wpcf7-form input, form.wpcf7-form select, form.wpcf7-form textarea").focus(function() {$(this).parents().addClass("focused")}).blur(function() {$(this).parents().removeClass("focused")});
		jQuery(".ic_container").capslide({
                    caption_color	: '#fff',
                    caption_bgcolor	: '#007DA5',
                    overlay_bgcolor : '#007DA5',
                    border			: '',
                    showcaption	    : true
                });
		$('.overlay').css({ opacity: 0.3 });
		$post_image = jQuery("div.entry img");
		$post_image.each(function(){
			var src= this.src;
/*			this.src = '/wp-content/plugins/get-post-image/phpthumb/phpThumb.php?src=' + src + '&fltr[]=ric|4|4';
*/		});
	});

function sys_toggle() {
	jQuery(".toggle_content").hide(); 

	jQuery("h5.toggle").toggle(function(){
		jQuery(this).addClass("active");
		}, function () {
		jQuery(this).removeClass("active");
	});

	jQuery("h5.toggle").click(function(){
		jQuery(this).next(".toggle_content").slideToggle();
	});
}

jQuery(function(){
	sys_toggle();
});

Cufon.replace('h1, h2, h3, .latest_news .date,', { hover:true, fontFamily: 'Anivers' });
Cufon.replace('h4, h5, h6, .subheader .subdesc, .subheader span, blockquote p, a.button span,', { hover:true });
