/*
* 	open a link in a new window, replaces a standard hyperlink with target=_blank
*	url = file name to open
*	onwtp = distance from top of screen in pixels
*	onlwp = distance from left of screen in pixels
*	onwwd = width of window in pixels
*	onwht = height of window in pixes
*	onwsb = scrollbars 1 for true 0 for false
*	onwrs = resizable, yes or no
*/
function openNewWindow(url,onwtp,onwlp,onwwd,onwht,onwsb,onwrs) {
 onwlp = (screen.availWidth - 780) / 2;
 newWind = window.open(url, "subWindow", 'top='+onwtp+',left='+onwlp+',width='+onwwd+',height='+onwht+',scrollbars='+onwsb+',resizable='+onwrs)
 newWind.focus()
}
