//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Description: This javaScript is to open new window with name & parameters.
//  Programmer: hat
// Function(s): launchPopup(url, winName, winParams);	//pass three variables (min. URL variable)
//   Tested on: IE6.0
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
		function launchPopup(url, winName, winParams) {
			//call reLocateWin.js if resize needed
			//var s = (screen.width < 1024) ? ',width=800,height=600' : ',width=1024,height=768';
			window.onerror = getlaunchPopupEH;
			if(winName == '_top') {
				top.location.href = url; return;
			} else if(winName == '_blank') {
				blank.location.href = url; return;
			} else if (winName == null || winName == '') {
				winName = 'untitled';
			}
			if (winParams == null || winParams == '') {
				winParams = 'toolbar=no,status=no,scrollbars=yes,location=no,menubar=no,directories=no,resizable=no,width=800,height=600';
			}
			var popupWin = window.open(url, winName, winParams);
			popupWin.focus();
		}
		function getlaunchPopupEH() {
			//alert("Error: launchPopup Javascript");
			return true;
		}
