function clearText(Element,strDefaultValue){if(Element.value==strDefaultValue){Element.value="";}}
function checkText(Element,strDefaultValue){if(Element.value==""){Element.value=strDefaultValue;}}
function RecommendCategory(){var strAnswerReuse=$('#AnswerReuse').val();var strAnswerSelfAdhesive=$('#AnswerSelfAdhesive').val();var strAnswerHolderInsert=$('#AnswerHolderInsert').val();var strAnswerCompatible=$('#AnswerCompatible').val();var strAnswerALotInformation=$('#AnswerALotInformation').val();var strAnswerLongerYear=$('#AnswerLongerYear').val();$("#SelfAdhesiveWrap").addClass("Hide");$("#HolderInsertWrap").addClass("Hide");$("#CompatibleWrap").addClass("Hide");$("#ALotInformationWrap").addClass("Hide");$("#LongerYearWrap").addClass("Hide");$("#RecommendInstructions").addClass("Hide");$("#RecommendWraptags").addClass("Hide");$("#RecommendBasicTags").addClass("Hide");$("#RecommendBasicLaminatedTags").addClass("Hide");$("#RecommendWideFormatTags").addClass("Hide");$("#RecommendNarrowFormatwithLaminatedInserts").addClass("Hide");$("#RecommendNarrowFormatwithVinylInserts").addClass("Hide");if(strAnswerReuse=="no"){$("#SelfAdhesiveWrap").removeClass("Hide");if(strAnswerSelfAdhesive=="yes"){$("#RecommendInstructions").removeClass("Hide");$("#RecommendWraptags").removeClass("Hide");}else if(strAnswerSelfAdhesive=="no"){$("#RecommendInstructions").removeClass("Hide");$("#RecommendBasicTags").removeClass("Hide");}}else if(strAnswerReuse=="yes"){$("#HolderInsertWrap").removeClass("Hide");if(strAnswerHolderInsert=="no"){$("#RecommendInstructions").removeClass("Hide");$("#RecommendBasicLaminatedTags").removeClass("Hide");}else if(strAnswerHolderInsert=="yes"){$("#CompatibleWrap").removeClass("Hide");if(strAnswerCompatible=="no"){$("#ALotInformationWrap").removeClass("Hide");if(strAnswerALotInformation=="no"){$("#RecommendInstructions").removeClass("Hide");$("#RecommendWideFormatTags").removeClass("Hide");}else if(strAnswerALotInformation=="yes"){$("#LongerYearWrap").removeClass("Hide");if(strAnswerLongerYear=="no"){$("#RecommendInstructions").removeClass("Hide");$("#RecommendNarrowFormatwithLaminatedInserts").removeClass("Hide");}else if(strAnswerLongerYear=="yes"){$("#RecommendInstructions").removeClass("Hide");$("#RecommendNarrowFormatwithVinylInserts").removeClass("Hide");}}}else if(strAnswerCompatible=="yes"){$("#LongerYearWrap").removeClass("Hide");if(strAnswerLongerYear=="no"){$("#RecommendInstructions").removeClass("Hide");$("#RecommendNarrowFormatwithLaminatedInserts").removeClass("Hide");}else if(strAnswerLongerYear=="yes"){$("#RecommendInstructions").removeClass("Hide");$("#RecommendNarrowFormatwithVinylInserts").removeClass("Hide");}}}}}
function CopyAddress(){with(document.RegisterForm){DeliveryAddressLine1.value=BillingAddressLine1.value;DeliveryAddressLine2.value=BillingAddressLine2.value;DeliveryAddressLine3.value=BillingAddressLine3.value;DeliveryTown.value=BillingTown.value;DeliveryCounty.value=BillingCounty.value;DeliveryPostcode.value=BillingPostcode.value;DeliveryCountryID.value=BillingCountryID.value;}}
