var pop1
function popup1(which,winname,xw,yh) {
if (!pop1 || pop1.closed) {
if (navigator.appVersion.charAt(0) == "3") {
xStr ="width=" + xw + ",height=" + yh + ",scrollbars=0, directories=no, status=no, resizable=1, toolbar=0, location=0, status=0, menubar=0"
} else {
xStr = "left=" + eval((screen.width/2) - (xw/2)) + ",top=" + eval((screen.height/2) - (yh/2)) + ",width=" + xw + ",height=" + yh + ",scrollbars=0, resizable=1, toolbar=0, location=0, status=0, menubar=0"
}
pop1 = window.open(which,winname,xStr)
} else {
pop1.location = which
pop1.focus();
}
}

var pop2
function popup2(which,winname,xw,yh,resizable) {
if (!pop2 || pop2.closed) {
if (navigator.appVersion.charAt(0) == "3") {
xStr ="width=" + xw + ",height=" + yh + ",scrollbars=0, directories=no, status=no, resizable=" + resizable + ", toolbar=0, location=0, status=0, menubar=0"
} else {
xStr = "left=" + eval((screen.width/2) - (xw/2)) + ",top=" + eval((screen.height/2) - (yh/2)) + ",width=" + xw + ",height=" + yh + ",scrollbars=0, resizable=" + resizable + ", toolbar=0, location=0, status=0, menubar=0"
}
pop2 = window.open(which,winname,xStr)
} else {
pop2.location = which
pop2.focus();
}
}

var pop3
function popup3(which,winname,xw,yh,resizable,scrollbars) {
if (!pop3 || pop3.closed) {
if (navigator.appVersion.charAt(0) == "3") {
xStr ="width=" + xw + ",height=" + yh + ",scrollbars=" + scrollbars + ", directories=no, status=no, resizable=" + resizable + ", toolbar=0, location=0, status=0, menubar=0"
} else {
xStr = "left=" + eval((screen.width/2) - (xw/2)) + ",top=" + eval((screen.height/2) - (yh/2)) + ",width=" + xw + ",height=" + yh + ",scrollbars=" + scrollbars + ", resizable=" + resizable + ", toolbar=0, location=0, status=0, menubar=0"
}
pop3 = window.open(which,winname,xStr)
} else {
pop3.location = which
pop3.focus();
}
}

var pop4
function popup4(which,winname,xw,yh,resizable,scrollbars,status) {
if (!pop4 || pop4.closed) {
if (navigator.appVersion.charAt(0) == "3") {
xStr ="width=" + xw + ",height=" + yh + ",scrollbars=" + scrollbars + ", directories=no, resizable=" + resizable + ", toolbar=0, location=0, status=" + status + ", menubar=0"
} else {
xStr = "left=" + eval((screen.width/2) - (xw/2)) + ",top=" + eval((screen.height/2) - (yh/2)) + ",width=" + xw + ",height=" + yh + ",scrollbars=" + scrollbars + ", resizable=" + resizable + ", toolbar=0, location=0, status=" + status + ", menubar=0"
}
pop4 = window.open(which,winname,xStr)
} else {
pop4.location = which
pop4.focus();
}
}

var pop5
function popup5(which,winname,xw,yh) {
if (!pop5 || pop5.closed) {
if (navigator.appVersion.charAt(0) == "3") {
xStr ="width=" + xw + ",height=" + yh + ",scrollbars=1, directories=1, resizable=1, toolbar=1, location=1, status=1, menubar=1"
} else {
xStr = "left=" + eval((screen.width/2) - (xw/2)) + ",top=" + eval((screen.height/2) - (yh/2)) + ",width=" + xw + ",height=" + yh + ",scrollbars=1, resizable=1, toolbar=1, location=1, status=1, menubar=1"
}
pop5 = window.open(which,winname,xStr)
} else {
pop5.location = which
pop5.focus();
}
}