

// update currency for monetary entry
function updateMon(value)
  {
  if (value == "US Dollar")
    {
    document.getElementById('currencyIdMon').value="US $";
    }
   
  else if (value == "Sterling UK")
    {
    document.getElementById('currencyIdMon').value=String.fromCharCode(0x0A3);
    }

  else if (value == "Australian Dollar")
    {
    document.getElementById('currencyIdMon').value="AUD $";
    }

  else if (value == "Euro")
    {
    document.getElementById('currencyIdMon').value=String.fromCharCode(0X20AC);
    }
  
  else if (value == "New Zealand Dollar")
    {
	document.getElementById('currencyIdMon').value="NZD $";    
    }
  }
  
  
  
  
 
  
// function to update currency ID when the currency is changed for later pages
function updateIdLater(value)
  {   
  if (value == "US Dollar")
    {
    document.getElementById('currencyTE').value="US $";
    document.getElementById('currencyOE').value="US $";
    document.getElementById('currencyOM').value="US $";
    document.getElementById('currencyT').value="US $";  
    }
   
  else if (value == "Sterling UK")
    {
    document.getElementById('currencyTE').value=String.fromCharCode(0x0A3);
    document.getElementById('currencyOE').value=String.fromCharCode(0x0A3);
    document.getElementById('currencyOM').value=String.fromCharCode(0x0A3);
    document.getElementById('currencyT').value=String.fromCharCode(0x0A3); 
    }

  else if (value == "Australian Dollar")
    {
    document.getElementById('currencyTE').value="AUD $";
    document.getElementById('currencyOE').value="AUD $";
    document.getElementById('currencyOM').value="AUD $";   
    document.getElementById('currencyT').value="AUD $";         
    }

  else if (value == "Euro")
    {
    document.getElementById('currencyTE').value=String.fromCharCode(0x20AC);    
    document.getElementById('currencyOE').value=String.fromCharCode(0x20AC);
    document.getElementById('currencyOM').value=String.fromCharCode(0x20AC); 
    document.getElementById('currencyT').value=String.fromCharCode(0x20AC);      
    }
    
  else if (value == "New Zealand Dollar")
    {
    document.getElementById('currencyTE').value="NZD $";
    document.getElementById('currencyOE').value="NZD $";
    document.getElementById('currencyOM').value="NZD $";         
    document.getElementById('currencyT').value="NZD $";              	    
    }          
  }   