
function disp_text() {
	var selected_text = document.myform.mylist.value;
	document.myform.hosted_button_id.value=selected_text;
}


function validate(form) { 

	if(document.myform.os0.value=="" || document.myform.os1.value=="" ){
	alert("Please make sure you have entered an Account Name and Account Number"); 
	return false; 
	} 

	if(!document.myform.chkTerms.checked){
	alert("Please accept all relevant PayPal charges"); 
	return false; 
	} 

return true;
}

function popitup(url) {
	newwindow=window.open(url,'name','height=300,width=250');
	if (window.focus) {newwindow.focus()}
	return false;
}

