// JavaScript Document

function newWindow(url, _width, _height, par){
	
	if(par){
		p = "width=" + _width + ", height=" + _height + ", " + par;
		windowItem = window.open(url, "newWindow", p);
	}else{
		p = "width=" + _width + ", height=" + _height;
		windowItem = window.open(url, "newWindow", p);
	}
	windowItem.focus();
	windowItem.moveTo((screen.availWidth - _width)/2, (screen.availHeight - _height)/2);
}