function rh_js_PopWin(url,name,options){
  var ContextWindow = window.open(url,name,options);
  ContextWindow.focus();
  return false;
}
function validateEmail(email) {
	var illegalChars = /[\(\)\<\>\[\]\,\;\:\\\/\"\#]/;
	var emailFilter=/^.+@.+\..{2,3}$/;
	if( email.match(illegalChars)) { alert( 'Your e-mail address may not contain any of the following: ()<>[],;:\/#"'); return false; }
	if( email != "" && !emailFilter.test(email)) { alert("Your e-mail address must contain '@' and end in dot-something (e.g. 'myname@domain.com')"); return false; }
	return true;
}
function validateAddress(form) {
	if( form.stateProvince.options[ form.stateProvince.selectedIndex].value == '') {
		alert( "You must select a State/Province");
		return false;
	}
	var zipTest = form.zipPostalCode.value;
	//var zipFilterShort = /^[0-9]{5}$/
	var zipFilterShort = /^[ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d$/
	var zipFilterLong = /^[0-9]{5}\-[0-9]{4}$/
	if( !zipFilterShort.test(zipTest) && !zipFilterLong.test(zipTest)) {
		//alert( "Please use enter a 5 or 10-digit zip code (e.g. 01234-5678)");
		alert( "Please enter a valid postal code (e.g. A1A 1A1)");
		return false;
	}
	return true;
}

