
function printWindow(){
	alert('If the print window does not appear automatically, click File -> Print to print this page.');
	window.print();	
}

function checkAddressList() {
	alert('Hello!');	
}

function valbutton(thisform) {
// place any other field validations that you require here
// validate myradiobuttons
myOption = -1;
for (i=thisform.sh_selected.length-1; i > -1; i--) {
if (thisform.sh_selected[i].checked) {
myOption = i; i = -1;
}
}
if (myOption == -1) {
alert("You must select an address to continue.");
return false;
}


// place any other field validations that you require here
thisform.submit(); // this line submits the form after validation
}