    $(document).ready(function() {
        $('ul.udm').superfish({
            delay:       1000,                            // one second delay on mouseout
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation
            speed:       'normal',                          // faster animation speed
            autoArrows:  true,                           // disable generation of arrow mark-up
            dropShadows: true                            // disable drop shadows
        });
    

        $('ul.leftudm').superfish({
            delay:       1000,                            // one second delay on mouseout
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation
            speed:       'normal',                          // faster animation speed
            autoArrows:  false,                           // disable generation of arrow mark-up
            dropShadows: false                            // disable drop shadows
        });
	
		// phone number widget in header
		
		$('a#one').click(function(){
			$('#bideford').slideDown(500);
			$('#bude').fadeOut(100);
			$('#holsworthy').fadeOut(100);
			$('#okehampton').fadeOut(100);
		});
			
		$('a#two').click(function(){
			$('#bude').slideDown(500);
			$('#bideford').fadeOut(100);
			$('#holsworthy').fadeOut(100);
			$('#okehampton').fadeOut(100);
		});
			
		$('a#three').click(function(){
			$('#holsworthy').slideDown(500);
			$('#bideford').fadeOut(100);
			$('#bude').fadeOut(100);
			$('#okehampton').fadeOut(100);
		});
			
		$('a#four').click(function(){
			$('#okehampton').slideDown(500);
			$('#bideford').fadeOut(100);
			$('#bude').fadeOut(100);
			$('#holsworthy').fadeOut(100);
		});	
		
		$('.up').click(function(){
			$('#bideford').slideUp(500);
			$('#bude').slideUp(500);
			$('#holsworthy').slideUp(500);
			$('#okehampton').slideUp(500);
		});
		
		// END phone number widget in header
	
		// home page intro para
	
		$('.leadarticleTH p:first').addClass('intropara');
		
		// Smooth image scaling in IE7 (put here because does not validate)
		
		$('img').css({"-ms-interpolation-mode" : "bicubic"});
		
	});