// Begin XHTML adjustment
$(document).ready(function(){
	if (jQuery.browser.msie && jQuery.browser.version.substr(0, 2) == "6.") {
		$(".nof-clearfix").each(function (i) {
			$(this).append("<div style='clear:both'/>");
			$(this).removeClass("nof-clearfix");
		});
	}
	if (jQuery.browser.safari){
		$(".nof-lyr>br:first").each(function () {
			$(this).replaceWith("<div style='height:0px'>&nbsp;</div>");
		});
	}
});

// End XHTML adjustment

// Begin Navigation Bars
var ButtonsImageMapping = [];
ButtonsImageMapping["NavigationBar6"] = {
	"NavigationButton1" : { image: "./Home_Hbluebutton165x30_1.gif", rollover: "./Home_HRbluebutton165x30_1.gif", w: 165, h: 30 },
	"NavigationButton2" : { image: "./About_Arbours_Nbluebutton165x30_1.gif", rollover: "./About_Arbours_NRbluebutton165x30_1.gif", w: 165, h: 30, opening: "slideBottom", offsetX: 0, offsetY: 30 },
	"NavigationButton9" : { image: "./Public_Lecture_2012_Nbluebutton165x30.gif", rollover: "./Public_Lecture_2012_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton11" : { image: "./Previous_events_Nbluebutton165x30.gif", rollover: "./Previous_events_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton13" : { image: "./Employment_Nbluebutton165x30.gif", rollover: "./Employment_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton3" : { image: "./Residential_Communities_Nbluebutton165x30_1.gif", rollover: "./Residential_Communities_NRbluebutton165x30_1.gif", w: 165, h: 30 },
	"NavigationButton4" : { image: "./Psychotherapy_Service_Nbluebutton165x30_1.gif", rollover: "./Psychotherapy_Service_NRbluebutton165x30_1.gif", w: 165, h: 30, opening: "slideBottom", offsetX: 0, offsetY: 30 },
	"NavigationButton17" : { image: "./Reduced_fees_Nbluebutton165x30.gif", rollover: "./Reduced_fees_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton19" : { image: "./Find_a_therapist_Nbluebutton165x30.gif", rollover: "./Find_a_therapist_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton21" : { image: "./FAQs_Nbluebutton165x30.gif", rollover: "./FAQs_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton23" : { image: "./Useful_Links_Nbluebutton165x30.gif", rollover: "./Useful_Links_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton5" : { image: "./Psychotherapy_Training_Nbluebutton165x30_1.gif", rollover: "./Psychotherapy_Training_NRbluebutton165x30_1.gif", w: 165, h: 30, opening: "slideBottom", offsetX: 0, offsetY: 30 },
	"NavigationButton26" : { image: "./Training_Overview_Nbluebutton165x30.gif", rollover: "./Training_Overview_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton28" : { image: "./Associates_Nbluebutton165x30.gif", rollover: "./Associates_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton30" : { image: "./Foundation_Year_Nbluebutton165x30.gif", rollover: "./Foundation_Year_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton32" : { image: "./Full_programme_Nbluebutton165x30.gif", rollover: "./Full_programme_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton34" : { image: "./Teaching_Staff_Nbluebutton165x30.gif", rollover: "./Teaching_Staff_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton36" : { image: "./How_to_apply_Nbluebutton165x30.gif", rollover: "./How_to_apply_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton38" : { image: "./Fees___bursaries_Nbluebutton165x30.gif", rollover: "./Fees___bursaries_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton6" : { image: "./Contact_us_Nbluebutton165x30_1.gif", rollover: "./Contact_us_NRbluebutton165x30_1.gif", w: 165, h: 30, opening: "slideBottom", offsetX: 0, offsetY: 30 },
	"NavigationButton41" : { image: "./General_enquiries_Nbluebutton165x30.gif", rollover: "./General_enquiries_NRbluebutton165x30.gif", w: 165, h: 30 },
	"NavigationButton43" : { image: "./Help_Nbluebutton165x30.gif", rollover: "./Help_NRbluebutton165x30.gif", w: 165, h: 30 }
};

$(document).ready(function(){
	$.fn.nofNavBarOptions({ navBarId: "NavigationBar6", rollover: true, autoClose: true });
	$("#NavigationBar6").nofNavBar({isMain: true, orientation: "horizontal" });
	$("#NavigationBar6_1").nofNavBar({isMain: false, orientation: "vertical" });
	$("#NavigationBar6_2").nofNavBar({isMain: false, orientation: "vertical" });
	$("#NavigationBar6_3").nofNavBar({isMain: false, orientation: "vertical" });
	$("#NavigationBar6_4").nofNavBar({isMain: false, orientation: "vertical" });
	$("#NavigationBar6 ul").hide();
});


// End Navigation Bars


