// JavaScript Document

$(function(){

	// lets hide some 
	$('div[id^="faq"]').hide();
	$('a[id^="togglefaq"]').each(function(){
		$(this).click(function(){
			var number = $(this).attr('id').replace('togglefaq','');
			$('#faq'+number).toggle();
			return false;
		});
	});
	

	Cufon.replace('h1, .homepage_blocks h2');
	Cufon.now();

	$('#homepage #background').innerfade({
		animationtype: 'fade',
		speed: 2750,
		timeout: 4500,
		type: 'sequence'
	});
	
	
	$('#selectService').change(function(){  window.location = $('#selectServiceDestination').val(); })

	$("#rightcontent a[href^=http://]").attr("target", "_blank");

});
