<!-- 
var layerTop=0; //菜单顶边距 
var layerLeft=0; //菜单左边距 
var layerWidth=240; //菜单总宽 
var titleHeight=42; //标题栏高度 
var contentHeight=60; //内容区高度 
var stepNo=10; //移动步数，数值越大移动越慢 

var itemNo=0;runtimes=0; 
document.write('<span id=itemsLayer style="position:relative;overflow:hidden;left:'+layerLeft+';top:'+layerTop+';width:'+layerWidth+';">'); 

function addItem(itemTitle,itemContent){ 
itemHTML='<div id=item'+itemNo+' itemIndex='+itemNo+' style="position:relative;left:0;top:'+(-contentHeight*itemNo)+';width:'+layerWidth+';"><table width=100% cellspacing="0" cellpadding="0">'+ 
'<tr><td height='+titleHeight+' onclick=changeItem('+itemNo+') class="titleStyle" align=center>'+itemTitle+'</td></tr>'+ 
'<tr><td height='+contentHeight+' class="contentStyle">'+itemContent+'</td></tr></table></div>'; 
document.write(itemHTML); 
itemNo++; 
} 
	function logMonitor(){
	var NewUrl="../monitor/login.asp"
	newwindow=window.open("","","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0");
	if (document.all)
	{
		newwindow.moveTo(0,0);
		newwindow.resizeTo(screen.availWidth,screen.availHeight);
	}
	newwindow.document.title=""
	newwindow.location=NewUrl;
	}

function popWin(target,p){
	if(p=="v"){newwindow=window.open("","","toolbar=no,location=no,top=10,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=400");}
	if(p=="i"){newwindow=window.open("","","toolbar=no,location=no,top=10,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=1024,height=768");}
	if(p=="l"){newwindow=window.open("","","toolbar=no,location=no,top=10,directories=no,status=no,scrollbars=yes,menubar=no,resizable=yes,width=1024,height=768");}
	if (document.all)
	{
	newwindow.moveTo(0,0);
	if(p=="i"||p=="l"){newwindow.resizeTo(screen.availWidth,screen.availHeight);}
	newwindow.location=target;
	}
}
//--> 
