var ns = (navigator.appName.indexOf("Netscape")  >= 0);
var ie = (navigator.appName.indexOf("Microsoft") >= 0);
var vr = parseInt(navigator.appVersion);

function JumpURLinNewWindow(url,obj,width,height){

var top=((screen.height - height) / 2);
var left=((screen.width - width) / 2);

if (ns){
	var win;
	win=window.open(url,self,'Width='+width+','+'Height='+height+','+'dependent=yes,resizable=no,status=no,location=no,top='+top+',left='+left+',scrollbars=yes');
	win.focus();
	}
else if (ie){
	window.showModalDialog(url,obj,'dialogWidth='+width+'px;'+'dialogHeight='+height+'px;'+'resizable=no;toolbar=no;status=no;scrollbars=no;directories=no;menubar=no;dependent=yes');
	
	}
} 

if(!parent.dialogArguments){
parent.dialogArguments=top.opener;
}


function OnlyOpenWindowJump(url,obj,width,height,resizecommand){
	var top=((screen.height - height) / 2);
	var left=((screen.width - width) / 2);
	var win;
	win=window.open(url,obj,'Width='+width+','+'Height='+height+','+'dependent=yes,resizable='+resizecommand+',status=no,location=no,top='+top+',left='+left+',scrollbars=yes');
	win.focus();
}


  



