// JavaScript Document
// Rollover images
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// Added by jpak 7/1/2004 to track ups packages
function ups_track ()
{
document.ups_track_form.submit() ;
}

// Added by jpak 7/6/2004 to view the Visconti vacuum filler popup
function VI_popup(page) {
OpenWin = this.open(page, "CtrlWindow", "screenX=0,screenY=0,top=0,left=0,toolbar=no,menubar=no,location=no,scrollbars=no,resize=no,width=580,height=420");
}

// Added by jpak 7/17/2004 to view JOON popups
function JOON_popup(page) {
OpenWin = window.open(page, "CtrlWindow", "screenX=0,screenY=0,top=0,left=0,toolbar=no,menubar=no,location=no,scrollbars=no,resize=no,width=580,height=420");
}


// Product and font style functions
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function View_FontStyle(r, r2) {
    forms=document.forms[r]; 
    MyForm.engravefontid.value = forms.engravefontid[forms.engravefontid.selectedIndex].value;
    MyForm.product.value = r2; 
    if (forms.engravefontid.selectedIndex == 0) {
    		alert("Please select an engraving style.");
    }
    else {	
    	
	    window.open('view_font.php', 'temp', 'scrollbars=no,status=no,menubar=no,location=top,toolbar=no,directory=no,resizable=no,width=300,height=300');        	        	      
	    MyForm.target = 'temp';
	    MyForm.action = 'view_font.php';
	    MyForm.submit();        	
	    //forms.action = '';
    }
}

// Email validator
function CheckLogin() {
	if (MyForm.email.value=='') {
		alert('Please enter your email address.');
		return false;
	}
	  if (MyForm.email.value!='') {
		var atPos = MyForm.email.value.indexOf('@');
		if (atPos < 1 || atPos == (MyForm.email.value.length - 1))	{
			alert('Please enter a valid email address.'); 
			MyForm.email.select();
			MyForm.email.focus(); 
			return false;
		}
	
		var pointPos = MyForm.email.value.indexOf('.');
		if (pointPos < 1 || pointPos == (MyForm.email.value.length - 1))	{
			alert('Please enter a valid email address.'); 
			MyForm.email.select();
			MyForm.email.focus(); 
			return false;
		}
		
		if (isEmail(MyForm.email.value) == false ) {
			alert('Please enter a valid email address. Check for spaces or other invalid characters in the field.');
			MyForm.email.select();
			MyForm.email.focus();
			return false;
		}
		
	} 

	
	if (MyForm.password.value=='') {
		alert('Please enter your password.');
		MyForm.password.select();
		MyForm.password.focus();
		return false;
	}

return true;	
}

// Email validator
function CheckValue() {
	if (MyForm.email.value=='') {
		alert('Please enter your email address.');
		return false;
	}
	  if (MyForm.email.value!='') {
		var atPos = MyForm.email.value.indexOf('@');
		if (atPos < 1 || atPos == (MyForm.email.value.length - 1))	{
			alert('Please enter a valid email address.'); 
			MyForm.email.select();
			MyForm.email.focus(); 
			return false;
		}
	
		var pointPos = MyForm.email.value.indexOf('.');
		if (pointPos < 1 || pointPos == (MyForm.email.value.length - 1))	{
			alert('Please enter a valid email address.'); 
			MyForm.email.select();
			MyForm.email.focus(); 
			return false;
		}
		
		if (isEmail(MyForm.email.value) == false ) {
			alert('Please enter a valid email address. Check for spaces or other invalid characters in the field.');
			MyForm.email.select();
			MyForm.email.focus();
			return false;
		}
		
	} 

	
	if (MyForm.secure.value=='') {
		alert('Please enter the security code as displayed in the box.');
		MyForm.secure.select();
		MyForm.secure.focus();
		return false;
	}
	
	
	if (isAlphaNum(MyForm.secure.value) == false) {
		alert('Security code must be alphanumeric.');
		MyForm.secure.select();
		MyForm.secure.focus();
		return false;	
	}
	

return true;	
}


function isEmail( inStr ) {

  if (inStr.length > 0) { 
  	
    for(i=0; i < inStr.length;i++) {
		c = inStr.charAt(i);
		if((c < '0' || c > '9')&&(c < 'a' || c > 'z')&&(c < 'A' || c > 'Z')&&(c != '.')&&(c != '-')&&(c != '_')&&(c != '@')){
			return false;
	}
	
    }
    
    return true;
  }
  else { return false; }		    
}

//////////////////////////////////////////////////////////////////////////////

// My Account form validator
function CheckValue2 () {
	
	var d = new Date();
	var curr_date = d.getDate();
	var curr_month = d.getMonth();
	var curr_year = d.getFullYear();
	
	if (MyForm.email.value == '') {
		alert('Please enter the email address.');
		MyForm.email.focus();	
		return false;
	}	
	if (MyForm.email.value!='') {
		var atPos = MyForm.email.value.indexOf('@');
		if (atPos < 1 || atPos == (MyForm.email.value.length - 1))	{
			alert('Please enter a valid email address.'); 
			MyForm.email.select();
			MyForm.email.focus(); 
			return false;
		}
	
		var pointPos = MyForm.email.value.indexOf('.');
		if (pointPos < 1 || pointPos == (MyForm.email.value.length - 1))	{
			alert('Please enter a valid email address.'); 
			MyForm.email.select();
			MyForm.email.focus(); 
			return false;
		}	
	} 	
	
	if (isEmail(MyForm.email.value) == false ) {
		alert('Email address must be alphanumeric and may contain \'-\' or \'_\'.');
		MyForm.email.select();
		MyForm.email.focus();
		return false;
	}


	MyForm.email.value = MyForm.email.value.toLowerCase();
	MyForm.hidden_email.value = MyForm.hidden_email.value.toLowerCase();

	if ((MyForm.email.value) != (MyForm.hidden_email.value) ) {
 
	var answer = confirm ("Do you want to change your Email (ID)?")	;

		if (answer){
//		alert ("Email (ID) is set to " + MyForm.email.value) ; 
		}
		else {
		MyForm.email.value = MyForm.hidden_email.value;
//		alert ("Email (ID) is not changed");
		}

	}
	 			
	if (MyForm.password.value == ''){
		alert('Please enter the password.');
		MyForm.password.focus();	
		return false;
	}
	if (MyForm.password2.value == ''){
		alert('Please verify the password.');
		MyForm.password.focus();	
		return false;
	}
	if (isAlphaNum(MyForm.password.value) == false) {
		alert('Password must be alphanumeric.');
		MyForm.password.select();
		MyForm.password.focus();
		return false;	
	}	
	
	if ((MyForm.password.value) != (MyForm.password2.value)) {
		alert('Passwords do not match. Please re-enter the password.');
		MyForm.password.select();
		MyForm.password.focus();
		return false;
	}
	if (MyForm.first_name_b.value == ''){		
		alert('Please enter billing first name.');
		MyForm.first_name_b.focus();
		return false;
	}	
	if (MyForm.last_name_b.value == '') {		
		alert('Please enter billing last name.');
		MyForm.last_name_b.focus();
		return false;
	}	
	if (MyForm.add_1_b.value == '') {
		alert('Please enter the billing address.');
		MyForm.add_1_b.focus();
		return false;			
	}			
	if (MyForm.town_b.value == '') {		
		alert('Please enter the billing city.');
		MyForm.town_b.focus();
		return false;
	}	
	if (MyForm.county_b.value == '') {
		alert('Please enter the billing state.');
		return false;
	}
	if (MyForm.postcode_b.value == '') {
		alert('Please enter the billing zip/postal code.');
		MyForm.postcode_b.focus();
		return false;
	}
	if (MyForm.phone1_b.value == '') {
		alert('Please enter the billing phone number.');
		MyForm.phone1_b.focus();
		return false;
	}
	if (MyForm.phone2_b.value == '') {
		alert('Please enter the billing phone number.');
		MyForm.phone2_b.focus();
		return false;
	}
	if (MyForm.phone3_b.value == '') {
		alert('Please enter the billing phone number.');
		MyForm.phone3_b.focus();
		return false;
	}
	if (MyForm.cc_type.value == '0') {
		alert('Please select the credit card type.');
		MyForm.cc_type.focus();
		return false;
	}
	if (MyForm.cc_number.value != '') {
		var validChar = '0123456789'; 
		var strlen = MyForm.cc_number.value.length;
		var strVal = MyForm.cc_number.value;
		for (var i = 0; i < strlen; i++ ) {
			if (validChar.indexOf(strVal.charAt(i)) < 0) {
       			alert("Credit card number must be numeric.\n\nSpaces and '-' are not necessary.");
					MyForm.cc_number.select();
					MyForm.cc_number.focus();
       				return false;
				}
		}
	}
	if ((MyForm.cc_month.value == '0') || (MyForm.cc_year.value == '0000')) {
		alert('Please enter the credit card\'s expiration date.');
		return false;
	}
	
	if ((MyForm.cc_month.value <= curr_month) && (MyForm.cc_year.value == curr_year)) {
		alert('Please check the credit card\'s expiration month.');
		return false;
	}
	
	if (MyForm.cc_year.value < curr_year) {
		alert('Please check the credit card\'s expiration year.');
		return false;
	}
	
	if (MyForm.cc_name.value == '') {
		alert('Please enter the exact name as it appears on your credit card.');
		MyForm.cc_name.focus();
		return false;
	}			
		if (MyForm.first_name_s.value == ''){		
			alert('Please enter shipping first name.');
			MyForm.first_name_s.focus();
			return false;
		}	
		if (MyForm.last_name_s.value == '') {		
			alert('Please enter shiping last name.');
			MyForm.last_name_s.focus();
			return false;
		}		
		if (MyForm.add_1_s.value == '') {		
			alert('Please enter the shipping street address.');
			MyForm.add_1_s.focus();
			return false;
		}	
		if (MyForm.town_s.value == '') {		
			alert('Please enter the shipping city.');
			MyForm.town_s.focus();
			return false;
		}
		if (MyForm.county_s.value == '') {		
			alert('Please enter the shipping state.');
			return false;
		}
		if (MyForm.postcode_s.value == '') {		
			alert('Please enter the shipping zip/postal code.');
			MyForm.postcode_s.focus();
			return false;
		}
		if (MyForm.phone1_s.value == '') {
			alert('Please enter the daytime/shipping phone number.');
			MyForm.phone1_s.focus();
			return false;
		}	
		if (MyForm.phone2_s.value == '') {
			alert('Please enter the daytime/shipping phone number.');
			MyForm.phone2_s.focus();
			return false;
		}
		if (MyForm.phone3_s.value == '') {
			alert('Please enter the daytime/shipping phone number.');
			MyForm.phone3_s.focus();
			return false;
		}				
	
return true;
}
//////////////////////////////////////////////////////////////////////////////


// Checkout form validator
function CheckValue3 () {
	if (MyForm.email.value == '') {
		alert('Please enter the email address.');
		MyForm.email.focus();	
		return false;
	}	
	if (MyForm.email.value!='') {
		var atPos = MyForm.email.value.indexOf('@');
		if (atPos < 1 || atPos == (MyForm.email.value.length - 1))	{
			alert('Please enter a vaild email address.'); 
			MyForm.email.select();
			MyForm.email.focus(); 
			return false;
		}
	
		var pointPos = MyForm.email.value.indexOf('.');
		if (pointPos < 1 || pointPos == (MyForm.email.value.length - 1))	{
			alert('Please enter a valid email address.'); 
			MyForm.email.select();
			MyForm.email.focus(); 
			return false;
		}	
	} 	
	
	if (isEmail(MyForm.email.value) == false ) {
		alert('Email address must be alphanumeric and may contain \'-\' or \'_\'.');
		MyForm.email.select();
		MyForm.email.focus();
		return false;
	}	


if ((MyForm.password != null)	&& (MyForm.password2 != null)) {
	
	if (MyForm.password.value == ''){
		alert('Please enter the password.');
		MyForm.password.focus();	
		return false;
	}
	if (MyForm.password2.value == ''){
		alert('Please verify the password.');
		MyForm.password2.focus();	
		return false;
	}
	if (isAlphaNum(MyForm.password.value) == false) {
		alert('Password must be alphanumeric.');
		MyForm.password.select();
		MyForm.password.focus();
		return false;	
	}	
	
	if ((MyForm.password.value) != (MyForm.password2.value)) {
		alert('Passwords do not match. Please re-enter the password.');
		MyForm.password.select();
		MyForm.password.focus();	
		return false;
	}
}


	if (MyForm.first_name_b.value == ''){		
		alert('Please enter billing first name.');
		MyForm.first_name_b.focus();
		return false;
	}	
	if (MyForm.last_name_b.value == '') {		
		alert('Please enter billing last name.');
		MyForm.last_name_b.focus();
		return false;
	}		
	if (MyForm.add_1_b.value == '') {
		alert('Please enter the billing address.');
		MyForm.add_1_b.focus();
		return false;			
	}			
	if (MyForm.town_b.value == '') {		
		alert('Please enter the billing city.');
		MyForm.town_b.focus();
		return false;
	}	
	if (MyForm.county_b.value == '') {
		alert('Please enter the billing state.');
		return false;
	}
	if (MyForm.postcode_b.value == '') {
		alert('Please enter the billing zip/postal code.');
		MyForm.postcode_b.focus();
		return false;
	}
	if (MyForm.phone1_b.value == '') {
		alert('Please enter the billing phone number.');
		MyForm.phone1_b.focus();
		return false;
	}
	if (MyForm.phone2_b.value == '') {
		alert('Please enter the billing phone number.');
		MyForm.phone2_b.focus();
		return false;
	}
	if (MyForm.phone3_b.value == '') {
		alert('Please enter the billing phone number.');
		MyForm.phone3_b.focus();
		return false;
	}
	if (MyForm.cc_type.value == '0') {
		alert('Please select the credit card type.');
		MyForm.cc_type.focus();
		return false;
	}
	if (MyForm.cc_number.value == '') {
		alert('Please enter the credit card number.');
		MyForm.cc_number.focus();
		return false;
	}
	if (MyForm.cc_number.value != '') {
		var validChar = '0123456789'; 
		var strlen = MyForm.cc_number.value.length;
		var strVal = MyForm.cc_number.value;
		for (var i = 0; i < strlen; i++ ) {
			if (validChar.indexOf(strVal.charAt(i)) < 0) {
       			alert("Credit card number must be numeric.\n\nSpaces and '-' are not necessary.");
				  	MyForm.cc_number.select();
					MyForm.cc_number.focus();
       				return false;
				}
		}
	}
	// jpak added lines 291-305	
	if (MyForm.new_cc_number.value != '') {
		var validChar = '0123456789'; 
		var strlen = MyForm.new_cc_number.value.length;
		var strVal = MyForm.new_cc_number.value;
		for (var i = 0; i < strlen; i++ ) {
			if (validChar.indexOf(strVal.charAt(i)) < 0) {
       			alert("Credit card number must be numeric.\n\nSpaces and '-' are not necessary.");
					MyForm.new_cc_number.select();
					MyForm.new_cc_number.focus();
       				return false;
				}
		}
	}
//
	if ((MyForm.cc_month.value == '0') || (MyForm.cc_year.value == '0000')) {
		alert('Please enter the credit card\'s expiration date.');
		return false;
	}			
	if (MyForm.cc_name.value == '') {
		alert('Please enter the exact name as it appears on your credit card.');
		MyForm.cc_name.focus();
		return false;
	}		
	if (MyForm.cc_csv.value == '') {
		alert('Please enter the CSV code of the credit card.');
		MyForm.cc_csv.focus();
		return false;
	}
	if (MyForm.cc_csv.value != '') {
		var validChar = '0123456789'; 
		var strlen = MyForm.cc_csv.value.length;
		var strVal = MyForm.cc_csv.value;
		for (var i = 0; i < strlen; i++ ) {
			if (validChar.indexOf(strVal.charAt(i)) < 0) {
       			alert("The CSV of the credit card number must be numeric.");
					MyForm.cc_csv.select();
					MyForm.cc_csv.focus();
       				return false;
				}
			if (strlen < 3) {
       			alert("The CSV of the credit card number must be at least 3 digits.");
					MyForm.cc_csv.select();
					MyForm.cc_csv.focus();
       				return false;
				}
		}
	}
	
	if (MyForm.UseThisAddress.checked == false ) {
		
		if (MyForm.first_name_s.value == ''){		
			alert('Please enter shipping first name.');
			MyForm.first_name_s.focus();
			return false;
		}	
		if (MyForm.last_name_s.value == '') {		
			alert('Please enter shiping last name.');
			MyForm.last_name_s.focus();
			return false;
		}		
		if (MyForm.add_1_s.value == '') {		
			alert('Please enter the shipping street address.');
			MyForm.add_1_s.focus();
			return false;
		}	
		if (MyForm.town_s.value == '') {		
			alert('Please enter the shipping city.');
			MyForm.town_s.focus();
			return false;
		}
		if (MyForm.county_s.value == '') {		
			alert('Please enter the shipping state.');
			return false;
		}
		if (MyForm.postcode_s.value == '') {		
			alert('Please enter the shipping zip/postal code.');
			MyForm.postcode_s.focus();
			return false;
		}
		if (MyForm.phone1_s.value == '') {
			alert('Please enter the daytime/shipping phone number.');
			MyForm.phone1_s.focus();
			return false;
		}	
		if (MyForm.phone2_s.value == '') {
			alert('Please enter the daytime/shipping phone number.');
			MyForm.phone2_s.focus();
			return false;
		}
		if (MyForm.phone3_s.value == '') {
			alert('Please enter the daytime/shipping phone number.');
			MyForm.phone3_s.focus();
			return false;
		}			
	}
	if (MyForm.shippingmethod.value == '0') {
		alert('Please select the shipping method.');
		return false;					
	}
	if ((MyForm.shippingmethod.value == 'upsground') && (MyForm.county_s.value == 'AK' )){
		alert('UPS Ground is not available to Alaska.\n\nPlease select another shipping method.');
		return false;					
	}
	if ((MyForm.shippingmethod.value == 'upsground') && (MyForm.county_s.value == 'PR' )){
		alert('UPS Ground is not available to Puerto Rico.\n\nPlease select another shipping method.');
		return false;					
	}				
	if ((MyForm.shippingmethod.value == 'upsground') && (MyForm.county_s.value == 'HI' )){
		alert('UPS Ground is not available to Hawaii.\n\nPlease select another shipping method.');
		return false;					
	}
	if ((MyForm.shippingmethod.value == 'upsground') && (MyForm.county_s.value == 'VI' )){
		alert('UPS Ground is not available to the Virgin Islands.\n\nPlease select another shipping method.');
		return false;					
	}
	
	if (MyForm.checkCart.value == 'N') {
		alert('There are no items in your shopping cart.\n\nPlease add the items you would like to purchase.');
		return false;	
	}	
return true;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////


// Alpha-numeric check
function isAlphaNum( inStr ) {

  if (inStr.length > 0) { 
  
    for (i=0; i < inStr.length; i++) {

	if (!((inStr.charAt(i)  >= 'a' && inStr.charAt(i)  <= 'z') || (inStr.charAt(i)  >= 'A' && inStr.charAt(i)  <= 'Z') || (inStr.charAt(i)  >= '0' && inStr.charAt(i)  <= '9')) ) {
	return false;

	}
	
    }
    
    return true;
  }
  else { return false; }		    
}	
//////////////////////////////////////////////////////////////////////////////////


// Email check
function isEmail( inStr ) {

  if (inStr.length > 0) { 
  	
    for(i=0; i < inStr.length;i++) {
		c = inStr.charAt(i);
		if((c < '0' || c > '9')&&(c < 'a' || c > 'z')&&(c < 'A' || c > 'Z')&&(c != '.')&&(c != '-')&&(c != '_')&&(c != '@')){
			return false;
	}
	
    }
    
    return true;
  }
  else { return false; }		    
}	

// Check Shipping value
function CheckShipping() {
	if (MyForm.shippingmethod.value == '0') {
		alert('Please select a shipping method.');
		return false;
	}
return true;		
}

// View Cart product validator
function validate_product(form){
	if (form.quantity.value.length <= 0){
		alert("Please enter a quantity.");
		return false;
	}
	else if (form.quantity.value.length > 0) {
		if (form.quantity.value == 0) {
			alert("Quantity must be greater than '0'.");
			return false;
		}
		else {
			var validChar = '0123456789'; 
			var strlen = form.quantity.value.length;
			var strVal = form.quantity.value;
				for (var i = 0; i < strlen; i++ ) {
					if (validChar.indexOf(strVal.charAt(i)) < 0) {
       				alert("Quantity must be numeric.");
       				return false;
					}
       			}
			}
    } 
	
return true;
}

// Payment page
function GiveMessage() {
	alert('There are no items in your shopping cart.\n\nPlease add the items you would like to purchase.');	
}

// Product page form validator
function validate_product2(form){
	if (form.qty.value.length <= 0){
		alert("Please enter a quantity.");
		return false;
	}
	else if (form.qty.value.length > 0) {
		if (form.qty.value == 0) {
			alert("Quantity must be greater than '0'.");
			return false;
		}
		else {
			var validChar = '0123456789'; 
			var strlen = form.qty.value.length;
			var strVal = form.qty.value;
				for (var i = 0; i < strlen; i++ ) {
					if (validChar.indexOf(strVal.charAt(i)) < 0) {
       				alert("Quantity must be numeric.");
       				return false;
				}
       			}
		}
    	} 
    	
    	if ((form.leadsize_temp.value == 'Pencil') || (form.leadsize_temp.value == 'Sketch Pencil') || (form.leadsize_temp.value == 'Classique Pencil') || (form.leadsize_temp.value == 'Pencil - Large') || (form.leadsize_temp.value == 'Pencil - Small') ) {

		if (form.leadsize.value == 0){
			alert("Please select a lead size.");
			return false;
		}
	}	

	if ((form.nibsize_temp.value == 1) || 
		(form.nibsize_temp.value == 70) ||
		(form.nibsize_temp.value == 71) ||
		(form.nibsize_temp.value == 98) ||
		(form.nibsize_temp.value == 103)||
		(form.nibsize_temp.value == 102)||
		(form.nibsize_temp.value == 126) ||
		(form.nibsize_temp.value == 7)  ||
		(form.nibsize_temp.value == 8)  ||
		(form.nibsize_temp.value == 106)||
		(form.nibsize_temp.value == 114)||
		(form.nibsize_temp.value == 115)|| 
		(form.nibsize_temp.value == 116)|| 
		(form.nibsize_temp.value == 117)) {
			
		if (form.nibsize.value == 0) {
				alert("Please select a lead grade.");
				return false;
		}
	}	
	
	if (form.engrave_temp.value == 'Y') {
		if ((form.engraving.value!= '') && (form.engravefontid.value == '0')) {
			alert('Please select an engraving style.');
			return false;
		}	

		if ((form.engraving.value== '') && (form.engravefontid.value != '0')) {
			alert('Please enter engraving instructions.');
			return false;
		}			

		if ((form.engraving.value.length > 4) && ((form.engravefontid.value == '23') || (form.engravefontid.value == '4'))) {
			alert('Please edit engraving instructions for Initials.\n\nMaximum length is 4 characters.');
			return false;
		}		
		
	}	
	
return true;
}