function radio_button_check(bob) {
	var radio_choice = false;
	
	for (counter = 0; counter < document.SigninRedirectForm.SigninGoto.length; counter++) {
		if (document.SigninRedirectForm.SigninGoto[counter].checked)
			radio_choice = true; 
	}
	
	if (!radio_choice) {
		alert("Please select a service.");
	} else {
		document.SigninRedirectForm.buttonClicked.value = bob;
		document.SigninRedirectForm.submit();
	}
}
	
function glossaryWindow(adr,name) {
	var NS4 = (document.layers) ? true : false;
	// var NS6 = (!document.layers) && (navigator.userAgent.indexOf('Netscape')!=-1) ? true : false;
	var NS6 = (document.getElementByID) ? true : false;
	var IE4plus = (document.all) ? true : false;

	var topPosition;
	var leftPosition;
	var PageHeight;
			
	if (NS4 || NS6){   
		PageHeight = window.innerHeight;     

		if (PageHeight < 500){
			topPosition = 161;
			leftPosition = 35;
		} else if (PageHeight < 620){ 
			topPosition = 161;
			leftPosition = 35;
		} else {
			topPosition = 161;
			leftPosition = 35;
		}   
		window.open(adr, name, 'height=250,width=372,screenY='+topPosition+',screenX='+leftPosition+',scrollbars=yes,resizable=yes');
	} else {
		PageHeight = screen.availHeight; 
		
		if (PageHeight < 600){
			topPosition = 161;
			leftPosition = 35;
		} else if (PageHeight < 800){ 
			topPosition = 161;
			leftPosition = 35;
		} else {
			topPosition = 161;
			leftPosition = 35;
		}   
		window.open(adr, name, 'height=250,width=372,top='+topPosition+',left='+leftPosition+',scrollbars=yes,resizable=yes');
	}
}

function mvc_PopUp(adr,name,win_width,win_height){
	var topPosition = 161;
	var leftPosition = 35;
	window.open(adr, name, 'height=' + win_height + ',width=' + win_width
	 +',screenY=' + topPosition + ',screenX=' + leftPosition + ',scrollbars=yes,resizable=yes');
}