// JavaScript Document//Descriptions to go with picsdescriptions = new Array(100);descriptions[1] = "My friend Samir from Cincinnati. He's really good at guitar and has a great voice."descriptions[2] = "My friend Will and I playing some poker. He must be drunk."descriptions[3] = "Pimps and hoes at good old Tufts SigEp."descriptions[4] = "Some of the SigEp brothers feeling way more hardcore than they actually are."descriptions[5] = "Some of my good friends from home. UJ stands for University of Jerusalem. . . or is it Jesus?"descriptions[6] = "Counterclockwise: Julia, Ru, Seth, and myself."descriptions[7] = "Ru, Hillary, Melissa, me, Dan."descriptions[8] = "Bucks Lake Extravaganza 2004. Damn we're savage."descriptions[9] = "Seth and I attempting spinal cord injuries."descriptions[10] = "Belize Trip: A leopard in the awesome national zoo."descriptions[11] = "Belize Trip: My brother and me after our Survival Skills trip. We survived on crusty snails and palm tree meat. Yum."descriptions[12] = "Belize Trip: My family outside of our mosquito infested hut."descriptions[13] = "Belize Trip: My sister and me. That's our \"I'll call you\" look."descriptions[14] = "Belize Trip: My Dad trying to make challah while we were bumping down this dirt road at like 40MPH."descriptions[15] = "Belize Trip: Zannie, mom, Jake. Who's do you think is getting made fun of in this pic?"descriptions[16] = "\"But Doc, I don't see anything wrong.\""descriptions[17] = "\"Oh. Yup, there it is.\""descriptions[18] = "T8 to S1. That's eleven freaking vertebrae."descriptions[19] = "These are the screws fastening the titanium rods to my spine."descriptions[20] = "This is Joey, one of our crazy ass cats."descriptions[21] = "My mom and her horse."descriptions[22] = "Me with our two doggies. Can you spot the black one?"descriptions[23] = "This is Vinny in all his canine glory."descriptions[24] = "Vinny again, with my friend Nate on the couch."descriptions[25] = "How am I doing that?"descriptions[26] = "My secret revealed. Chicks dig the braces."descriptions[27] = "Myself, CRI main man Winston Johnson, and some dude. We were about to start the LandPaths \"Ride, Walk, or Roll on the Greenway\" trip."descriptions[28] = "My friend Nate made this. He's quite the artist."descriptions[29] = "More artwork. Damn we're sexy."descriptions[30] = "This is just funny."descriptions[31] = "Funny II."descriptions[32] = "Funny III."descriptions[33] = "Alex Dempsey murdering a cantaloupe."descriptions[34] = "Me, training to be a ninja."descriptions[35] = "We were about to battle our enemy Maori warrior clan."descriptions[36] = "Ru and his parents, Rad and Marylin."descriptions[37] = "My friend Devlin giving birth to a sand baby."descriptions[38] = "My brother and his Katrina dog."descriptions[39] = "Tipper, the stallion mutt."//End descriptions// Changes location to template page for enlarged picturesfunction enlargePic(source){	//Uncomment when php works	var splitSrc = source.split("small"); // Gets address before and after "small"	var newSrc = splitSrc[0] + splitSrc[1];	window.location = "/Includes/enlargedPic.php?" + newSrc; // + source);}function initiate(){	var str = new String(window.location);	var start = str.indexOf("?") + 1;	document.picture.src = str.substr(start);}	function describePic(){	var str = new String(window.location);	var splitSrc = str.split("Gallery/"); // Gets address before and after "Gallery/"	var pic = splitSrc[1];	var picSplit = pic.split(".");	var picNumber = picSplit[0];	var description = descriptions[picNumber];	document.write(description);}function search(query){	var string = "http://www.google.com/search?q=" + query.value + "&btnG=Google+Search&domains=micksluck.com&sitesearch=micksluck.com";	window.location = string;	return false;}function topBar(){	document.write("<tr bgcolor=\"#336699\" valign=\"top\">\r");	document.write("\t<td width=\"30\" height=\"30\" align=\"left\"><img src=\"/Images/topCornersL.gif\" border=\"0\" /></td>\r");	document.write("\t<td class=\"borderTB\" width=\"100%\" height=\"60px\" rowspan=\"2\" valign=\"middle\"><a href=\"/Home/index.html\"><img border=\"0\" src=\"/Images/logo.gif\" /></a></td>\r");	document.write("\t<td class=\"borderTB\" rowspan=\"2\" align=\"right\" valign=\"middle\" nowrap><form action=\"/Includes/searchResults.php\" method=\"post\" name=\"searchForm\" onSubmit=\"return search(this.query)\"><input type=\"text\" width=\"40px\" name=\"query\" style=\"border: 1px #000000 solid; font-size: 10px; color: #336699;\" />&nbsp;&nbsp;<input type=\"image\" src=\"/Images/search.gif\"  onMouseOver=\"this.src='/Images/search2.gif'\" onMouseOut=\"this.src='/Images/search.gif'\" /></form></td>\r");	document.write("\t<td width=\"30\" height=\"30\" align=\"right\"><img src=\"/Images/topCornersR.gif\" border=\"0\" /></td>\r");	document.write("</tr>");	document.write("<tr bgcolor=\"#336699\">");	document.write("\t<td width=\"30px\" height=\"30px\" class=\"borderB\" style=\"border-left: 1px solid black;\">&nbsp;</td>\r");	document.write("\t<td width=\"30px\" height=\"30px\" class=\"borderB\" style=\"border-right: 1px solid black;\">&nbsp;</td>");	document.write("</tr>");	}function navBar(){	document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"borderNav\">\r");	document.write("\t<tr>");	document.write("\t\t<td><font color=\"#666666\">&nbsp;&nbsp;&nbsp;<a class=\"nav\" href=\"/Home/index.html\">Home</a>&nbsp;&nbsp;&nbsp;::&nbsp;&nbsp;&nbsp;<a class=\"nav\" href=\"/Bio/index.html\">Bio</a>&nbsp;&nbsp;&nbsp;::&nbsp;&nbsp;&nbsp;<a class=\"nav\" href=\"/Diary/index.html\">Diary</a>&nbsp;&nbsp;&nbsp;::&nbsp;&nbsp;&nbsp;<a class=\"nav\" href=\"/Media/index.html\">Media</a>&nbsp;&nbsp;&nbsp;::&nbsp;&nbsp;&nbsp;<a class=\"nav\" href=\"/cgi-bin/guestbook/guestbook.cgi\">Guestbook</a>&nbsp;&nbsp;&nbsp;::&nbsp;&nbsp;&nbsp;<a class=\"nav\" href=\"/Links/index.html\">Links</a>&nbsp;&nbsp;&nbsp;::&nbsp;&nbsp;&nbsp;<a class=\"nav\" href=\"/Contact/index.html\">Contact Mick</a>&nbsp;&nbsp;&nbsp;</font></td>\r");	document.write("\t</tr>\r");	document.write("</table>\r");	document.write("<br><br>\r");}function footer(){document.write("<center><font size=\"-2\">&copy; 2006 Mick's Luck</font></center>");}