Cufon.replace('.support h3 a, .widget h3, .title h1, .title p, h1.title, h2.heading, .content h2');

Cufon.replace('.header-nav a', {
	hover:true
});

var $Q = jQuery.noConflict();

$Q(document).ready(function() {
	// find all links that begin with "http://"
    $Q('a[href^="http://"]').filter(function(){ 
	
		// filter out links that have the same domain name as the current page
		return this.hostname && this.hostname !== location.hostname; 
	})
        
		// add a CSS class of "external" to each external link (for styling)
		.addClass("external")
		
		// inform visitor that link will open in new window
        .attr( 'title', 'Link will open in new window')
		
		// open link in new window once clicked
		.click( function() {
				window.open(this.href);
				return false;
		});
	
	$Q('.page-id-10 .content .answer, .page-id-167 .content .answer').hide();
	
	$Q('.page-id-10 .content h3, .page-id-167 .content h3').toggle(
		function() {
			$Q(this).next().slideDown().addClass('open-answer');
		},
		function() {
			$Q(this).next().slideUp();
		}
	
	)
	
	$Q('.gallery-icon a').attr('rel','gallery-images');
	
	$Q('.banner-images').innerfade({
		speed: 5000,
		timeout: 8000,
		type: 'sequence',
		containerheight: '312px'
	});
	
	$Q('.gallery-icon a').colorbox({
		maxWidth:	"90%",
		maxHeight:	"90%",
		current:	"{current} of {total}"
	});

	$Q('a.video-link').colorbox();


});
