Doesn't center the popup, but does what I need (primarily) to do. See jsfiddle http://jsfiddle.net/77buX/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>test</title>
</head>
<body>
<script type="text/javascript">
var UG1 = function getUG1() {
if (document.form1.select1.options[document.form1.select1.selectedIndex].value != "none") {
var location = document.form1.select1.options[document.form1.select1.selectedIndex].value;
window.open(location)
}
}
var UG2 = function getUG2() {
if (document.form2.select2.options[document.form2.select2.selectedIndex].value != "none") {
var location = document.form2.select2.options[document.form2.select2.selectedIndex].value;
window.open(location)
}
}
</script>
<form action="" name="form1">
<p class="clear">
<select name="select1" style="width: 10.5em">
<option selected="selected" value="#">Select a user guide</option>
<option value="http://manuals.info.apple.com/en_US/ipad_user_guide.pdf">ipad user guide</option>
<option value="http://manuals.info.apple.com/en_US/iphone_user_guide.pdf">iphone user guide</option>
</select>
<input onclick="getUG1()" type="button" value="Get PDF" />
</p>
</form>
<br />
<br />
<form action="" name="form2">
<p class="clear">
<select name="select2" style="width: 10.5em">
<option selected="selected" value="#">Select a user guide</option>
<option value="http://docs.blackberry.com/en/smartphone_users/deliverables/1202/userguide_bb8330_cdma.pdf">blackberry 8330 user guide</option>
<option value="http://cb.vu/unixtoolbox.pdf">unix toolbox</option>
</select>
<input onclick="getUG2()" type="button" value="Get PDF" />
</p>
</form>
</body>
</html>