//Declare the varibale name outside the function so it is global. var productcontent;function InitPage(){	productcontent = new Spry.Widget.TabbedPanels("productcontent");	Spry.Utils.addEventListener("showoverview", "click", function(){productcontent.showPanel(0);}, false);	Spry.Utils.addEventListener("showreview", "click", function(){productcontent.showPanel(1);}, false);}Spry.Utils.addLoadListener(InitPage);