$(function() { bindExpandButtonEvent(); initLightBox(); }); function bindExpandButtonEvent() { $("span.expandButton").click(function() { $(this).toggleClass("expandButton_Max"); $(this).parent().next().slideToggle("slow"); }); } function initLightBox() { $.Lightbox.construct({ show_linkback: false, opacity: 0.5, text: { about: { title: "", text: "", link: "" }, help: { close: "", interact: ""}} }); $("a[rel=lightbox]").lightbox(); } function loadSiteLogo() { var B = String.format("{0}Flashes/logo.swf", _rootUrl); var A = String.format("{0}Flashes/expressInstall.swf", _rootUrl); swfobject.embedSWF(B, "siteLogoBox", "450", "160px", "9.0.0", A, {}, { wmode: "transparent" }, { id: "siteLogoBox", name: "siteLogoBox" }); } function loadClock() { var B = String.format("{0}Flashes/clock.swf", _rootUrl); var A = String.format("{0}Flashes/expressInstall.swf", _rootUrl); swfobject.embedSWF(B, "clockBox", "100", "100px", "9.0.0", A, {}, { wmode: "transparent" }, { id: "clockBox", name: "clockBox" }); } if (typeof (Sys) !== "undefined") { Sys.Application.notifyScriptLoaded(); }