<!-- hide script from old browsers

function displayqty() {

var b = " printed reply cards without envelopes^"

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

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.elements[3] && document.store.quantity.value >=25) {
document.store.qtysold.value = document.store.quantity.value 
}




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


if (document.store.elements[7].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[10].checked && (document.store.elements[12].value != "" || document.store.elements[14].value != "")) {

document.store.elements[12].value = ""
document.store.elements[14].value = ""

}

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

if (document.store.elements[11].checked && document.store.elements[12].value != "") {
document.store.elements[14].value = ""
}

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


/////////////////////////////////////////////////////////////////////////////////////////
if (document.store.elements[13].checked && document.store.elements[14].value != "") {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[12].value = ""

}

if (document.store.quantity.value >=25 && document.store.quantity.value <=49 ) {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[3].value = document.store.elements[3].value + "- " + document.store.quantity.value + b + .95

}

if (document.store.quantity.value >=50 && document.store.quantity.value <=74 ) {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[3].value = document.store.elements[3].value + "- " + document.store.quantity.value + b + .75

}

if (document.store.quantity.value >=75 && document.store.quantity.value <=99 ) {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[3].value = document.store.elements[3].value + "- " + document.store.quantity.value + b + .69

}

if (document.store.quantity.value >=100 && document.store.quantity.value <=124) {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[3].value = document.store.elements[3].value + "- " + document.store.quantity.value + b + .65

}

if (document.store.quantity.value >=125 && document.store.quantity.value <=149 ) {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[3].value = document.store.elements[3].value + "- " + document.store.quantity.value + b + .63

}

if (document.store.quantity.value >=150 && document.store.quantity.value <=174 ) {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[3].value = document.store.elements[3].value + "- " + document.store.quantity.value + b + .62

}

if (document.store.quantity.value >=175 && document.store.quantity.value <=199 ) {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[3].value = document.store.elements[3].value + "- " + document.store.quantity.value + b + .61

}

if (document.store.quantity.value >=200 && document.store.quantity.value <=999 ) {
var mycartiadd_array=document.store.elements[3].value.split("-")
document.store.elements[3].value = mycartiadd_array[0]
document.store.elements[3].value = document.store.elements[3].value + "- " + document.store.quantity.value + b + .60

}

	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() {

document.store.addit_RADDRESS.checked = "true"


}



function printedonly() {

if(document.store.quantity.value < 25 ) {
document.store.elements[4].focus()
document.store.elements[4].select()

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

document.store.quantity.value = 25

}
}



function printed() {

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

} 

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

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

}

}

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() {

// document.store.elements[18].value=""

}



function Prooffax() {

if (document.store.elements[7].value != "" ) {
document.store.addit_Proof[1].checked = true
} else {
document.store.elements[7].focus()
document.store.elements[7].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[7].value != "" ) {
document.store.addit_Proof[2].checked = true
} else {
document.store.elements[7].focus()
document.store.elements[7].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-->
