﻿function openWin(url,name,width,height) {

	var left = (screen.width - width) / 2;
	var top = (screen.height - height) / 2;
	var features = "width=" + width + ", height=" + height + ", top=" + top + ", left=" + left + ", toolbars=no, location=no, status=no, scrollbars=no, titlebar=no, resizable=no, directories=no, menubar=no";
	var myWindow = window.open(url, name, features);
		myWindow.focus();	
}   // JScript File

