images = new Array
imagealt = new Array
images[1] = "ams1.jpg"
imagealt[1] = 'Outdoor Installation in Amsterdam'
images[2] = "duck.jpg"
imagealt[2] = 'Theme Camp at Burning Man'
images[3] = "kaleidoscope.jpg"
imagealt[3] = 'Kaleidoscope project'
images[4] = "ship.jpg"
imagealt[4] = 'La Contessa at Burning Man'
images[4] = "liberty.jpg"
imagealt[4] = 'The Statue of Liberty'
randomimgs=new Array
randomalt=new Array

var pics=''
var pic_count=1
do {var rand=Math.round(Math.random()*3+1)
	if (pics.indexOf(rand)==-1)
		{
		randomimgs[pic_count] = images[rand];randomalt[pic_count] = imagealt[rand]
		pics=' '+pics+','+rand+' ';pic_count++
		}
	}
while (pic_count < 5)

document.write('<div class="top">')
document.write('	<a href="index.html"><img src="images/smartlogo_top.jpg" alt="SmART: Socially Motivated Art" height="110" align="left" style="border:5px white solid;" /></a>')
document.write('	<div align="right">')
document.write('		<table border="0" cellpadding="0" cellspacing="0">')
document.write('		<tr>		<td colspan="2" align="center" nowrap="nowrap">')//random pics
for (i=1;i<5;i++){document.write('<img height="80" border="2" src="images/random/' + randomimgs[i] + '" alt="'+randomalt[i]+'" />')}
document.write('		</td></tr>')
document.write('		<tr> ')
document.write('			<td align="center" class="small">')
//document.write('				<form name="form1" id="form1" method="post" action="">')
//document.write('				<input name="textfield" type="text" value="Search This Site" />')
//document.write('				<input name="Submit" type="submit" class="small" value="Go" />')
//document.write('				</form>')
//document.write('			</td>')
//document.write('			<td align="center" class="small">')
//document.write('				<form name="form1" id="form1" method="get" action="">')
//document.write('				<input name="Submit2" type="submit" class="small" value="Go" />')
//document.write('				</form>')
document.write('				<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="Austin Parks Donation Form" target="_blank" id="Austin Parks Donation Form">')
document.write('				<input type="hidden" value="_xclick" name="cmd" /><input type="hidden" value="apf@austinparks.org" name="business" /><input type="hidden" value="SMART Donation" name="item_name" /><input type="hidden" value="unrestricted" name="item_number" /><input type="hidden" value="1" name="no_note" /><input type="hidden" value="USD" name="currency_code" /><input type="hidden" value="0" name="tax" /><input name="no_note" type="hidden" id="no_note" value="0" /><input name="cn" type="hidden" id="cn" value="Giftee Name and Address" /><input name="cancel_return" type="hidden" id="cancel_return" value="http://www.smartaustin.org" /><input name="return" type="hidden" id="return" value="http://www.smartaustin.org" />')
document.write('				<input class="donate" type="submit" value="Donate to SmART via PayPal!" name="Submit" />')
document.write('				<a class="join" href="http://smartaustin.org/mailman/listinfo/smart_smartaustin.org">Join Our Mailing List</a>')
document.write('				</form>')
document.write('			</td>')
document.write('		</tr>')
document.write('		</table>')
document.write('	</div>')
document.write('</div>')
