$(document).ready(function(){
				
	$("#search").inputLabel(false,{color:"#FFF"});
			
	$("#mn-nv").superfish({autoArrows: false});
	    	
	$("#ct-lt ul li:last-child").css({'border-bottom': 'none'});
	
	$("#latest-news ul li:last-child").css({'border-bottom': 'none'});
	
	$("#useful-articles ul li:last-child").css({'border-bottom': 'none'});
	
	$("ul.downloads li:last-child").css({'border-bottom': 'none'});
	    	
    $('#bookings-enquiries').tabs({ collapsible: true, selected: -1, fx: { height: 'toggle', duration: 'fast' } }); 
    		
	$("a[href='#clear_all']").click( function() {$('.bookings-enquiries-form form').clearForm()});
				
	$("#ct-lt > ul > li.current-pg-gp > a").find("+ ul").slideDown(1);

	$("#ct-lt > ul > li > a").click(function() {$(this).find("+ ul").slideToggle("fast");return false;});

	//$("#ct-lt > div > ul > li > a").click(function() {$(this).find("+ ul").slideToggle("fast");return false;});
	
	//$(".qualifications li:odd").addClass('alt');
	
	$(".team-profiles li:odd").addClass('alt');
	
	$(".services li:odd").addClass('alt');
	
	//$(".faqs li:odd").addClass('alt');
	
	$("ul.faqs > li > h4").click(function() {$(this).find("+ div").slideToggle("fast");return false;});
	
	$('#tp-sch #btn input').hover(
        function(){
            $(this).attr({ src : '/img/tp-sch-btn-over.png'});
        },
        function(){
            $(this).attr({ src : '/img/tp-sch-btn.png'});             }
    );
    
    $('input[src="/img/submit.png"]').hover(
        function(){
            $(this).attr({ src : '/img/submit-over.png'});
        },
        function(){
            $(this).attr({ src : '/img/submit.png'});             }
    );

    $('a img[src="/img/next.png"]').hover(
        function(){
            $(this).attr({ src : '/img/next-hover.png'});
        },
        function(){
            $(this).attr({ src : '/img/next.png'});             }
    );

   $('a img[src="/img/previous.png"]').hover(
        function(){
            $(this).attr({ src : '/img/previous-hover.png'});
        },
        function(){
            $(this).attr({ src : '/img/previous.png'});             }
    );

   $('a img[src="/img/submit.png"]').hover(
        function(){
            $(this).attr({ src : '/img/submit-over.png'});
        },
        function(){
            $(this).attr({ src : '/img/submit.png'});             }
    );






$('.send_btn').hover(function(){
	$(this).css('background-position', '20 20');
});










				
				/*//Hides Images
				var ObjTmp = null;
				var Pos = null;

				$(".Loader").each(function(IntIndex){
					if(!this.complete){
						ObjTmp = $('<div id="PageLoader'+IntIndex+'><div>');
						ObjTmp.css('position', 'absolute').css('left',$(this).offset().left).css('top',$(this).offset().top).css('width', $(this).width()).css('height', $(this).height()).css('background-image', 'url(/img/spinner.gif)').css('background-repeat', 'no-repeat').css('background-position', 'center').css('background-color','white');
						ObjTmp.appendTo($('body'));
						$(this).css('display', 'hidden').css('z-index', -2000);
						$(this).attr('LoadID', IntIndex);
					}
				});

				//Displays Images
				$(".Loader").load(function(ImgObj){
					$('#PageLoader' + $(this).attr('LoadID')).fadeOut();
					$('#PageLoader' + $(this).attr('LoadID')).css('z-index', '-500');
					$(this).css('z-index', 10);
					$(this).fadeIn();				
				});*/





});
