<!--
$(document).ready(function() {
						   
//  run the killSkype function to stop skpe highlighting phone numbers and breaking stuff
						   
	killSkype();					   
						   
// colorboxes						   
						   
	$(".quote").colorbox({width:"420", height:"500", iframe:true, scrolling:false});		
	
	$(".consultation").colorbox({width:"420", height:"410", iframe:true, scrolling:false});
	
	$(".question").colorbox({width:"550", height:"600", iframe:true, scrolling:false});
	
// info bar	- writes a cookie when link is clicked not to show again

  	var infobar = $.cookie('infobar')
	
	if (!(infobar == 'hide')) {

	$('.information-bar').delay(1000).slideDown('slow');
	
	}

	$('.close-information-bar').click(function() {
  		$('.information-bar').slideUp('slow', function() {
    	// alert('Animation complete.');
		$.cookie('infobar', 'hide', { expires: 365 });
		// alert('Cookie written');
  		});
	});


// tabs		
 
	$('.tabs a').click(function(){
		switch_tabs($(this));
	});
 
	switch_tabs($('.defaulttab'));
	
	
// blend	

	$("#nav-primary ul li a").blend();
	
	
 
});
 
function switch_tabs(obj)
{
	$('.tab-content').hide();
	$('.tabs a').removeClass("selected");
	var id = obj.attr("rel");
 
	$('#'+id).show();
	obj.addClass("selected");	
	
}
//-->
