// 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["NavigationBar1"] = {
	"NavigationButton1" : { image: "./Home_Hp_Highlighted.jpg", rollover: "./Home_HRp_HighlightedOver.jpg", w: 113, h: 99 },
	"NavigationButton2" : { image: "./Service_Np_Regular.jpg", rollover: "./Service_NRp_RegularOver.jpg", w: 113, h: 99, opening: "bottom", offsetX: 0, offsetY: 99 },
	"NavigationButton6" : { image: "./Appointments_Ns_Regular.jpg", rollover: "./Appointments_NRs_RegularOver.jpg", w: 113, h: 38 },
	"NavigationButton7" : { image: "./Your-Car-Care_Ns_Regular.jpg", rollover: "./Your-Car-Care_NRs_RegularOver.jpg", w: 113, h: 38 },
	"NavigationButton8" : { image: "./Auto-Library_Ns_Regular.jpg", rollover: "./Auto-Library_NRs_RegularOver.jpg", w: 113, h: 38 },
	"NavigationButton3" : { image: "./Sales_Np_Regular.jpg", rollover: "./Sales_NRp_RegularOver.jpg", w: 113, h: 99 },
	"NavigationButton4" : { image: "./Contacts_Np_Regular.jpg", rollover: "./Contacts_NRp_RegularOver.jpg", w: 113, h: 99, opening: "bottom", offsetX: 0, offsetY: 99 },
	"NavigationButton9" : { image: "./Location_Ns_Regular.jpg", rollover: "./Location_NRs_RegularOver.jpg", w: 113, h: 38 },
	"NavigationButton5" : { image: "./About_Np_Regular.jpg", rollover: "./About_NRp_RegularOver.jpg", w: 113, h: 99, opening: "bottom", offsetX: 0, offsetY: 99 },
	"NavigationButton10" : { image: "./Testimonials_Ns_Regular.jpg", rollover: "./Testimonials_NRs_RegularOver.jpg", w: 113, h: 38 }
};

$(document).ready(function(){
	$.fn.nofNavBarOptions({ navBarId: "NavigationBar1", rollover: true, autoClose: true });
	$("#NavigationBar1").nofNavBar({isMain: true, orientation: "horizontal" });
	$("#NavigationBar1_1").nofNavBar({isMain: false, orientation: "vertical", opening: "bottom", offsetX: 0, offsetY: 38 });
	$("#NavigationBar1_2").nofNavBar({isMain: false, orientation: "vertical", opening: "bottom", offsetX: 0, offsetY: 38 });
	$("#NavigationBar1_3").nofNavBar({isMain: false, orientation: "vertical", opening: "bottom", offsetX: 0, offsetY: 38 });
	$("#NavigationBar1 ul").hide();
});


// End Navigation Bars


