
//launch external windows
//used by flash as well
function launch_window(url,name,status,toolbar,resizable,scrollbars,location,widthW,heightW){
	var win;
	xpos = (screen.availWidth - widthW) / 2;
	ypos = (screen.availHeight - heightW) / 2;
	win = window.open(url,name,'status=' + status + ',toolbar=' + toolbar + ',resizable=' + resizable + ',scrollbars=' + scrollbars + ',location=' + location + ',left=' + xpos + ',top=' + ypos + ',width=' + widthW + ',height=' + heightW);
	win.focus();
}
