<!-- Begin

var mwndSecondBrowser;	

	function isEmpty(str) {
		return ((str == null) || (str.length == 0))
	}

	function openSecondWindow(vstrURL){
	
		mwndSecondBrowser = window.open(vstrURL, 'winPopup', 'channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=1', 'MyWin');
		
		if(mwndSecondBrowser){
			mwndSecondBrowser.focus();
		}
	
	}
	
	function setOptionSelected(prmddl, prmsz) {
	// Cycles through the options of the passed in control, which
	// should be a list- or combo-box, searching for a match to the
	// passed in value.  When it finds a match, it marks it as
	// selected.
	//
		if (isEmpty(prmsz)) {
			prmddl.options[0].selected = true
			
			for (var j=1; j< prmddl.options.length ; j++) {
				prmddl.options[j].selected = false
			}
			
		}
		else {
		
			for (var j=0; j< prmddl.options.length ; j++) {
			
				if (prmddl.options[j].value == prmsz) {
					prmddl.options[j].selected = true
				}
				else {
					prmddl.options[j].selected = false
				}
				
			}
			
		}
		
	}	

//  End -->