<!-- hide script from old browsers

function displayqty() {


var b = " printed invitations with envelopes^"

if (document.store.elements[4].value != "") {
document.store.qtysold.value = (document.store.elements[4].value)
//alert(document.store.qtysold.value)
}



///////


if (document.store.elements[15].value != "") {
// alert(document.store.elements[15].value + " Was type as return address you must select the option to calculate return // address")
document.store.elements[14].checked = "true"

}

////////////


if (document.store.addit_RADDRESS.checked && document.store.cartitadd && document.store.quantity.value >=25) {
document.store.addit_RADDRESS.value = " ADDRESS " +  document.store.itemID.value +  "  " + " Return address printing - " + document.store.quantity.value + " pieces^" + ((document.store.quantity.value * .35) + 10)
}




/////


if (document.store.elements[8].value == "" && document.store.elements[16].value == "" ) {
document.store.addit_Proof[0].checked = "false"
document.store.addit_Proof[0].value = ""
}


if (document.store.elements[8].value != "" || document.store.elements[15].value != "") {
if (document.store.addit_Proof[0].checked == false && document.store.addit_Proof[1].checked == false && document.store.addit_Proof[2].checked == false ) { 
alert("Please select how you would like to view your Proof.")
document.store.addit_Proof[0].checked = "true"    // for default Proofing
document.store.addit_Proof[0].focus()
document.store.addit_Proof[0].select()
return 0
}
}



if (document.store.elements[17].checked && document.store.elements[18].value == "") {
alert("You have selected to have your Proof faxed to you. Please enter the fax number.")
document.store.elements[18].focus()
document.store.elements[18].select()
return 0
}

if (document.store.elements[17].checked && document.store.elements[20].value != "") {
document.store.elements[20].value = ""
}

if (document.store.elements[19].checked && document.store.elements[20].value == "") {
alert("You have selected to have your Proof mailed to you. Please enter the mailing address.")
document.store.elements[20].focus()
document.store.elements[20].select()
return 0
}

/////


if (document.store.quantity.value >=1 && document.store.quantity.value <=24) {
alert("25 Printed piece minimum is required for this item.  Please adjust ordering quantity above.")
document.store.quantity.value = 25
return 0
}


/////////////////////////////////////////////////////////////////////////////////////
if (document.store.quantity.value >=25 && document.store.quantity.value <=49 ) {
var mycartiadd_array=document.store.cartitadd.value.split("-")
document.store.cartitadd.value = mycartiadd_array[0]
document.store.cartitadd.value = document.store.cartitadd.value + "- " + document.store.quantity.value + b + 2.85
//alert (document.store.cartitadd.value)
}

if (document.store.quantity.value >=50 && document.store.quantity.value <=74 ) {
var mycartiadd_array=document.store.cartitadd.value.split("-")
document.store.cartitadd.value = mycartiadd_array[0]
document.store.cartitadd.value = document.store.cartitadd.value + "- " + document.store.quantity.value + b + 2.70
//alert (document.store.cartitadd.value)
}

if (document.store.quantity.value >=75 && document.store.quantity.value <=99 ) {
var mycartiadd_array=document.store.cartitadd.value.split("-")
document.store.cartitadd.value = mycartiadd_array[0]
document.store.cartitadd.value = document.store.cartitadd.value + "- " + document.store.quantity.value + b + 2.55
//alert (document.store.cartitadd.value)

}

if (document.store.quantity.value >=100 && document.store.quantity.value <=124) {
var mycartiadd_array=document.store.cartitadd.value.split("-")
document.store.cartitadd.value = mycartiadd_array[0]
document.store.cartitadd.value = document.store.cartitadd.value + "- " + document.store.quantity.value + b + 2.40
//alert (document.store.cartitadd.value)

}

if (document.store.quantity.value >=125 && document.store.quantity.value <=149 ) {
var mycartiadd_array=document.store.cartitadd.value.split("-")
document.store.cartitadd.value = mycartiadd_array[0]
document.store.cartitadd.value = document.store.cartitadd.value + "- " + document.store.quantity.value + b + 2.35
//alert (document.store.cartitadd.value)

}

if (document.store.quantity.value >=150 && document.store.quantity.value <=174 ) {
var mycartiadd_array=document.store.cartitadd.value.split("-")
document.store.cartitadd.value = mycartiadd_array[0]
document.store.cartitadd.value = document.store.cartitadd.value + "- " + document.store.quantity.value + b + 2.30
//alert (document.store.cartitadd.value)

}

if (document.store.quantity.value >=175 && document.store.quantity.value <=199 ) {
var mycartiadd_array=document.store.cartitadd.value.split("-")
document.store.cartitadd.value = mycartiadd_array[0]
document.store.cartitadd.value = document.store.cartitadd.value + "- " + document.store.quantity.value + b + 2.25
//alert (document.store.cartitadd.value)

}

if (document.store.quantity.value >=200 && document.store.quantity.value <=999 ) {
var mycartiadd_array=document.store.cartitadd.value.split("-")
document.store.cartitadd.value = mycartiadd_array[0]
document.store.cartitadd.value = document.store.cartitadd.value + "- " + document.store.quantity.value + b + 2.20
//alert (document.store.cartitadd.value)

}



///////////////


if (document.store.addit_ASSEMBLY.checked && document.store.cartitadd && document.store.quantity.value >=25 && document.store.cartitadd && document.store.quantity.value <=49) {
document.store.addit_ASSEMBLY.value = " ASSEMBLY " + document.store.addit_ASSEMBLY.value + (document.store.quantity.value * .50) 
}

if (document.store.addit_ASSEMBLY.checked && document.store.cartitadd && document.store.quantity.value >=50 && document.store.cartitadd && document.store.quantity.value <=74) {
document.store.addit_ASSEMBLY.value = " ASSEMBLY " + document.store.addit_ASSEMBLY.value + (document.store.quantity.value * .50) 
}

if (document.store.addit_ASSEMBLY.checked && document.store.cartitadd && document.store.quantity.value >=75 && document.store.cartitadd && document.store.quantity.value <=99) {
document.store.addit_ASSEMBLY.value = " ASSEMBLY " + document.store.addit_ASSEMBLY.value + (document.store.quantity.value * .50) 
}

if (document.store.addit_ASSEMBLY.checked && document.store.cartitadd && document.store.quantity.value >=100 && document.store.cartitadd && document.store.quantity.value <=124) {
document.store.addit_ASSEMBLY.value = " ASSEMBLY " + document.store.addit_ASSEMBLY.value + (document.store.quantity.value * .50) 
}

if (document.store.addit_ASSEMBLY.checked && document.store.cartitadd && document.store.quantity.value >=125 && document.store.cartitadd && document.store.quantity.value <=149) {
document.store.addit_ASSEMBLY.value = " ASSEMBLY " + document.store.addit_ASSEMBLY.value + (document.store.quantity.value * .50) 
}

if (document.store.addit_ASSEMBLY.checked && document.store.cartitadd && document.store.quantity.value >=150 && document.store.cartitadd && document.store.quantity.value <=174) {
document.store.addit_ASSEMBLY.value = " ASSEMBLY " + document.store.addit_ASSEMBLY.value + (document.store.quantity.value * .50) 
}

if (document.store.addit_ASSEMBLY.checked && document.store.cartitadd && document.store.quantity.value >=175 && document.store.cartitadd && document.store.quantity.value <=199) {
document.store.addit_ASSEMBLY.value = " ASSEMBLY " + document.store.addit_ASSEMBLY.value + (document.store.quantity.value * .50) 
}

if (document.store.addit_ASSEMBLY.checked && document.store.cartitadd && document.store.quantity.value >=200 && document.store.cartitadd && document.store.quantity.value <=999) {
document.store.addit_ASSEMBLY.value = " ASSEMBLY " + document.store.addit_ASSEMBLY.value + (document.store.quantity.value * .50) 
}





	document.store.submit()
}





function uncheckothers() {

document.store.elements[4].value = ""

if (document.store.quantity.value >= "25") {
     var response = confirm("PLEASE NOTE: You are attempting to enter both personalized and blank cards.  If you meant to order this item blank, please clear the text on card section and the personalized quantity.  If you meant to order this item personalized, please clear the Blank quantity and enter the quantity in the personalization section.  If you want additional Blank cards, please process with your personalization order, and after adding these to the shopping cart, please return to this page and order the items blank.  Thank you.");

}

if ( response) {

document.store.quantity.focus()
document.store.quantity.select()

}

}



function printedonlyAddress() {


if(document.store.quantity.value < 25) {
document.store.quantity.focus()
document.store.quantity.select()
document.store.quantity.value = 25
alert("PLEASE NOTE: You are attempting to enter text to be printed on the card but you selected less than minimum option above. If you meant to order this item personalized, please enter your order quantity in the personalization section.")
} else {
document.store.addit_RADDRESS.checked = "true"
}

}



function printedonly() {

if(document.store.quantity.value < 25 ) {
document.store.quantity.focus()
document.store.quantity.select()

alert("PLEASE NOTE: You are attempting to enter text to be printed on the card but your selection is less than minimum above. If you meant to order this item personalized, please enter your order quantity in the personalization section.")


}
}



function printed() {

if (document.store.quantity.value != "" && document.store.elements[8].value == "") { 
document.store.quantity.value = ""

} 

if (document.store.quantity.value != "" && document.store.elements[8].value != "" ) {

document.store.quantity.focus()
document.store.quantity.select()


alert("PLEASE NOTE: You are attempting to order both personalized and blank cards.  If you meant to order this item blank, please clear the text on card section that you entered and the personalized quantity.  If you meant to order this item personalized, please clear the Blank quantity and only select the order quantity in the personalization section.  To also order Blank cards, please process with your personalization order, and after adding these to the shopping cart, please return to this page and order the items blank.  Thank you.");


}



}


function notprinted() {

document.store.elements[4].value = ""
document.store.elements[5].checked = false
document.store.elements[6].checked = false
document.store.elements[7].checked = false 
document.store.elements[8].checked = false


}



function Proofweb() {
if (document.store.elements[8].value != "" || document.store.elements[15].value != "") {
document.store.addit_Proof[0].checked = true
document.store.elements[18].value = ""
document.store.elements[20].value = ""
} else {
document.store.elements[8].focus()
document.store.elements[8].select()
alert ("PLEASE NOTE: You need to order printing before you can select a Web Proofing method.")
}

}



function Prooffax() {

if (document.store.elements[8].value != "" || document.store.elements[15].value != "") {
document.store.addit_Proof[1].checked = true
} else {
document.store.elements[8].focus()
document.store.elements[8].select()
alert ("PLEASE NOTE: You need to enter the text for printing before you can select a Proofing method.")
}
}



function Proofmail() {
if (document.store.elements[8].value != "" || document.store.elements[15].value != "") {
document.store.addit_Proof[2].checked = true
} else {
document.store.elements[8].focus()
document.store.elements[8].select()
alert ("PLEASE NOTE: You need to enter the text for printing before you can select a Proofing method.")
}
}



//end hiding script from old browser-->


