<!--

function submithidden(formref) {
	formref.action = 'https:\/\/www.paypal.com\/cgi-bin\/webscr';
	formref.cmd.value = '_cart';
	formref.business.value = 'woolmine@eidnet.org';
}



function includeEmail() {

var f = document.PayPalForm;
var name = "woolmine";
var at = "@";
var url = "eidnet.org";
f.business.value = name + at + url;
return true;

}


function buttonBuilder(productName,productPrice) {

document.write ('<form style="padding: 0; border: 0; margin: 0;" target="paypal" method="post" name="PayPalForm" onsubmit="submithidden(this)">');
document.write ('<input type="hidden" name="cmd" value="">');
document.write ('<input type="hidden" name="business" value="">');
document.write ('<input type="hidden" name="item_name" value="' + productName + '">');
document.write ('<input type="hidden" name="amount" value="' + productPrice + '">');
document.write ('<input type="hidden" name="return" value="http://www.woolmine.com/pages/store/thanks.php">');
document.write ('<input type="hidden" name="cancel_return" value="http://www.woolmine.com/pages/store/cancel.php">');
//document.write ('<input type="hidden" name="cn" value="">');
document.write ('<input type="hidden" name="currency_code" value="CAD">');
document.write ('<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif" border="0" vspace="3" hspace="3" name="submit" alt="Make payments with PayPal - it"s fast, free and secure!">');
document.write ('<input type="hidden" name="add" value="1">');
document.write ('<input type="hidden" name="bn" value="PP-ShopCartBF">');
document.write ('<input type="hidden" name="no_shipping" value="2">');
document.write ('<input type="hidden" name="no_note" value="1">');
document.write ('</form>');





}

-->