$(document).ready(function() {
        $('#atozcontain').hide();
        $('#atozcontain').load('/atoz/');

	var colours = ["#003366","#66ccff","#009999","#663399","#0099cc","#669933","#660000","#ff9933","#999933","#000000"];
	$('#leftNavigation .mainNavBullet').each(function(i) {
       		$(this).css('background-color', colours[i % colours.length]);
    	});

	var sectionColour = $('.currentbranch0').parent().prev().css("background-color");
	$('.h2SubHeaderBullet').css("background-color", sectionColour);
        $('.h4SubHeaderBullet').css("background-color", sectionColour);

        $('.landingPageBox ul li').before('<li class="landingPageBullet"></li>');
        $('.landingPageBullet').css("background-color", sectionColour);

  $('#insertAtoZ').mouseover(function(){
    $('#atozcontain').show('slow');
  });

  $('a[href="#consultationform"]').click(function() {
    $this=$(this).parent();
    $('#feedbackForm #form input[name$="t4_content_element_cid"]').val($('input[name="cid"]',$this).val());
    $('#feedbackForm #form input[name$="t4_content_element_curl"]').val($('input[name="curl"]',$this).val());
  });
});




