// JavaScript Document
//Builds inline Paypal Form with item name, description and price
function buildForm(itemName,itemNumber,amount) {
	document.writeln( '<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal" class="buybutton">');
	document.writeln( '<input type="hidden" name="item_name" value="'+itemName+'">');
	document.writeln( '<input type="hidden" name="item_number" value="'+itemNumber+'">');
	document.writeln( '<input type="hidden" name="amount" value="'+amount+'">');
	document.writeln( '<input type="hidden" name="cmd" value="_cart">');
	document.writeln( '<input type="hidden" name="business" value="sales@officecartridges.com">');
	document.writeln( '<input type="hidden" name="image_url" value="https://secure8.hostek.net/secure1/carbyparts/Logo_officecartridges.gif">');
	document.writeln( '<input type="hidden" name="return" value="http://www.newteksoftware.com/office/thankyou.html">');
	document.writeln( '<input type="hidden" name="cancel_return" value="http://www.newteksoftware.com/office/selfclose.html">');
	document.writeln( '<input type="hidden" name="currency_code" value="USD">');
	document.writeln( '<input type="hidden" name="undefined_quantity" value="1">');
	document.writeln( '<input type="hidden" name="no_shipping" value="0">');
	document.writeln( '<input type="hidden" name="no_note" value="0">');
	document.writeln( '<input type="hidden" name="add" value="1">');
	document.writeln( '<input type="image" src="images/BuyButton.gif" border="0" name="submit2" alt="Make payments with PayPal - it\'s fast, free and secure!">');
	document.writeln( '</form>');
}