//JO 01/20/04

function setSelects(fieldName, queryValue){
   	var fieldObj = document.forms[0].elements[fieldName];
   	for(i=0; i<fieldObj.length; i++){
   		if(fieldObj[i].value == queryValue){
   			fieldObj[i].selected = true;
   			break;
   		}
   	}
}

function showDetails(detailType, url, width, height)
{
	win_fav = window.open(url, detailType, 'Width=' + width + ', Height=' + height + ', Left=350, Top=0px, Location=no, Menubar=no, Scrollbars=yes, Status=no, Toolbar=no');
	win_fav.focus();
}

function choosePlan(){
	if(document.forms[1]){
		if(document.forms[1].plan_name){
			if(document.forms[1].plan_name[0]){
				document.forms[1].plan_name[0].checked = true;
				document.forms[1].submit.focus();
			}
		}
	}
}