xx=null
function op(x)
{
if(xx) {xx.location=x;xx.focus();xx.moveTo(200,200)}
else
{
xx=window.open(x)
}
}<a href=xxxxxx onclick="op(this.href);return false"
function op(x)
{
if(xx) {xx.location=x;xx.focus();xx.moveTo(200,200)}
else
{
xx=window.open(x)
}
}<a href=xxxxxx onclick="op(this.href);return false"
<a href='javascript:JAdd(4000)'">增加子类别</a>
<a href='javascript:JAdd(5000)'">增加子类别</a>
<a href='javascript:JAdd(6000)'">增加子类别</a>
<script language="JavaScript">
handle=null;
function JAdd(parent){
if(handle){
handle.focus();handle.moveTo(200,200)}
else{handle=window.open("addFunc.jspparent="+parent,"", "width=600,height=480,scrollbars=0,resizable=0")}
}
</script>