<?php header("Content-type: text/html; charset=utf-8");
header("Last-Modified: " . gmdate("D, d M Y H:i:s", getlastmod()) . " GMT");
ob_start();
$gzipthis = (filesize(__FILE__)>65535);
if($gzipthis) ob_start("ob_gzhandler");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Type" content="application/xhtml\+xml; charset=utf-8" />
<meta http-equiv="Content-Language" content="en-gb" />
<link rel="stylesheet" type="text/css" href="../genstyles.css" />
<title>Untitled 1</title>
<link rel="search" href="/search.html" />
<link rel="author" href="/Niall_stuff/vdiary/bio.html" />
</head>
<body>
<center><div style="width: 80%; border: thick; border-style: double; text-align: center;">
<p><img alt="A pint of beer" style="float:left; margin-right: 8px" src="costacoffee.jpg" /><img alt="A pint of beer" style="float:right" src="beamishPint.png" />Would you like to buy Niall a beer/coffee to thank him for writing & maintaining this page?
A beer or coffee costs around £2.99 here in Cork, Ireland.</p>
<p>Thanks to recent donators: <strong>James P, Felix W, David F</strong></p>
<iframe id="currencyframe" width="300" height="160" src="donatesrc.html" frameborder="0" marginwidth="0" marginheight="0" allowtransparency="true" scrolling="no"></iframe>
<script type="text/javascript"><!--
function TogglePaymentOptions()
{
if(document.getElementById("paymentoptions").style.display=='block')
{
document.getElementById("paymentoptions").style.display='none';
document.getElementById("togglepaymenttext").innerText='Click to show Payment Options';
}
else
{
document.getElementById("paymentoptions").style.display='block';
document.getElementById("togglepaymenttext").innerText='Click to hide Payment Options';
}
}
//--></script>
<p><a id="togglepaymenttext" href="javascript:TogglePaymentOptions()">
Click to show Payment Options</a></p>
<table id="paymentoptions" style="width: 100%; display: none;">
<tr><td colspan="2">Amount to donate:
£<input id="donateamount" size="5" type="text" value="2.99" onkeyup="javascript:calcPayments()" onchange="javascript:calcPayments()" />
</td>
</tr>
<tr>
<td valign="top">After fees =£<span id="paypaloutput">+3.9%+£0.20</span> via Paypal (takes debit & credit
cards without needing prior account creation):</td>
<td>
<form name="_xclick" action="https://www.paypal.com/us/cgi-bin/webscr" method="post">
<div><input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="SSRDT9SCPM8H4" />
<input type="hidden" name="item_name" value="One coffee or beer for Niall" />
<input type="hidden" name="currency_code" value="GBP" />
<input type="hidden" name="amount" value="3.47" />
<input alt="" src="paypal.png" type="image" />
</div></form>
</td>
</tr>
<tr>
<td valign="top">After fees =£<span id="googleoutput">+3.5%+£0.20</span> via Google Checkout:</td>
<td>
<form action="https://checkout.google.com/cws/v2/Merchant/816503374014798/checkoutForm" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm">
<div><input name="item_name_1" type="hidden" value="One coffee or beer for Niall"/>
<input name="item_description_1" type="hidden" value=""/>
<input name="item_quantity_1" type="hidden" value="1"/>
<input name="item_price_1" type="hidden" value="3.29"/>
<input name="item_currency_1" type="hidden" value="GBP"/>
<input name="_charset_" type="hidden" value="utf-8"/>
<input alt="" src="https://checkout.google.com/buttons/buy.gif?merchant_id=816503374014798&w=121&h=44&style=white&variant=text&loc=en_US" type="image"/>
</div></form>
</td>
</tr>
</table>
<script type="text/javascript"><!--
function calcPayments() {
var v=Math.round(+document.getElementById("donateamount").value*100)/100.0;
var paypalv=(v*1.039)+0.2;
paypalv=Math.round(paypalv*100)/100.0;
document.getElementById("paypaloutput").innerHTML=paypalv;
document.forms["_xclick"].amount.value=paypalv;
var googlev=(v*1.034)+0.2;
googlev=Math.round(googlev*100)/100.0;
document.getElementById("googleoutput").innerHTML=googlev;
document.forms["BB_BuyButtonForm"].item_price_1.value=googlev;
}
calcPayments();
//--></script>
</div></center>
</body>
</html>
<?php if($gzipthis) ob_end_flush();
header("Content-Length: " .ob_get_length());
ob_end_flush();
?>