// JavaScript Document
function pwin(d,w,h,s,p,n) {
// Position Window (popup)
// d = destination URL
// w = window width, h= window height
// s = scrollbars, p = position 
// 1 = top left, 2 = top right, 3 = bottom left, 4 = bottom right, 0 = center
// n = window name (optional)
if (n) {
WinName = n;
}
else {
WinName = "popup";
}
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 {
tx = (screen.width - w) / 2;
ty = (screen.height - h) / 2;
}
	 nWindow = window.open(d,WinName,"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){
// drop down launch list
// fm = form name that contains the dd
// dropdown name must be quicklink
// URLs beginning with http:// will open in a new window
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 later() {
// inactive link dialogue
alert('Coming Soon!');
}
