// JavaScript Document
function showDiv(obj,num,len,table,c1,c2){
	//obj----切换的标签名
	//num----当前标签ID值
	//len----一共有多少标签
	//table----需要显示隐藏的表格名
	//c1----显示鼠标选中时的样式
	//c2----显示鼠标未选中时的样式
	
	for(id=0;id<=len;id++){
	 ss=obj+id;
	 ta=table+id;
	
	if(id==num){
	document.getElementById(ta).style.display="block";
	document.getElementById(ss).className=c1;
	}else
	{
		document.getElementById(ta).style.display="none";
		document.getElementById(ss).className=c2;
		}
	}
	
}



var win= null;
function OpenNewWindow(mypage,w,h,myname){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
settings='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,toolbar=no,location=yes,status=no,menubar=no,resizable=no,dependent=no'
win=window.open(mypage,myname,settings)
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

