// Hide/Display Content

$(document).ready(function(){
// Switch Posters with Instructions  
		//Hide div w/id extra
		$("#posters").css("display","none");
		// Add onclick handler to checkbox w/id checkme
		$("#mat_poster").click(function(){
			// If checked
			if ($("#mat_poster").is(":checked"))
			{
            //show the hidden div
            $("#posters").show("fast");
			}
        	else
        	{     
            //otherwise, hide it
            $("#posters").hide("fast");
        	}
      	});
        if ($("#mat_poster").is(":checked")) {
            $("#posters").show("fast");
        }
        
        // printer
        $("#poster_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                if ($("#Poster_Size_11x17").is(":checked")) {
                    $("#poster_11x17").show();
                }
                
                if ($("#Poster_Size_14x22").is(":checked")) {
                    $("#poster_14x22").show();
                }
            }
        });
        $("#poster_printer_file").click(function() {
            if ($(this).is(":checked")) {
                $("#poster_11x17").hide();
                $("#poster_14x22").hide();
            }
        });
        
        // hide/show sizes and prices
        $("#Poster_Size_11x17").click(function() {
            if ($(this).is(":checked") && $("#poster_printer_walsworth").is(":checked")) {
                $("#poster_14x22").hide();
                $("#poster_11x17").show();
            } else {
                $("#poster_11x17").hide();
            }
        });
        
        if ($("#Poster_Size_11x17").is(":checked") && $("#poster_printer_walsworth").is(":checked")) {
            $("#poster_14x22").hide();
            $("#poster_11x17").show();
        } else {
            $("#poster_11x17").hide();
        }
        
        $("#Poster_Size_14x22").click(function() {
            if ($(this).is(":checked") && $("#poster_printer_walsworth").is(":checked")) {
                $("#poster_11x17").hide();
                $("#poster_14x22").show();
            } else {
                $("#poster_14x22").hide();
            }
        });
        
        if ($("#Poster_Size_14x22").is(":checked") && $("#poster_printer_walsworth").is(":checked")) {
            $("#poster_11x17").hide();
            $("#poster_14x22").show();
        } else {
            $("#poster_14x22").hide();
        }
      
// Poster Copy
		$("div#posterright .posterother").css("display","none");
		$("#radiobutton_7").click(function(){
       		if($("#radiobutton_7").is(":checked")){
            	$("div#posterright .posterother").show("fast");
			}else{     
            	$("div#posterright .posterother").hide("fast");
        	}
		});
        
        if ($("#radiobutton_7").is(":checked")) {
            $("div#posterright .posterother").show("fast");
        }
        
      	
// Switch Cover Posters 
		$("#coverposter").css("display","none");
		$("#mat_cover_poster").click(function(){
			if ($("#mat_cover_poster").is(":checked"))
			{
            $("#coverposter").show("fast");
			}
        	else
        	{     
            $("#coverposter").hide("fast");
        	}
      	});
        
        if ($("#mat_cover_poster").is(":checked")) {
            $("#coverposter").show("fast");
        }
        
        // printer
        $("#cover_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                if ($("#Cover_Size_11x17").is(":checked")) {
                    $("#cover_11x17").show();
                }
                
                if ($("#Cover_Size_14x22").is(":checked")) {
                    $("#cover_14x22").show();
                }
            }
        });
        $("#cover_printer_file").click(function() {
            if ($(this).is(":checked")) {
                $("#cover_11x17").hide();
                $("#cover_14x22").hide();
            }
        });
        
        // hide/show sizes and prices
        $("#Cover_Size_11x17").click(function() {
            if ($(this).is(":checked") && $("#cover_printer_walsworth").is(":checked")) {
                $("#cover_14x22").hide();
                $("#cover_11x17").show();
            } else {
                $("#cover_11x17").hide();
            }
        });
        
        if ($("#Cover_Size_11x17").is(":checked") && $("#cover_printer_walsworth").is(":checked")) {
            $("#cover_14x22").hide();
            $("#cover_11x17").show();
        } else {
            $("#cover_11x17").hide();
        }
        
        $("#Cover_Size_14x22").click(function() {
            if ($(this).is(":checked") && $("#cover_printer_walsworth").is(":checked")) {
                $("#cover_11x17").hide();
                $("#cover_14x22").show();
            } else {
                $("#cover_14x22").hide();
            }
        });
        
        if ($("#Cover_Size_14x22").is(":checked") && $("#cover_printer_walsworth").is(":checked")) {
            $("#cover_11x17").hide();
            $("#cover_14x22").show();
        } else {
            $("#cover_14x22").hide();
        }
      	
// Cover Poster Copy
		$("div#coverposterright .coverposterother").css("display","none");
		$("#radiobutton_14").click(function(){
       		if ($("#radiobutton_14").is(":checked"))
        	{
            $("div#coverposterright .coverposterother").show("fast");
        	}
        	else
        	{     
            $("div#coverposterright .coverposterother").hide("fast");
        	}
		});
        
        if ($("#radiobutton_14").is(":checked")) {
            $("div#coverposterright .coverposterother").show("fast");
        }
		     
// Switch Fliers
		$("#fliers").css("display","none");
		$("#mat_fliers").click(function(){
       		if ($("#mat_fliers").is(":checked"))
        	{
            $("#fliers").show("fast");
        	}
        	else
        	{     
            $("#fliers").hide("fast");
        	}
		});
        
        if ($("#mat_fliers").is(":checked")) {
            $("#fliers").show("fast");
        }
        
        // printer
        $("#flier_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#flier_85x11").show();
            }
        });
        $("#flier_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#flier_85x11").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#flier_printer_walsworth").is(":checked")) {
            $("#flier_85x11").show();
        } else {
            $("#flier_85x11").hide();
        }
		
// Flier Copy
		$("div#flierright .flierother").css("display","none");
		$("#radiobutton_8").click(function(){
       		if ($("#radiobutton_8").is(":checked"))
        	{
            $("div#flierright .flierother").show("fast");
        	}
        	else
        	{     
            $("div#flierright .flierother").hide("fast");
        	}
		});
        
        if ($("#radiobutton_8").is(":checked")) {
            $("div#flierright .flierother").show("fast");
        }
		  		
        // Switch Postcards
       	$("#postcards").css("display","none");
       	$("#mat_postcards").click(function(){
	        if ($("#mat_postcards").is(":checked"))
        	{
                $("#postcards").show("fast");
        	}
        	else
        	{     
                $("#postcards").hide("fast");
        	}
      	});
        
        if ($("#mat_postcards").is(":checked")) {
            $("#postcards").show("fast");
        }
      	
        // printer
        $("#postcard_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                if ($("#Postcard_Size_4x6").is(":checked")) {
                    $("#postcard_4x6").show();
                }
                
                if ($("#Postcard_Size_5x8").is(":checked")) {
                    $("#postcard_5x8").show();
                }
                $("#postcard_mail").show();
            }
        });
        $("#postcard_printer_file").click(function() {
            $("#postcard_4x6").hide();
            $("#postcard_5x8").hide();
            $("#postcard_mail").hide();
        });
        
        // if walsworth will print, show prices
        if ($("#postcard_printer_walsworth").is(":checked")) {
            $(".postcard_price").show();
            $("#postcard_mail").show();
        } else {
            $(".postcard_price").hide();
            $("#postcard_mail").hide();
        }
        
        // hide/show sizes and prices
        $("#Postcard_Size_4x6").click(function() {
            if ($(this).is(":checked") && $("#postcard_printer_walsworth").is(":checked")) {
                $("#postcard_5x8").hide();
                $("#postcard_4x6").show();
                $("#postcard_mail").show();
            } else {
                $("#postcard_4x6").hide();
            }
        });
        
        if ($("#Postcard_Size_4x6").is(":checked") && $("#postcard_printer_walsworth").is(":checked")) {
            $("#postcard_5x8").hide();
            $("#postcard_4x6").show();
            $("#postcard_mail").show();
        } else {
            $("#postcard_4x6").hide();
        }
        
        $("#Postcard_Size_5x8").click(function() {
            if ($(this).is(":checked") && $("#postcard_printer_walsworth").is(":checked")) {
                $("#postcard_4x6").hide();
                $("#postcard_5x8").show();
                $("#postcard_mail").show();
            } else {
                $("#postcard_5x8").hide();
            }
        });
        
        if ($("#Postcard_Size_5x8").is(":checked") && $("#postcard_printer_walsworth").is(":checked")) {
            $("#postcard_4x6").hide();
            $("#postcard_5x8").show();
            $("#postcard_mail").show();
        } else {
            $("#postcard_5x8").hide();
        }
        
        // postcard mailer
        $(".postcard_mailer").click(function() {
            if ($(this).val() == "Walsworth to mail postcards" && $(this).is(":checked")) {
                $("#postcard_walsworth_mailer").show();
            } else {
                $("#postcard_walsworth_mailer").hide();
            }
        });
        
        $(".postcard_mailer").each(function() {
            if ($(this).val() == "Walsworth to mail postcards" && $(this).is(":checked")) {
                $("#postcard_walsworth_mailer").show();
            } else {
                $("#postcard_walsworth_mailer").hide();
            }
        });
        
// Postcard copy 
		$("div#postcardright .postcardother").css("display","none");
		$("#radiobutton_9").click(function(){
			if ($("#radiobutton_9").is(":checked"))
			{
            $("div#postcardright .postcardother").show("fast");
			}
        	else
        	{     
            $("div#postcardright .postcardother").hide("fast");
        	}
      	});
        
        if ($("#radiobutton_9").is(":checked")) {
            $("div#postcardright .postcardother").show("fast");
        }
        
// Switch Envelopes
		$("#envelopes").css("display","none");
		$("#mat_envelopes").click(function(){
       		if ($("#mat_envelopes").is(":checked"))
        	{
            $("#envelopes").show("fast");
        	}
        	else
        	{     
            $("#envelopes").hide("fast");
        	}
		});
        
        if ($("#mat_envelopes").is(":checked")) {
            $("#envelopes").show("fast");
        }
        
        // envelope mailer
        $(".envelope_mailer").click(function() {
            if ($(this).val() == "Walsworth to mail envelopes") {
                $("#envelopes_walsworth_mailer").show();
            } else {
                $("#envelopes_walsworth_mailer").hide();
            }
        });
        
        $(".envelope_mailer").each(function() {
            if ($(this).is(":checked") && $(this).val() == "Walsworth to mail envelopes") {
                $("#envelopes_walsworth_mailer").show();
            } else {
                $("#envelopes_walsworth_mailer").hide();
            }
        });
      
// Switch Bookmarks
       	$("#bookmarks").css("display","none");
       	$("#mat_bookmarks").click(function(){
			if ($("#mat_bookmarks").is(":checked"))
        	{
            $("#bookmarks").show("fast");
        	}
        	else
        	{     
            $("#bookmarks").hide("fast");
        	}
      	});
        
        if ($("#mat_bookmarks").is(":checked")) {
            $("#bookmarks").show("fast");
        }
        
        // printer
        $("#bookmark_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#bookmarks_quantity").show();
            }
        });
        $("#bookmark_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#bookmarks_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#bookmark_printer_walsworth").is(":checked")) {
            $("#bookmarks_quantity").show();
        } else {
            $("#bookmarks_quantity").hide();
        }
      	
// Bookmarks Copy Front
       	$("div#bookmarkright .bookmarkother").css("display","none");
       	$("#radiobutton_12").click(function(){
			if ($("#radiobutton_12").is(":checked"))
        	{
				$("div#bookmarkright .bookmarkother").show("fast");
        	}
        	else
        	{     
            $("div#bookmarkright .bookmarkother").hide("fast");
        	}
      	});
        
        if ($("#radiobutton_12").is(":checked")) {
            $("div#bookmarkright .bookmarkother").show("fast");
        }
      	
// Bookmarks Copy Back
       	$(".bookmarkbackother").css("display","none");
       	$("#radiobutton_11").click(function(){
			if ($("#radiobutton_11").is(":checked"))
        	{
            $(".bookmarkbackother").show("fast");
        	}
        	else
        	{     
            $(".bookmarkbackother").hide("fast");
        	}
      	});  

        if ($("#radiobutton_11").is(":checked")) {
            $(".bookmarkbackother").show("fast");
        }
        
// Switch Order Cards
       	$("#order").css("display","none");
       	$("#mat_order").click(function(){
			if ($("#mat_order").is(":checked"))
        	{
            $("#order").show("fast");
        	}
        	else
        	{     
            $("#order").hide("fast");
        	}
      	});
        
        if ($("#mat_order").is(":checked")) {
            $("#order").show("fast");
        }
        
        // printer
        $("#order_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#order_quantity").show();
            }
        });
        $("#order_printer_file").click(function() {
            $("#order_quantity").hide();
        });
        
        // if walsworth will print, show prices
        if ($("#order_printer_walsworth").is(":checked")) {
            $("#order_quantity").show();
        } else {
            $("#order_quantity").hide();
        }
      	
// Order Copy
       	$("div#orderright .orderother").css("display","none");
       	$("#radiobutton_92").click(function(){
			if ($("#radiobutton_92").is(":checked"))
        	{
				$("div#orderright .orderother").show("fast");
        	}
        	else
        	{     
            $("div#orderright .orderother").hide("fast");
        	}
      	});
        
        if ($("#radiobutton_92").is(":checked")) {
            $("div#orderright .orderother").show("fast");
        }
      	
// Switch Stickers
		$("#stickers").css("display","none");
       	$("#mat_stickers").click(function(){
        	if ($("#mat_stickers").is(":checked"))
        	{
            $("#stickers").show("fast");
        	}
        	else
        	{     
            $("#stickers").hide("fast");
        	}
      	});
        
        if ($("#mat_stickers").is(":checked")) {
            $("#stickers").show("fast");
        }
        
        // printer
        $("#sticker_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#stickers_quantity").show();
            }
        });
        $("#sticker_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#stickers_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#sticker_printer_walsworth").is(":checked")) {
            $("#stickers_quantity").show();
        } else {
            $("#stickers_quantity").hide();
        }
      	
// Sticker Copy
		$("div#stickerright .stickerother").css("display","none");
       	$("#radiobutton_10").click(function(){
        	if ($("#radiobutton_10").is(":checked"))
        	{
            $("div#stickerright .stickerother").show("fast");
        	}
        	else
        	{     
            $("div#stickerright .stickerother").hide("fast");
        	}
      	});
        
        if ($("#radiobutton_10").is(":checked")) {
            $("div#stickerright .stickerother").show("fast");
        }
        
// Switch Bought Stickers
		$("#stickers2").css("display","none");
       	$("#mat_stickers2").click(function(){
        	if ($("#mat_stickers2").is(":checked"))
        	{
            $("#stickers2").show("fast");
        	}
        	else
        	{     
            $("#stickers2").hide("fast");
        	}
      	});
        
        if ($("#mat_stickers2").is(":checked")) {
            $("#stickers2").show("fast");
        }
        
        // printer
        $("#sticker2_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#stickers2_quantity").show();
            }
        });
        $("#sticker2_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#stickers2_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#sticker2_printer_walsworth").is(":checked")) {
            $("#stickers2_quantity").show();
        } else {
            $("#stickers2_quantity").hide();
        }

// Switch Vinyl Banner
		$("#banner").css("display","none");
       	$("#mat_banner").click(function(){
        	if ($("#mat_banner").is(":checked"))
        	{
            $("#banner").show("fast");
        	}
        	else
        	{     
            $("#banner").hide("fast");
        	}
      	});
        
        if ($("#mat_banner").is(":checked")) {
            $("#banner").show("fast");
        }
      	
// Vinyl Banner Copy
		$(".bannerother").css("display","none");
       	$("#banner_other").click(function(){
        	if ($("#banner_other").is(":checked"))
        	{
            $(".bannerother").show("fast");
        	}
        	else
        	{     
            $(".bannerother").hide("fast");
        	}
      	});
        
        if ($("#banner_other").is(":checked")) {
            $(".bannerother").show("fast");
        }

// Switch Brochure
		$("#brochure").css("display","none");
       	$("#radiobutton_brochures").click(function(){
        	if ($("#radiobutton_brochures").is(":checked"))
        	{
            $("#brochure").show("fast");
        	}
        	else
        	{     
            $("#brochure").hide("fast");
        	}
      	});
        
        if ($("#radiobutton_brochures").is(":checked")) {
            $("#brochure").show("fast");
        }
        
        // printer
        $("#brochure_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#brochure_quantity").show();
            }
        });
        $("#brochure_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#brochure_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#brochure_printer_walsworth").is(":checked")) {
            $("#brochure_quantity").show();
        } else {
            $("#brochure_quantity").hide();
        }
		
// Gift Certificate
		$("#giftcert").css("display","none");
       	$("#radiobutton_giftcert").click(function(){
        	if ($("#radiobutton_giftcert").is(":checked"))
        	{
            $("#giftcert").show("fast");
        	}
        	else
        	{     
            $("#giftcert").hide("fast");
        	}
      	});
        
        if ($("#radiobutton_giftcert").is(":checked")) {
            $("#giftcert").show("fast");
        }
        
        // printer
        $("#giftcert_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#gc_quantity").show();
            }
        });
        $("#giftcert_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#gc_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#giftcert_printer_walsworth").is(":checked")) {
            $("#gc_quantity").show();
        } else {
            $("#gc_quantity").hide();
        }
        
// Switch Distribution Inserts
		$("#inserts").css("display","none");
       	$("#mat_inserts").click(function(){
        	if ($("#mat_inserts").is(":checked"))
        	{
            $("#inserts").show("fast");
        	}
        	else
        	{     
            $("#inserts").hide("fast");
        	}
      	});
        
        if ($("#mat_inserts").is(":checked")) {
            $("#inserts").show("fast");
        }
        
        // printer
        $("#inserts_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#inserts_quantity").show();
            }
        });
        $("#inserts_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#inserts_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#inserts_printer_walsworth").is(":checked")) {
            $("#inserts_quantity").show();
        } else {
            $("#inserts_quantity").hide();
        }
        
// Switch Bought Stickers
		$("#supporter").css("display","none");
       	$("#mat_supporter").click(function(){
        	if ($("#mat_supporter").is(":checked"))
        	{
            $("#supporter").show("fast");
        	}
        	else
        	{     
            $("#supporter").hide("fast");
        	}
      	});
        
        if ($("#mat_supporter").is(":checked")) {
            $("#supporter").show("fast");
        }
        
        // printer
        $("#supporter_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#supporter_quantity").show();
            }
        });
        $("#supporter_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#supporter_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#supporter_printer_walsworth").is(":checked")) {
            $("#supporter_quantity").show();
        } else {
            $("#supporter_quantity").hide();
        }
      	
// Latino Parents
		//$("#latino").css("display","none");
        $("#latino_postcards, #latino_flier, #latino_banners, #latino_brochures").css("display", "none");
       	$("#chk_latino_fliers").click(function(){
        	if ($("#chk_latino_fliers").is(":checked")) {
				//$("#latino").css("display","block");
                $("#latino_flier").show("fast");
        	} else {     
				$("#latino_flier").hide("fast");
        	}
      	});
		
		$("#chk_latino_postcards").click(function(){
        	if ($("#chk_latino_postcards").is(":checked")) {
				//$("#latino").css("display","block");
                $("#latino_postcards").show("fast");
        	} else {     
                $("#latino_postcards").hide("fast");
        	}
      	});
		$("#chk_latino_banners").click(function(){
        	if ($("#chk_latino_banners").is(":checked")) {
				//$("#latino").css("display","block");
                $("#latino_banners").show("fast");
        	} else {     
                $("#latino_banners").hide("fast");
        	}
      	});
		
		$("#chk_latino_brochures").click(function(){
			if ($("#chk_latino_brochures").is(":checked")) {
				//$("#latino").css("display","block");
                $("#latino_brochures").show("fast");
        	} else {     
                $("#latino_brochures").hide("fast");
        	}
		});
        
        // Switch Big Event Posters
		$("#event_posters").css("display","none");
       	$("#mat_evt_posters").click(function(){
        	if ($("#mat_evt_posters").is(":checked")) {
                $("#event_posters").show("fast");
        	} else {     
                $("#event_posters").hide("fast");
        	}
      	});
        
        if ($("#mat_evt_posters").is(":checked")) {
            $("#event_posters").show("fast");
        }
        
        // printer
        $("#event_posters_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#event_posters_quantity").show();
            }
        });
        $("#event_posters_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#event_posters_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#event_posters_printer_walsworth").is(":checked")) {
            $("#event_posters_quantity").show();
        } else {
            $("#event_posters_quantity").hide();
        }
        
        // Switch Big Event Postcards
       	$("#event_postcards").css("display","none");
       	$("#mat_evt_postcards").click(function(){
	        if ($("#mat_evt_postcards").is(":checked"))
        	{
                $("#event_postcards").show("fast");
        	}
        	else
        	{     
                $("#event_postcards").hide("fast");
        	}
      	});
        
        if ($("#mat_evt_postcards").is(":checked")) {
            $("#event_postcards").show("fast");
        }
      	
        // printer
        $("#event_postcard_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                if ($("#Event_Postcard_Size_4x6").is(":checked")) {
                    $("#event_postcard_4x6").show();
                }
                
                if ($("#Event_Postcard_Size_5x8").is(":checked")) {
                    $("#event_postcard_5x8").show();
                }
                $("#event_postcard_mail").show();
            }
        });
        $("#event_postcard_printer_file").click(function() {
            $("#event_postcard_4x6").hide();
            $("#event_postcard_5x8").hide();
            $("#event_postcard_mail").hide();
        });
        
        // if walsworth will print, show prices
        if ($("#event_postcard_printer_walsworth").is(":checked")) {
            $(".event_postcard_price").show();
            $("#event_postcard_mail").show();
        } else {
            $(".event_postcard_price").hide();
            $("#event_postcard_mail").hide();
        }
        
        // hide/show sizes and prices
        $("#Event_Postcard_Size_4x6").click(function() {
            if ($(this).is(":checked") && $("#event_postcard_printer_walsworth").is(":checked")) {
                $("#event_postcard_5x8").hide();
                $("#event_postcard_4x6").show();
                $("#event_postcard_mail").show();
            } else {
                $("#event_postcard_4x6").hide();
            }
        });
        
        if ($("#Event_Postcard_Size_4x6").is(":checked") && $("#event_postcard_printer_walsworth").is(":checked")) {
            $("#event_postcard_5x8").hide();
            $("#event_postcard_4x6").show();
            $("#event_postcard_mail").show();
        } else {
            $("#event_postcard_4x6").hide();
        }
        
        $("#Event_Postcard_Size_5x8").click(function() {
            if ($(this).is(":checked") && $("#event_postcard_printer_walsworth").is(":checked")) {
                $("#event_postcard_4x6").hide();
                $("#event_postcard_5x8").show();
                $("#event_postcard_mail").show();
            } else {
                $("#event_postcard_5x8").hide();
            }
        });
        
        if ($("#Event_Postcard_Size_5x8").is(":checked") && $("#event_postcard_printer_walsworth").is(":checked")) {
            $("#event_postcard_4x6").hide();
            $("#event_postcard_5x8").show();
            $("#event_postcard_mail").show();
        } else {
            $("#event_postcard_5x8").hide();
        }
        
        // postcard mailer
        $(".event_postcard_mailer").click(function() {
            if ($(this).val() == "Walsworth to mail postcards" && $(this).is(":checked")) {
                $("#event_postcard_walsworth_mailer").show();
            } else {
                $("#event_postcard_walsworth_mailer").hide();
            }
        });
        
        $(".event_postcard_mailer").each(function() {
            if ($(this).val() == "Walsworth to mail postcards" && $(this).is(":checked")) {
                $("#event_postcard_walsworth_mailer").show();
            } else {
                $("#event_postcard_walsworth_mailer").hide();
            }
        });
        
        // Postcards
        $(".event_postcard_qty").click(function(){
            if($(this).attr("id") == "Event_Postcard_Qty_4x6_Other"){
                $("#event_postcard_qty_4x6").show();
            }else{
                $("#event_postcard_qty_4x6").hide();
            }
            
            if($(this).attr("id") == "Event_Postcard_Qty_5x8_Other"){
                $("#event_postcard_qty_5x8").show();
            }else{
                $("#event_postcard_qty_5x8").hide();
            }
        });
        
        // Switch Big Event Tickets
		$("#event_tickets").css("display","none");
       	$("#mat_evt_tickets").click(function(){
        	if ($("#mat_evt_tickets").is(":checked")) {
                $("#event_tickets").show("fast");
        	} else {     
                $("#event_tickets").hide("fast");
        	}
      	});
        
        if ($("#mat_evt_tickets").is(":checked")) {
            $("#event_tickets").show("fast");
        }
        
        // Switch Big Event Passes
		$("#event_passes").css("display","none");
       	$("#mat_evt_passes").click(function(){
        	if ($("#mat_evt_passes").is(":checked")) {
                $("#event_passes").show("fast");
        	} else {     
                $("#event_passes").hide("fast");
        	}
      	});
        
        if ($("#mat_evt_passes").is(":checked")) {
            $("#event_passes").show("fast");
        }
        
        // printer
        $("#event_passes_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#event_passes_quantity").show();
            }
        });
        $("#event_passes_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#event_passes_quantity").hide();
            }
        });
        
        if ($("#event_passes_printer_walsworth").is(":checked")) {
            $("#event_passes_quantity").show();
        } else {
            $("#event_passes_quantity").hide();
        }
        
        // Switch Big Event Cards
		$("#event_cards").css("display","none");
       	$("#mat_evt_cards").click(function(){
        	if ($("#mat_evt_cards").is(":checked")) {
                $("#event_cards").show("fast");
        	} else {     
                $("#event_cards").hide("fast");
        	}
      	});
        
        if ($("#mat_evt_cards").is(":checked")) {
            $("#event_cards").show("fast");
        }
        
        // printer
        $("#event_cards_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#event_cards_quantity").show();
            }
        });
        $("#event_cards_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#event_cards_quantity").hide();
            }
        });
        
        if ($("#event_cards_printer_walsworth").is(":checked")) {
            $("#event_cards_quantity").show();
        } else {
            $("#event_cards_quantity").hide();
        }
        
        // Switch Big Event Items
		$("#event_items").css("display","none");
       	$("#mat_evt_items").click(function(){
        	if ($("#mat_evt_items").is(":checked")) {
                $("#event_items").show("fast");
        	} else {     
                $("#event_items").hide("fast");
        	}
      	});
        
        if ($("#mat_evt_items").is(":checked")) {
            $("#event_items").show("fast");
        }
        
        // materials
        $("#Event_Stamp").click(function() {
            if ($(this).is(":checked")) {
                $("#event_stamp_div").show();
            } else {
                $("#event_stamp_div").hide();
            }
        });
        
        if ($("#Event_Stamp").is(":checked")) {
            $("#event_stamp_div").show();
        } else {
            $("#event_stamp_div").hide();
        }
        
        $("#Event_Button").click(function() {
            if ($(this).is(":checked")) {
                $("#event_button_div").show();
            } else {
                $("#event_button_div").hide();
            }
        });
        
        if ($("#Event_Button").is(":checked")) {
            $("#event_button_div").show();
        } else {
            $("#event_button_div").hide();
        }
        
        $(".event_button_qty").click(function() {
            if ($(this).val() == "Qty - Other") {
                $("#event_button_qty").show();
            } else {
                $("#event_button_qty").hide();
            }
        });
        
        $(".event_button_qty").each(function() {
            if ($(this).is(":checked") && $(this).val() == "Qty - Other") {
                $("#event_button_qty").show();
            } else {
                $("#event_button_qty").hide();
            }
        });
        
        // Event Stickers
        $("#Event_Stickers").click(function() {
            if ($(this).is(":checked")) {
                $("#event_stickers_div").show();
            } else {
                $("#event_stickers_div").hide();
            }
        });
        
        if ($("#Event_Stickers").is(":checked")) {
            $("#event_stickers_div").show();
        } else {
            $("#event_stickers_div").hide();
        }
        
        $(".event_stickers_qty").click(function() {
            if ($(this).val() == "Qty - Other") {
                $("#event_stickers_qty").show();
            } else {
                $("#event_stickers_qty").hide();
            }
        });
        
        $(".event_stickers_qty").each(function() {
            if ($(this).is(":checked") && $(this).val() == "Qty - Other") {
                $("#event_stickers_qty").show();
            } else {
                $("#event_stickers_qty").hide();
            }
        });
        
        // Event Wristbands
        $("#Event_Bands").click(function() {
            if ($(this).is(":checked")) {
                $("#event_bands_div").show();
            } else {
                $("#event_bands_div").hide();
            }
        });
        
        if ($("#Event_Bands").is(":checked")) {
            $("#event_bands_div").show();
        } else {
            $("#event_bands_div").hide();
        }
        
        $(".event_bands_qty").click(function() {
            if ($(this).val() == "Qty - Other") {
                $("#event_bands_qty").show();
            } else {
                $("#event_bands_qty").hide();
            }
        });
        
        $(".event_bands_qty").each(function() {
            if ($(this).is(":checked") && $(this).val() == "Qty - Other") {
                $("#event_bands_qty").show();
            } else {
                $("#event_bands_qty").hide();
            }
        });
        
        // Event Sticker Sheets
        $("#Event_Sheets").click(function() {
            if ($(this).is(":checked")) {
                $("#event_sheets_div").show();
            } else {
                $("#event_sheets_div").hide();
            }
        });
        
        if ($("#Event_Sheets").is(":checked")) {
            $("#event_sheets_div").show();
        } else {
            $("#event_sheets_div").hide();
        }
        
        $(".event_sheets_qty").click(function() {
            if ($(this).val() == "Qty - Other") {
                $("#event_sheets_qty").show();
            } else {
                $("#event_sheets_qty").hide();
            }
        });
        
        $(".event_sheets_qty").each(function() {
            if ($(this).is(":checked") && $(this).val() == "Qty - Other") {
                $("#event_sheets_qty").show();
            } else {
                $("#event_sheets_qty").hide();
            }
        });
        
        $("#or_lpcard_qc").click(function(){
			if($(this).is(":checked")){
				$("#latino_postcards_left fieldset").find("input.radiobutton").each(function(i, el){
					var other = String($(el).val());													 
					if(other.toLowerCase() != "other"){
						el.checked = false;
					}
				});
			}
		});
        
        // Latino Fliers
        // printer
        $("#latino_flier_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#latino_flier_quantity").show();
            }
        });
        $("#latino_flier_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#latino_flier_quantity").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#latino_flier_printer_walsworth").is(":checked")) {
            $("#latino_flier_quantity").show();
        } else {
            $("#latino_flier_quantity").hide();
        }
        
        // Latino Postcards
        // printer
        $("#latino_postcard_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                if ($("#Latino_Postcard_Size_4x6").is(":checked")) {
                    $("#latino_postcard_4x6").show();
                }
                
                if ($("#Latino_Postcard_Size_5x8").is(":checked")) {
                    $("#latino_postcard_5x8").show();
                }
                $("#latino_postcard_mail").show();
            }
        });
        $("#latino_postcard_printer_file").click(function() {
            $("#latino_postcard_4x6").hide();
            $("#latino_postcard_5x8").hide();
            $("#latino_postcard_mail").hide();
        });
        
        // if walsworth will print, show prices
        if ($("#latino_postcard_printer_walsworth").is(":checked")) {
            $(".latino_postcard_price").show();
            $("#latino_postcard_mail").show();
        } else {
            $(".latino_postcard_price").hide();
            $("#latino_postcard_mail").hide();
        }
        
        // hide/show sizes and prices
        $("#Latino_Postcard_Size_4x6").click(function() {
            if ($(this).is(":checked") && $("#latino_postcard_printer_walsworth").is(":checked")) {
                $("#latino_postcard_5x8").hide();
                $("#latino_postcard_4x6").show();
                $("#latino_postcard_mail").show();
            } else {
                $("#latino_postcard_4x6").hide();
            }
        });
        
        if ($("#Latino_Postcard_Size_4x6").is(":checked") && $("#latino_postcard_printer_walsworth").is(":checked")) {
            $("#latino_postcard_5x8").hide();
            $("#latino_postcard_4x6").show();
            $("#latino_postcard_mail").show();
        } else {
            $("#latino_postcard_4x6").hide();
        }
        
        $("#Latino_Postcard_Size_5x8").click(function() {
            if ($(this).is(":checked") && $("#latino_postcard_printer_walsworth").is(":checked")) {
                $("#latino_postcard_4x6").hide();
                $("#latino_postcard_5x8").show();
                $("#latino_postcard_mail").show();
            } else {
                $("#latino_postcard_5x8").hide();
            }
        });
        
        if ($("#Latino_Postcard_Size_5x8").is(":checked") && $("#latino_postcard_printer_walsworth").is(":checked")) {
            $("#latino_postcard_4x6").hide();
            $("#latino_postcard_5x8").show();
            $("#latino_postcard_mail").show();
        } else {
            $("#latino_postcard_5x8").hide();
        }
        
        // latino_postcard mailer
        $(".latino_postcard_mailer").click(function() {
            if ($(this).val() == "Walsworth to mail postcards") {
                $("#latino_postcard_walsworth_mailer").show();
            } else {
                $("#latino_postcard_walsworth_mailer").hide();
            }
        });
        
        $(".latino_postcard_mailer").each(function() {
            if ($(this).val() == "Walsworth to mail postcards" && $(this).attr("checked")) {
                $("#latino_postcard_walsworth_mailer").show();
            } else {
                $("#latino_postcard_walsworth_mailer").hide();
            }
        });
        
        // Latino Brochure
        // printer
        $("#latino_brochure_printer_walsworth").click(function() {
            if ($(this).attr("checked")) {
                $("#latino_brochure_quantity").show();
                $("#latino_brochure_mail").show();
            }
        });
        $("#latino_brochure_printer_file").click(function() {
            if ($(this).attr("checked")) {
                $("#latino_brochure_quantity").hide();
                $("#latino_brochure_mail").hide();
            }
        });
        
        // if walsworth will print, show prices
        if ($("#latino_brochure_printer_walsworth").is(":checked")) {
            $("#latino_brochure_quantity").show();
            $("#latino_brochure_mail").show();
        } else {
            $("#latino_brochure_quantity").hide();
            $("#latino_brochure_mail").hide();
        }
        
        // latino_postcard mailer
        $(".latino_brochure_mailer").click(function() {
            if ($(this).val() == "Walsworth to mail brochures") {
                $("#latino_brochure_walsworth_mailer").show();
            } else {
                $("#latino_brochure_walsworth_mailer").hide();
            }
        });
        
        $(".latino_brochure_mailer").each(function() {
            if ($(this).val() == "Walsworth to mail brochures" && $(this).is(":checked")) {
                $("#latino_brochure_walsworth_mailer").show();
            } else {
                $("#latino_brochure_walsworth_mailer").hide();
            }
        });
        
        
	$("#Other_Material_Info").focus(function(){
		var str = String($("#Other_Material_Info").val());
		if(str.toLowerCase() == "" || str.toLowerCase() == "tell us about the material that you are looking for."){
			$("#Other_Material_Info").val("");
		}
	});
	
	$("#Other_Material_Info").blur(function(){
		var str = String($("#Other_Material_Info").val());
		if(str.toLowerCase() == "" || str.toLowerCase() == "tell us about the material that you are looking for."){
			$("#Other_Material_Info").val("Tell us about the material that you are looking for.");
		}
	});
		
	//extra error trapping
	
	$("#brochure #brochureright fieldset .radiobutton").click(function(){
		var index = $("#brochure #brochureright fieldset .radiobutton").index(this);
		$("#brochure #brochureright fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	//latino fliers
	$("#latino_flier #latino_flier_left fieldset .radiobutton").click(function(){
		var index = $("#latino_flier #latino_flier_left fieldset .radiobutton").index(this);
		$("#latino_flier #latino_flier_left fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	$("#latino_flier_messages fieldset .radiobutton").click(function(){
		var index = $("#latino_flier_messages fieldset .radiobutton").index(this);
		$("#latino_flier_messages fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	//latino postcard 1 size
	$("#latino_postcards #latino_postcards_left fieldset .lp_sm").click(function(){
		var index = $("#latino_postcards #latino_postcards_left fieldset .lp_sm").index(this);
		$("#latino_postcards #latino_postcards_left fieldset .lp_sm").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	//latino postcard 2 size
	$("#latino_postcards #latino_postcards_left fieldset .lp_lg").click(function(){
		var index = $("#latino_postcards #latino_postcards_left fieldset .lp_lg").index(this);
		$("#latino_postcards #latino_postcards_left fieldset .lp_lg").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	$("#latino_postcards_messages .radiobutton").click(function(){
		var index = $("#latino_postcards_messages .radiobutton").index(this);
		$("#latino_postcards_messages .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	//latino brochures checkbox control
	$("#latino_brochures #latino_brochures_left fieldset .radiobutton").click(function(){
		var index = $("#latino_brochures #latino_brochures_left fieldset .radiobutton").index(this);
		$("#latino_brochures #latino_brochures_left fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	//brochures checkbox control
	$("#latino_brochures_messages fieldset .radiobutton").click(function(){
		var index = $("#latino_brochures_messages fieldset .radiobutton").index(this);
		$("#latino_brochures_messages fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	//latino banners checkbox control
	$("#latino_banners #latino_banners_left fieldset .radiobutton").click(function(){
		var index = $("#latino_banners #latino_banners_left fieldset .radiobutton").index(this);
		$("#latino_banners #latino_banners_left fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	$("#latino_banners #latino_banners_right fieldset .radiobutton").click(function(){
		var index = $("#latino_banners #latino_banners_right fieldset .radiobutton").index(this);
		$("#latino_banners #latino_banners_right fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
		if(this.id != "latino_banners_2"){$("#latinobannerother").hide("fast");}
	});
	
	//banner checkbox control
	$("#banner #bannerleft fieldset .radiobutton").click(function(){
		var index = $("#banner #bannerleft fieldset .radiobutton").index(this);
		$("#banner #bannerleft fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});

	$("#banner #bannerright fieldset .radiobutton").click(function(){
		var index = $("#banner #bannerright fieldset .radiobutton").index(this);
		$("#banner #bannerright fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
		if(this.id != "banners_2"){$("#bannerother").hide("fast");}
	});	
	
	
	//latino_banners_2
	$("#latinobannerother").hide();
	$("#latino_banners_2").click(function(){
		if($(this).is(":checked")){
			$("#latinobannerother").show();
		}else{
			$("#latinobannerother").hide();
		}
	});
	
	//banners_2
	$("#bannerother").hide();
	$("#banners_2").click(function(){
		if($(this).is(":checked")){
			$("#bannerother").show();
		}else{
			$("#bannerother").hide();
		}
	});
	
	//sticker checkbox control
	$("#stickers #stickerleft fieldset .radiobutton").click(function(){
		var index = $("#stickers #stickerleft fieldset .radiobutton").index(this);
		$("#stickers #stickerleft fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	$("#stickers #stickerright fieldset .radiobutton").click(function(){
		var index = $("#stickers #stickerright fieldset .radiobutton").index(this);
		$("#stickers #stickerright fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
		if(this.id != "radiobutton_10") {$(".stickerother").hide("fast");}
	});
	
	
	
	//bookmarks checkbox control
	$("#bookmarks #bookmarkleft fieldset .radiobutton").click(function(){
		var index = $("#bookmarks #bookmarkleft fieldset .radiobutton").index(this);
		$("#bookmarks #bookmarkleft fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	$("#bookmarks #bookmarkorientation fieldset .radiobutton").click(function(){
		var index = $("#bookmarks #bookmarkorientation fieldset .radiobutton").index(this);
		$("#bookmarks #bookmarkorientation fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	$("#bookmarks #bookmarkcopyfront fieldset .radiobutton").click(function(){
		var index = $("#bookmarks #bookmarkcopyfront fieldset .radiobutton").index(this);
		$("#bookmarks #bookmarkcopyfront fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
		if(this.id != "radiobutton_12"){$($(".bookmarkother").get(0)).hide("fast");}
	});
	
	$("#bookmarks #bookmarkcopyright fieldset .radiobutton").click(function(){
		var index = $("#bookmarks #bookmarkcopyright fieldset .radiobutton").index(this);
		$("#bookmarks #bookmarkcopyright fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
		if(this.id != "radiobutton_11"){$($(".bookmarkbackother").get(0)).hide("fast");}
	});

	
	
	
	//brochures checkbox control
	$("#brochure #brochureleft fieldset .radiobutton").click(function(){
		var index = $("#brochure #brochureleft fieldset .radiobutton").index(this);
		$("#brochure #brochureleft fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	
	//giftcert checkbox control
	$("#giftcert #giftcertleft fieldset .radiobutton").click(function(){
		var index = $("#giftcert #giftcertleft fieldset .radiobutton").index(this);
		$("#giftcert #giftcertleft fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	$("#giftcert #giftcertright fieldset .radiobutton").click(function(){
		var index = $("#giftcert #giftcertright fieldset .radiobutton").index(this);
		$("#giftcert #giftcertright fieldset .radiobutton").each(function(i, el){
				if(i != index)el.checked = false;
		});
	});
	
	
	//fliers checkbox control
	
	$("#fliers #flierleft fieldset .radiobutton").click(function(){
		var index = $("#fliers #flierleft fieldset .radiobutton").index(this);
		$("#fliers #flierleft fieldset .radiobutton").each(function(i, el){
			if(i != index)el.checked = false;
		});
	});	
	
	//audience1
	$("#fliers #flierright fieldset .audience1").click(function(){
		var index = $("#fliers #flierright fieldset .audience1").index(this);
		$("#fliers #flierright fieldset .audience1").each(function(i, el){
			if(i != index)el.checked = false;
		});
	});	
	//audience2
	$("#fliers #flierright fieldset .audience2").click(function(){
		var index = $("#fliers #flierright fieldset .audience2").index(this);
		$("#fliers #flierright fieldset .audience2").each(function(i, el){
			if(i != index)el.checked = false;
		});
		if(this.id != "radiobutton_8"){
			$(".flierother").hide("fast")
		}
	});	
		
	
	//cover poster checkbox control
	$("#coverposter #coverposterleft fieldset .radiobutton1").click(function(){
		var index = $("#coverposter #coverposterleft fieldset .radiobutton1").index(this);
		$("#coverposter #coverposterleft fieldset .radiobutton1").each(function(i, el){
			if(i != index)el.checked = false;
		});
		$("#coverposter #coverposterleft fieldset .otherradio").get(0).checked = false;
	});
	
	$("#coverposter #coverposterleft fieldset .radiobutton2").click(function(){
		var index = $("#coverposter #coverposterleft fieldset .radiobutton2").index(this);
		$("#coverposter #coverposterleft fieldset .radiobutton2").each(function(i, el){
			if(i != index)el.checked = false;
		});
		$("#coverposter #coverposterleft fieldset .otherradio").get(0).checked = false;
	});
	
	$("#coverposter #coverposterleft fieldset .otherradio").click(function(){
		var index = $("#coverposter #coverposterleft fieldset .radiobutton").index(this);
		$("#coverposter #coverposterleft fieldset .radiobutton1, #coverposter #coverposterleft fieldset .radiobutton2").each(function(i, el){
			if(i != index){
				el.checked = false;
			}
		});
	});
	
	$("#coverposter #coverposterright fieldset .radiobutton").click(function(){
		var index = $("#coverposter #coverposterright fieldset .radiobutton").index(this);
		var last = $("#coverposter #coverposterright fieldset .radiobutton").get().length - 1;
		$("#coverposter #coverposterright fieldset .radiobutton").each(function(i, el){
			if(i != index){
				el.checked = false;
			}
		});
		if(this.id != "radiobutton_14"){$(".coverposterother").hide("fast")}
	});
	
	$("#radiobutton_14").click(function(){
		if($(this).is(":check")){
			$(".coverposterother").show("fast");
		}
	});
	
	
	//postcards checkbox control
	$("#postcards #postcardleft fieldset .radiobutton1").click(function(){
		var index = $("#postcards #postcardleft fieldset .radiobutton1").index(this);
		$("#postcards #postcardleft fieldset .radiobutton1").each(function(i, el){
			if(i != index)el.checked = false;
		});
		$("#postcards #postcardleft fieldset .otherradio").get(0).checked = false;
	});
	
	$("#postcards #postcardleft fieldset .radiobutton2").click(function(){
		var index = $("#postcards #postcardleft fieldset .radiobutton2").index(this);
		$("#postcards #postcardleft fieldset .radiobutton2").each(function(i, el){
			if(i != index)el.checked = false;
		});
		$("#postcards #postcardleft fieldset .otherradio").get(0).checked = false;
	});
	$("#postcards #postcardleft fieldset .otherradio").click(function(){
		var index = $("#postcards #postcardleft fieldset .radiobutton").index(this);
		$("#postcards #postcardleft fieldset .radiobutton1, #postcards #postcardleft fieldset .radiobutton2").each(function(i, el){
			if(i != index){
				el.checked = false;
			}
		});
	});
	
	//audience1
	$("#postcards #postcardright fieldset .audience1").click(function(){
		var index = $("#postcards #postcardright fieldset .audience1").index(this);
		$("#postcards #postcardright fieldset .audience1").each(function(i, el){
			if(i != index)el.checked = false;
		});
	});	
	//audience2
	$("#postcards #postcardright fieldset .audience2").click(function(){
		var index = $("#postcards #postcardright fieldset .audience2").index(this);
		$("#postcards #postcardright fieldset .audience2").each(function(i, el){
			if(i != index)el.checked = false;
		});
		if(this.id != "radiobutton_9"){$(".postcardother").hide("fast")}
	});	
	
	
	//posters checkbox control
	$("#posters #posterleft fieldset .radiobutton1").click(function(){
		var index = $("#posters #posterleft fieldset .radiobutton1").index(this);
		$("#posters #posterleft fieldset .radiobutton1").each(function(i, el){
			if(i != index)el.checked = false;
		});
		$("#posters #posterleft fieldset .otherradio").get(0).checked = false;
	});
	
	$("#posters #posterleft fieldset .radiobutton2").click(function(){
		var index = $("#posters #posterleft fieldset .radiobutton2").index(this);
		$("#posters #posterleft fieldset .radiobutton2").each(function(i, el){
			if(i != index)el.checked = false;
		});
		$("#posters #posterleft fieldset .otherradio").get(0).checked = false;
	});
	
	$("#posters #posterright fieldset .radiobutton").click(function(){
		var index = $("#posters #posterright fieldset .radiobutton").index(this);
		$("#posters #posterright fieldset .radiobutton").each(function(i, el){
	 	    $(".posterother").hide("fast");
			if(i != index){
				el.checked = false;
			}
		});
		
	});
	
	$("#posters #posterleft fieldset .otherradio").click(function(){
		var index = $("#posters #posterleft fieldset .radiobutton").index(this);
		$("#posters #posterleft fieldset .radiobutton1, #posters #posterleft fieldset .radiobutton2").each(function(i, el){
			if(i != index){
				el.checked = false;
			}
		});
	});	
	

	
	$("#Poster_Copy_6").click(function(){
		if($(this).is(":checked")){
			$(".posterother").show();
		}else{
			$(".posterother").hide();
		}
	});

// Hide Quantities
// Posters
	$("div#posterleft #poster_qty").css("display","none");
	$(".poster_qty").click(function(){
		if($(this).attr("id") == "Poster_Qty_11x17_Other"){
			$("#poster_qty_11x17").show();
		}else{
			$("#poster_qty_11x17").hide();
		}
        
        if($(this).attr("id") == "Poster_Qty_14x22_Other"){
			$("#poster_qty_14x22").show();
		}else{
			$("#poster_qty_14x22").hide();
		}
	});
    
// Yearbook Cover Poster
    $("div#coverposterleft #coverposter_qty").css("display","none");
	$(".poster_qty").click(function(){
		if($(this).attr("id") == "Poster_Qty_11x17_Other"){
			$("#poster_qty_11x17").show();
		}else{
			$("#poster_qty_11x17").hide();
		}
        
        if($(this).attr("id") == "Poster_Qty_14x22_Other"){
			$("#poster_qty_14x22").show();
		}else{
			$("#poster_qty_14x22").hide();
		}
	});
    
	$("div#coverposterleft #coverposter_qty").css("display","none");
	$(".cover_qty").click(function(){
		if($(this).attr("id") == "Cover_Qty_11x17_Other"){
			$("#cover_qty_11x17").show();
		}else{
			$("#cover_qty_11x17").hide();
		}
        
        if($(this).attr("id") == "Cover_Qty_14x22_Other"){
			$("#cover_qty_14x22").show();
		}else{
			$("#cover_qty_14x22").hide();
		}
	});
	
// Fliers

	$("div#flierleft #flier_qty").css("display","none");
	$("#Flier_Quantity_Special_Request").click(function(){
		if($("#Flier_Quantity_Special_Request").is(":checked")){
			$("#flier_qty").show();
		}else{
			$("#flier_qty").hide();
		}
	});
	
// Postcards

	$("div#postcardleft #postcard_qty").css("display","none");
	$(".postcard_qty").click(function(){
		if($(this).attr("id") == "Postcard_Qty_4x6_Other"){
			$("#postcard_qty_4x6").show();
		}else{
			$("#postcard_qty_4x6").hide();
		}
        
        if($(this).attr("id") == "Postcard_Qty_5x8_Other"){
			$("#postcard_qty_5x8").show();
		}else{
			$("#postcard_qty_5x8").hide();
		}
	});
    
// Envelopes

	$("div#envelopesleft #envelope_qty").css("display","none");
	$("#Envelope_Quantity_Special_Request").click(function(){
		if($("#Envelope_Quantity_Special_Request").is(":checked")){
			$("#envelope_qty").show();
		}else{
			$("#envelope_qty").hide();
		}
	});
	
// Bookmarks

	$("div#bookmarkleft #bookmark_qty").css("display","none");
	$("#Bookmark_Quantity_Special_Request").click(function(){
		if ($("#Bookmark_Quantity_Special_Request").is(":checked"))
		{
			$("#bookmark_qty").show();
		}
		else
		{
			$("#bookmark_qty").hide();
		}
	});    

// Order Cards

	$("div#orderleft #order_qty").css("display","none");
	$(".order_qty").click(function(){
		if ($(this).attr("id") == "Order_Quantity_Special_Request")
		{
			$("#order_qty").show();
		}
		else
		{
			$("#order_qty").hide();
		}
	});
    
    $(".order_copy").each(function() {
        if ($(this).attr("checked") && $(this).attr("id") == "radiobutton_92") {
            $(".orderother").show();
        } else {
            $(".orderother").hide();
        }
    });
    
    $(".order_copy").click(function() {
        if ($(this).attr("id") == "radiobutton_92") {
            $(".orderother").show();
        } else {
            $(".orderother").hide();
        }
    });
        
// Stickers

	$("div#stickerleft #sticker_qty").css("display","none");
	$(".sticker_qty").click(function(){
		if ($(this).attr("id") == "Sticker_Quantity_Special_Request")
		{
			$("#sticker_qty").show();
		}
		else
		{
			$("#sticker_qty").hide();
		}
	});
    
// Bought Stickers

	$("div#sticker2left #sticker2_qty").css("display","none");
	$(".sticker2_qty").click(function(){
		if ($(this).attr("id") == "Sticker2_Quantity_Special_Request")
		{
			$("#sticker2_qty").show();
		}
		else
		{
			$("#sticker2_qty").hide();
		}
	});
	
// Brochures

	$("div#brochureleft #brochure_qty").css("display","none");
	$(".brochure_qty").click(function(){
		if ($(this).attr("id") == "Brochure_Quantity_Special_Request")
		{
			$("#brochure_qty").show();
		}
		else
		{
			$("#brochure_qty").hide();
		}
	});
	
// Gift Certificates

	$("div#giftcertleft #giftcert_qty").css("display","none");
    $(".gc_qty").click(function(){
		if ($(this).attr("id") == "Gift_Certificate_Quantity_Special_Request")
		{
			$("#giftcert_qty").show();
		}
		else
		{
			$("#giftcert_qty").hide();
		}
	});
    
// Vertical Vinyl Banners

	$("div#bannerleft #banner_qty").css("display","none");
    $(".banner_qty").click(function(){
		if ($(this).attr("id") == "Banner_Quantity_Special_Request")
		{
			$("#banner_qty").show();
		}
		else
		{
			$("#banner_qty").hide();
		}
	});
    
// Distribution Inserts

	$("div#insertsleft #inserts_qty").css("display","none");
    $(".inserts_qty").click(function(){
		if ($(this).attr("id") == "Distribution_Inserts_Quantity_Special_Request")
		{
			$("#inserts_qty").show();
		}
		else
		{
			$("#inserts_qty").hide();
		}
	});
    
// Supporter Cards

	$("div#supporterleft #supporter_qty").css("display","none");
    $(".supporter_qty").click(function(){
		if ($(this).attr("id") == "Supporter_Quantity_Special_Request")
		{
			$("#supporter_qty").show();
		}
		else
		{
			$("#supporter_qty").hide();
		}
	});
    
// Latino Fliers

	$("div#latino_flier_left #latino_flier_qty").css("display","none");
	$("#Latino_Flier_Quantity_Special_Request").click(function(){
		if($("#Latino_Flier_Quantity_Special_Request").is(":checked")){
			$("#latino_flier_qty").show();
		}else{
			$("#latino_flier_qty").hide();
		}
	});		
	
// Latino Postcards

	$("div#latino_postcards_left #latino_postcard_qty").css("display","none");
	$("#Latino_Postcard_Qty_4x6_Other").click(function(){
		if($("#Latino_Postcard_Qty_4x6_Other").is(":checked")){
			$("#latino_postcard_qty_4x6").show();
		}else{
			$("#latino_postcard_qty_4x6").hide();
		}
	});	
    $("#Latino_Postcard_Qty_5x8_Other").click(function(){
		if($("#Latino_Postcard_Qty_5x8_Other").is(":checked")){
			$("#latino_postcard_qty_5x8").show();
		}else{
			$("#latino_postcard_qty_5x8").hide();
		}
	});		
	
// Latino Self Mailer

	$("div#latino_brochures_left #latino_brochure_qty").css("display","none");
	$("#Latino_Brochure_Quantity_Special_Request").click(function(){
		if($("#Latino_Brochure_Quantity_Special_Request").is(":checked")){
			$("#latino_brochure_qty").show();
		}else{
			$("#latino_brochure_qty").hide();
		}
	});		
	
// Latino Vertical Vinyl Banners

	$("div#latino_banners_left #latino_banner_qty").css("display","none");
	$("#Latino_Banner_Quantity_Special_Request").click(function(){
		if($("#Latino_Banner_Quantity_Special_Request").is(":checked")){
			$("#latino_banner_qty").show();
		}else{
			$("#latino_banner_qty").hide();
		}
	});		
		
});
