Namespace.Register("WCL.Link"); WCL.Link.Walking = { LeaderAdviceClick : function() { WCL.AJAX.UpdateContentDiv(WCL.General.format("walking/leaderAdvice/{0}.html.php", "introduction"), true); WCL.General.SetTitle("New Leader Advice"); return false; }, LeaderAdviceMenuClick : function(pathType) { WCL.AJAX.UpdateRightContentDiv(WCL.General.format("walking/leaderAdvice/{0}_menu.html.php", pathType), true); WCL.General.SetTitle("New Leader Advice"); return false; }, WalkerAdviceClick : function() { WCL.AJAX.UpdateContentDiv(WCL.General.format("walking/walkerAdvice/{0}.html.php", "introduction"), true); WCL.General.SetTitle("New Walker Advice"); return false; }, WalkerAdviceMenuClick : function(pathType) { WCL.AJAX.UpdateRightContentDiv(WCL.General.format("walking/walkerAdvice/{0}_menu.html.php", pathType), true); WCL.General.SetTitle("New Walker Advice"); return false; }, LocationsClick: function() { WCL.AJAX.UpdateContentDiv("walking/locations.html.php", true); WCL.General.SetTitle("Locations & Walks"); return false; }, WalksClick: function() { WCL.AJAX.UpdateContentDiv("walking/walks.html.php", true); WCL.General.SetTitle("Walks"); return false; } }