Namespace.Register("WCL.Link"); WCL.Link.Home = { AboutUsClick: function() { WCL.AJAX.UpdateContentDiv("home/aboutUs.html.php", true); WCL.General.SetTitle("About Us"); return false; }, AimsOfTheSocietyClick: function() { WCL.AJAX.UpdateContentDiv("home/aimsOfTheSociety.html.php", true); WCL.General.SetTitle("Aims Of The Society"); return false; }, HistoryClick: function() { WCL.AJAX.UpdateContentDiv("home/history.html.php", true); WCL.General.SetTitle("History Of The Society"); return false; }, DArcyDaltonWayClick: function() { WCL.AJAX.UpdateContentDiv("home/dArcyDaltonWay.html.php", true); WCL.General.SetTitle("The d'Arcy Dalton Way"); return false; }, DArcyDaltonWayLargeClick: function() { WCL.AJAX.UpdateContentDiv("home/dArcyDaltonWayLarge.html.php", true); WCL.General.SetTitle("The d'Arcy Dalton Way"); return false; }, NewslettersClick: function() { WCL.AJAX.UpdateContentDiv("home/newsletters.html.php", true); WCL.General.SetTitle("Newsletters"); return false; }, NewsletterClick: function(year, month) { WCL.AJAX.UpdateContentDiv(WCL.General.format("home/newsletters/{0}{1}/article_{2}.html.php", year, month, "01"), true); WCL.General.SetTitle(WCL.General.format("{0} Newsletter", year, month)); return false; }, NewsletterMenuClick: function(year, month, article) { WCL.AJAX.UpdateRightContentDiv(WCL.General.format("home/newsletters/{0}{1}/article_{2}_menu.html.php", year, month, article), true); WCL.General.SetTitle(WCL.General.format("{0} Newsletter", year, month)); return false; }, SocietyInformationClick: function() { WCL.AJAX.UpdateContentDiv(WCL.General.format("home/societyInformation/{0}.html.php", "membership"), true); WCL.General.SetTitle("Information About The Society"); return false; }, SocietyInformationMenuClick: function(infoType) { WCL.AJAX.UpdateRightContentDiv(WCL.General.format("home/societyInformation/{0}_menu.html.php", infoType), true); WCL.General.SetTitle("Information About The Society"); return false; } }