/* WSGC Copyright */
dojo.provide("themepages");if(!dojo._hasResource["wsgc.js.ThemeUtils"]){dojo._hasResource["wsgc.js.ThemeUtils"]=true;dojo.provide("wsgc.js.ThemeUtils");dojo.declare("wsgc.js.ThemeUtils",null,{constructor:function(){this._landingHeroController();},currentThemeTab:"",_landingHeroController:function(){if(dojo.query("#theme-landing #secondary-nav").length>0){var _1=dojo.query("#secondary-nav ul li img");this.currentThemeTab=_1[0];_1.forEach(dojo.hitch(this,function(_2){dojo.connect(_2,"onclick",this,"handleTabClick");}));this.themeTabActions(this.currentThemeTab);}},handleTabClick:function(_3){dojo.stopEvent(_3);this.themeTabActions(_3.currentTarget);},themeTabActions:function(_4){this.currentThemeTab.src=this.currentThemeTab.src.replace("_on","_off");var _5=dojo.query("#"+this.currentThemeTab.className);_5[0].className="hidden";this.currentThemeTab=_4;this.currentThemeTab.src=this.currentThemeTab.src.replace("_off","_on");var _6=_4.className;var _5=dojo.query("#"+this.currentThemeTab.className);_5[0].className="content";}});}
