<!-- Discount Card Checking  -->

//function for Display Brand Product Images
  function checkDiscountCard(id) {
 
	if(id==1) { 
			document.getElementById('addressForm').innerHTML = 'Thank you for applying for the NHScashback discount card. We will post the card to you within 7 working days. Don\'t forget to tell all your friends about these cards - they are FREE for all NHS Staff!';
			
	}
	if(id==0) {
		
		document.getElementById('hdnStatus').value=1;
		document.getElementById('hideField').style.visibility = 'hidden'; 
		document.getElementById('textHide').style.visibility = 'hidden';
		document.getElementById('hideLink').style.visibility = 'hidden'; 
		document.getElementById('hideEmail').style.visibility = 'hidden'; 
		document.getElementById('hideQuestion').style.visibility = 'hidden';
		document.getElementById('addressField1').style.visibility = 'hidden';
		document.getElementById('cardText').innerHTML ="Please fill the complete address details in the form below and click the Confirm Address button. If you have already filled in the details, please ensure these are correct and click on the Confirm Address button.";
		document.getElementById('updatepro').innerHTML ='<input type="submit" value="Confirm Address"  name="c" class="btngp">';
						
	}
   
   }
