document.writeln("<style>")
document.writeln(".pledgebox")
document.writeln("{")
document.writeln("	border: 1px solid #999999; ")

document.writeln("	font-family: Arial, Helvetica, Georgia, Geneva,sans-serif;	")

document.writeln("	padding:0.5em;")
document.writeln("	font-size:12px%;")
document.writeln("	width: 125px;")
document.writeln("	height: 125px;")
document.writeln("}")
document.writeln(".boxtext")
document.writeln("{")
document.writeln("	background: transparent;")
document.writeln("	color: #666666;")
document.writeln("	font-family: Arial,Helvetica,sans-serif;")
document.writeln("	font-size: 70%; ")
document.writeln("	line-height: 120%;")
document.writeln("}")
document.writeln("</style>")
document.writeln("<script type='text/javascript'>")
document.writeln("function fncModestPledge(objForm)")
document.writeln("{")
document.writeln("	var lngOption;")
document.writeln("	lngOption = objForm.cboPledge.options[objForm.cboPledge.selectedIndex].value;")
document.writeln("")
document.writeln("	// Set hidden fields then submit")
document.writeln("	switch (lngOption) ")
document.writeln("	{ ")
document.writeln("	   case '2' : ")
document.writeln("	      objForm.item_name.value = 'Modest Needs - $2 Monthly Pledge';")
document.writeln("	      objForm.a3.value = '2.00';")
document.writeln("	      break; ")
document.writeln("	   case '5' : ")
document.writeln("	      objForm.item_name.value = 'Modest Needs - $5 Monthly Pledge';")
document.writeln("	      objForm.a3.value = '5.00';")
document.writeln("	      break; ")
document.writeln("	   case '10' : ")
document.writeln("	      objForm.item_name.value = 'Modest Needs - $10 Monthly Pledge';")
document.writeln("	      objForm.a3.value = '10.00';")
document.writeln("	      break; ")
document.writeln("	   case '25' : ")
document.writeln("	      objForm.item_name.value = 'Modest Needs - $25 Monthly Pledge';")
document.writeln("	      objForm.a3.value = '25.00';")
document.writeln("	      break; ")
document.writeln("	   case '50' : ")
document.writeln("	      objForm.item_name.value = 'Modest Needs - $50 Monthly Pledge';")
document.writeln("	      objForm.a3.value = '50.00';")
document.writeln("	      break; ")
document.writeln("	   case '100' :") 
document.writeln("	      objForm.item_name.value = 'Modest Needs - $100 Monthly Pledge';")
document.writeln("	      objForm.a3.value = '100.00';")
document.writeln("	      break; ")
document.writeln("	   case '250' :") 
document.writeln("	      objForm.item_name.value = 'Modest Needs - $250 Monthly Pledge';")
document.writeln("	      objForm.a3.value = '250.00';")
document.writeln("	      break; ")
document.writeln("	   case '500' :") 
document.writeln("	      objForm.item_name.value = 'Modest Needs - $500 Monthly Pledge';")
document.writeln("	      objForm.a3.value = '500.00';")
document.writeln("	      break; ")
document.writeln("	   default : ")
document.writeln("	      break; ")
document.writeln("	      return false;")
document.writeln("	} ")
document.writeln("	objForm.submit();")
document.writeln("	return true;")
document.writeln("}")
document.writeln("</script>")
document.writeln("<div class='pledgebox'>")
document.writeln("	<form style='float: left;font-size:12px;' action='https://www.paypal.com/cgi-bin/webscr' target='_blank' method='post' id='frmPledge' onsubmit='fncModestPledge(this);'>")
document.writeln("		<div>")
document.writeln("			<input type='image' src='http://modestneeds.org/images/btn_pledge_web.gif' name='cmdSubmitPledge'/><br />		")
document.writeln("			<input type='hidden' name='cmd' value='_xclick-subscriptions' />")
document.writeln("			<input type='hidden' name='business' value='give@modestneeds.org' />")
document.writeln("			<input type='hidden' name='item_name' value='Modest Needs - Monthly Pledge' />")
document.writeln("			<input type='hidden' name='a3' value='2.00' />")
document.writeln("			<input type='hidden' name='p3' value='30' />")
document.writeln("			<input type='hidden' name='t3' value='D' />")
document.writeln("			<input type='hidden' name='src' value='1' />")
document.writeln("			<input type='hidden' name='sra' value='1' />")
document.writeln("			<select name='cboPledge' style='width: 120px; font-size:10px'>")
document.writeln("			<option value='2'>$2.00</option>")
document.writeln("			<option value='5'>$5.00</option>")
document.writeln("			<option selected='selected' value='10'>$10.00</option>")
document.writeln("			<option value='25'>$25.00</option>")
document.writeln("			<option value='50'>$50.00</option>")
document.writeln("			<option value='100'>$100.00</option>")
document.writeln("			<option value='250'>$250.00</option>")
document.writeln("			<option value='500'>$500.00</option>")
document.writeln("			</select>")
document.writeln("		</div>")
document.writeln("	</form>")
document.writeln("	<p class='boxtext'>a month to <a href='http://modestneeds.org/' target='_blank'>Modest Needs</a> via Paypal.")
document.writeln("	 <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_help-ext&leafid=2381' target='_blank'>Cancel info</a>.</p>")
document.writeln("</div>")
