function preselect() {
	document.ppform.amount.options[0].selected = true;
	document.ppform.on0.value = document.ppform.amount.options[document.ppform.amount.selectedIndex].text;
}

function changePrice() {
	document.ppform.on0.value = document.ppform.amount.options[document.ppform.amount.selectedIndex].text;
}

function changeCurrencySign(sign) {
var add = "$";
	for (var i=0; i<document.ppform.amount.options.length; i++) {
	    out = "|"; // replace this
	    if (sign == "pounds"){
             add = "£"; // with this
            }
	    if (sign == "euros"){
             add = "€"; // with this
            }
	    if (sign == "yen"){
             add = "¥"; // with this
            }
	    if (sign == "dollars"){
             add = "$"; // with this
            }
            if (sign == ""){
             add = "und"; // with this
            }
	    temp = "" + document.ppform.amount.options[i].text; // temporary holder
	
	    while (temp.indexOf(out)>-1) {
	    pos= temp.indexOf(out);
	    temp = "" + (temp.substring(0, pos) + add + 
	    temp.substring((pos + out.length), temp.length));
	    }
	    document.ppform.amount.options[i].text = temp;	
	}
}