// Following was moved from the navigation.cfm 	
	
	
// Javascript code to open and close a popup window.
// The open window is closed when the user clicks anywhere on the desktop.

// Set the name of the window to be opened to null so that the browser does not display an "undefined" error
var newWindow = null;

// Call from BODY tag of parent window's onUnload method. onUnload="flush(newWindow)"
function flush(winName) {
	if (winName != null && winName.open) {
		winName.close();
	}
}

// This function is called to open the new window
function winOpen(url,w,h) {
	newWindow = open(url,"popUp","scrollbars=yes,toolbar=yes,resizable,top=40,left=40,width=" 
				+ w + ",height=" + h);
}

//  SAMPLE SCRIPT CALL: <a href="javascript:winOpen('aaaa.htm','500','350')">Sample Link Text</a>

browserName = navigator.appName;
       browserVer = parseInt(navigator.appVersion);
               if (browserVer >= 3) version = "n3";
               else version = "n2";
               
               if (version == "n3") {
               dn_00on = new Image();
               dn_00on.src = "/images/m-btn-cu2-on.jpg";
               dn_01on = new Image();
               dn_01on.src = "/images/m-btn-sm2-on.jpg";

               dn_00off = new Image();
               dn_00off.src = "/images/m-btn-cu2-off.jpg";
               dn_01off = new Image();
               dn_01off.src = "/images/m-btn-sm2-off.jpg";
                }
       function img_act(imgName) {
               if (version == "n3") {
               imgOn = eval(imgName + "on.src");
               document [imgName].src = imgOn;
               }
       }
       function img_inact(imgName) {
               if (version == "n3") {
               imgOff = eval(imgName + "off.src");
               document [imgName].src = imgOff;
               }
       }