	NS4 = (document.layers);
	IE4 = (document.all);
	ver4 = (NS4 || IE4);
	IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
	isMac = (navigator.appVersion.indexOf("Mac") != -1);
	IE45  = (IE4 && isMac && navigator.appVersion.indexOf("4.5")!=-1);
	isMenu = ver4;

if(NS4){
	document.write('<link rel="stylesheet" href="/library/styles/css/nn4.css" type="text/css">');
	} else{
	document.write('<link rel="stylesheet" href="/library/styles/css/ie.css" type="text/css">');
}

function launch(URL, newName, newFeatures, orgName) {
	var remote = open(URL, newName, newFeatures);
		if (remote.opener == null)
			remote.opener = window;
			remote.opener.name = orgName;
		return remote;
}

function openWindow(URL) {
	Popup = launch(URL, 'popup', 'dependent=0, height=450, width=450, screenX=200, left=200, screenY=200, top=200, channelmode=0, dependent=0, directories=0, fullscreen=0, location=0, menubar=0, resizable=0, scrollbars=1, status=0, toolbar=0', 'launcher');
}

function openSmWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
  return false;
}

