well, I messed around for a minute and I came up with this. you'll need a lilttle more calc's to really obtain the right sizes but it seemes to go in the right direction
<html>
<head>
<%
dim winwidth, winheight
'the below would be the RS's
session("width"

= "This is some content that would coem from the DB, you would just add the record set here"
session("height"

= "And the height here"
winwidth = Len(session("width"

)
winheight = Len(session("height"

)
%>
<script language="javascript">
function openwin() {
var wth = "<%= winwidth %>"*1
var ht = "<%= winheight %>"*1
winpops=window.open("show.asp","","width=+wth+,height=+ht+,toolbar"

}
</script>
</head>
<body>
<%
response.write "test" & "<br>"
response.write session("width"

& "<br>"
response.write session("height"

& "<br>"
response.write winwidth & " " & winheight
%>
<a href="javascript

penwin()">Click here to see the content</a>
</body>
</html>
am I close
![[lol] [lol] [lol]](/data/assets/smilies/lol.gif)
Was it something I said?
admin@onpntwebdesigns.com