    $(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
        });
		

        $('div#today').html(formatDate(new Date(),'d MMM yyyy'));

		$('.devtopblock').appendTo('#top-quote');
		
		$('.buttons').appendTo('#container-right');
		
		$('.bonusoffice').appendTo('#container-right .office');
		
		$('.ddiLabel').html(' (Direct line)');
		
		var pgLoc=location.pathname;
			if (pgLoc.indexOf("/site/library/postscript/") != -1) {
				$(".anyClass").jCarouselLite({
					btnNext: ".next",
					btnPrev: ".prev"
				});
		
		$("a#caplink1").easyTooltip({
			useElement: "cap1"				   
		});
		
		$("a#caplink2").easyTooltip({
			useElement: "cap2"				   
		});
		
		$("a#caplink3").easyTooltip({
			useElement: "cap3"				   
		});
		
		$("a#caplink4").easyTooltip({
			useElement: "cap4"				   
		});
		
		$("a#caplink5").easyTooltip({
			useElement: "cap5"				   
		});
		
		$("a#caplink6").easyTooltip({
			useElement: "cap6"				   
		});
		
		$("a#caplink7").easyTooltip({
			useElement: "cap7"				   
		});
		
		$("a#caplink8").easyTooltip({
			useElement: "cap8"				   
		});
		
		$("a#caplink9").easyTooltip({
			useElement: "cap9"				   
		});
		
		}
		
    });


