function EasySearchAbout() {
var agree=alert("Enter relevant words only.  You do not need to enter words like the, and or, etc. For most purposes you can use the menu to find what you need.");
if (agree)
return false ;
else
return false ;
}

function eMailPolicy() {
var agree=alert(" Submitting your email address will keep you informed about this artist's work. All email communications conform to opt-in/opt-out best practices. You can unsubscribe directly from any email or by clicking the unsubscribe button on this page.");
if (agree)
return false ;
else
return false ;
}

function unsubscribePolicy() {
var agree=confirm(" This will unsubscribe you to this artist.  Are you sure you wish to continue?");
if (agree)
return true ;
else
return false ;
}

function confirmation( message ) {
	var agree = confirm( message );
	if (agree) {
		return true;
	} else {
		return false;
	}
}

function locationUrl( urlloc ) {
	document.location = urlloc;
}

// return message if form element is required and blank or if elememt is not numeric
function checkNumeric( elemValue, OneOfAKind ) {
	if ( OneOfAKind = 0 ) {
		if ( elemValue.length > 0 ) {
			isAlphaNum = new RegExp ("[^0-9]");
			if ( isAlphaNum.test(elemValue)) {
				alert( "you must enter a number in the quantity field." );
			}
		} else {
			alert("you must enter a number in the Quantity field.");
		}
	} else {
		if ( elemValue.length > 0 ) {
			isAlphaNum = new RegExp ("[^0-1]");
			if ( isAlphaNum.test(elemValue)) {
				alert( "This is a one-of-a-kind item, you can only enter 1 or 0." );
			}
		} else {
			alert("This is a one-of-a-kind item, you can only enter 1 or 0.");
		}
	}
}

function PopUp(url, pheight, pwidth) {
	heightWidthText = 'height=' + pheight + ', ' + 'width=' + pwidth;
	window.open(url,"MyPopup", heightWidthText);
}
