
function pwin(d,w,h,s,p,n) {
// p position, s = scrollbars
// 1 = top left, 2 = top right, 3 = bottom left, 4 = bottom right, 0 = center

if (p == 1) {
tx = 10; 
ty = 10;
}
else
if (p == 2) {
tx = (screen.width - (w+10));
ty = 0;
}
else
if (p == 3) {
tx = 10;
ty = (screen.height - (h+65));
}
else
if (p == 4) {
tx = tx = (screen.width - (w+10));
ty = (screen.height - (h+65));
}
else
if (p == 5) {
tx = 10;
ty = (screen.height - h) / 2;
w = (screen.width - 30);
}
else {
tx = (screen.width - w) / 2;
ty = (screen.height - h) / 2;
}
if (n) {
wname = n;
}
else {
wname = "popup";
}
	 nWindow = window.open(d,wname,"width="+w+",height="+h+",top="+ty+",left="+tx+",titlebar=0,resizable=1,status=0,menubar=0,scrollbars="+s+",fullscreen=0");
	 nWindow.focus() 
}
function go(fm){
var menObj=fm.quicklink;
if (menObj.options[menObj.selectedIndex].value != "")
{
var dest = menObj.options[menObj.selectedIndex].value;
var dtest = /^http\:/i;
var result = dest.match(dtest)
if (result != null)
{
Newwindow = window.open(); Newwindow.location = dest;
}
else
{ window.location = dest; }
}
}

function confirmit() {
if (confirm(""))
{
document.location="default.html"
}

}

