Below is an example that will get you started ... it spawns the new window,
but includes a toolbar.
//JavaScript that opens a hyperlink in a new browser window.
StringBuilder sb = new StringBuilder();
sb.Append("<script language=\"javascript\">" + Environment.NewLine);
sb.Append("<!--"+ Environment.NewLine);
sb.Append("function popup(mylink, windowname)"+ Environment.NewLine);
sb.Append("{"+ Environment.NewLine);
sb.Append("if (! window.focus)return true;"+ Environment.NewLine);
sb.Append("var href;"+ Environment.NewLine);
sb.Append("if (typeof(mylink) == 'string')"+ Environment.NewLine);
sb.Append("href=mylink;"+ Environment.NewLine);
sb.Append("else"+ Environment.NewLine);
sb.Append("href=mylink.href;"+ Environment.NewLine);
sb.Append("window.open(href,
windowname,'width=700,height=400,scrollbars=yes,status=yes,menubar=yes,locat
ion=yes,toolbar=yes');"+ Environment.NewLine);
sb.Append("return false;"+ Environment.NewLine);
sb.Append("}"+ Environment.NewLine);
sb.Append("//-->"+ Environment.NewLine);
sb.Append("</script>"+ Environment.NewLine);
LiteralControl lc = new LiteralControl(sb.ToString());
this.Controls.Add(lc);
hth, mark
www.dovetaildatabases.com