实现菜单左拉,function switchSysBar()功能的实现,出错,求救!代码如下:function switchSysBar(){
var obj=document.getElementById("switchPoint");
if(obj.alt=="关闭左栏"){obj.alt="打开左栏";obj.src="AdminDefaultTheme/Images/butOpen.gif";document.getElementById("frmTitle").style.display="none";var width,height;width=document.body.clientWidth-12;height=document.body.clientHeight-70;document.getElementById("main_right").style.height=height;document.getElementById("main_right").style.width=width;document.getElementById("FrameTabs").style.width=width;if(CheckFramesScroll){CheckFramesScroll();}}else{obj.alt="关闭左栏";obj.src="AdminDefaultTheme/Images/butClose.gif";document.getElementById("frmTitle").style.display="";onload();};CreateSideBarCookie();};var tID="ChannelMenu_MenuMyDeskTop";
当左栏关闭后,再打开的时候,弹出“stack overfloow at line : 18”错误,怎么回事呢?