<!--

window.defaultStatus = "";

function newWindow(url, name, w, h, scrollbars, menubar, toolbar, location, status) {
	if(screen.height==480) {
	  s = 1;
	}
	else if(scrollbars==null) {
		s = 0;
	}
	else {
		s = scrollbars;
	}

	if(menubar==null) {
		menubar = 0;
	}
	if(toolbar==null) {
		toolbar = 0;
	}
	if(location==null) {
		location = 0;
	}
	if(status==null) {
		status = 0;
	}

	if(w==-1) {
  	w = screen.availWidth-10;
	}
	
	if(h==-1) {
	  h = screen.availHeight-20;
	}

	l = (screen.width - w)/2 - 5;
	t = (screen.height - h)/2 - 50;
	
	t -= (menubar + toolbar + location + status) * 10;

	window.open(url, name, "width="+w+",height="+h+",left="+l+",top="+t+",screenX="+l+",screenY="+t+",resizable=1,scrollbars="+s+",menubar="+menubar+",toolbar="+toolbar+",location="+location+",status="+status);
	return false;
}

//-->