
function openWin(thePage, w, h, txt) {

var MSIE3 =(navigator.appVersion.indexOf("MSIE 3") != -1) ? true : false
var MSIE =(navigator.appVersion.indexOf("MSIE") != -1) ? true : false
var IsMAC = (navigator.appVersion.indexOf("Mac") != -1) ? true : false
var NAV = (navigator.appName == "Netscape") ? true: false
var NAV2 = NAV && (navigator.appVersion.charAt(0) == "2" )
var SC = null
var win = null
var setWin = !(MSIE3 || NAV2)
 

if  (setWin) {
	if (!NAV) {SC = "0,"}
    else {SC = (txt == "Vertical") ? "1," : "0,"}
	args = "\"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars="
	 + SC + "resizable=1,copyhistory=0,width=" + w + ",height=" + h + "\""
	if (!MSIE) {
		win = window.open(thePage, txt, args)
		if (win) {win.focus()}
    } 
	else { 
		if (!IsMAC && win ) {
			win.close()
		}
		win = window.open(thePage, "IE", args)
    	if ( win ) {
			win.focus()
		}       
   }
}}

function showMsg (txt) {
    window.status = txt
    return true;
}

function setpage () {

var isMac = (navigator.appVersion.indexOf("Mac") != -1)
var MSIE3 = (navigator.appVersion.indexOf("MSIE 3") != -1)
var isNav2 = (navigator.appVersion.charAt(0) == "2")
var nonJava = isMac
if (!MSIE3)  {
	if (!isMac) {
 		if (!isNav2) {nonJava = !navigator.javaEnabled()}
	}
}

if (isMac || nonJava || isNav2 || MSIE3 ) {top.location.href = "index2_nPC.html"}
else {top.location.href = "index2_PC.html"}



}